Ppcoind is crashing

Running a daemon so that I can accept peercoin on bigkesh.com.

I get this error when it crashes:

*** glibc detected *** ppcoind: double free or corruption (!prev): 0x0000000001c80fa0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f9edf249b96]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSs6assignERKSs+0x76)[0x7f9edfb3cff6]
ppcoind(_Z8ReadHTTPRSiRSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEERSs+0x12a)[0x4f321a]
/usr/lib/libboost_thread.so.1.46.1(thread_proxy+0x69)[0x7f9ee0992ce9]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f9edfda4e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f9edf2bf3fd]
======= Memory map: ========
00400000-005db000 r-xp 00000000 fd:00 250741434 /usr/bin/ppcoind
007da000-007dc000 r–p 001da000 fd:00 250741434 /usr/bin/ppcoind
007dc000-007dd000 rw-p 001dc000 fd:00 250741434 /usr/bin/ppcoind
007dd000-007df000 rw-p 00000000 00:00 0
01a3e000-01a80000 rw-p 00000000 00:00 0
01a80000-03df3000 rw-p 00000000 00:00 0
03df3000-03df4000 rw-p 00000000 00:00 0
03df4000-03e28000 rw-p 00000000 00:00 0
7f9eb0000000-7f9eb0021000 rw-p 00000000 00:00 0
7f9eb0021000-7f9eb4000000 —p 00000000 00:00 0
7f9eb8000000-7f9eb8272000 rw-p 00000000 00:00 0
7f9eb8272000-7f9ebc000000 —p 00000000 00:00 0
7f9ebc000000-7f9ebc024000 rw-p 00000000 00:00 0
7f9ebc024000-7f9ec0000000 —p 00000000 00:00 0
7f9ec0000000-7f9ec0021000 rw-p 00000000 00:00 0
7f9ec0021000-7f9ec4000000 —p 00000000 00:00 0
7f9ec4000000-7f9ec4c97000 rw-p 00000000 00:00 0
7f9ec4c97000-7f9ec8000000 —p 00000000 00:00 0
7f9ec8000000-7f9ec80ca000 rw-p 00000000 00:00 0
7f9ec80ca000-7f9ecc000000 —p 00000000 00:00 0
7f9ecc000000-7f9ecc021000 rw-p 00000000 00:00 0
7f9ecc021000-7f9ed0000000 —p 00000000 00:00 0
7f9ed11cb000-7f9ed11e3000 r-xp 00000000 fd:00 251136736 /lib/x86_64-linux-gnu/libresolv-2.15.so
7f9ed11e3000-7f9ed13e3000 —p 00018000 fd:00 251136736 /lib/x86_64-linux-gnu/libresolv-2.15.so
7f9ed13e3000-7f9ed13e4000 r–p 00018000 fd:00 251136736 /lib/x86_64-linux-gnu/libresolv-2.15.so
7f9ed13e4000-7f9ed13e5000 rw-p 00019000 fd:00 251136736 /lib/x86_64-linux-gnu/libresolv-2.15.so
7f9ed13e5000-7f9ed13e7000 rw-p 00000000 00:00 0
7f9ed13e7000-7f9ed13ee000 r-xp 00000000 fd:00 251136756 /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f9ed13ee000-7f9ed15ed000 —p 00007000 fd:00 251136756 /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f9ed15ed000-7f9ed15ee000 r–p 00006000 fd:00 251136756 /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f9ed15ee000-7f9ed15ef000 rw-p 00007000 fd:00 251136756 /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f9ed15ef000-7f9ed15fb000 r-xp 00000000 fd:00 251135981 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7f9ed15fb000-7f9ed17fa000 —p 0000c000 fd:00 251135981 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7f9ed17fa000-7f9ed17fb000 r–p 0000b000 fd:00 251135981 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7f9ed17fb000-7f9ed17fc000 rw-p 0000c000 fd:00 251135981 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7f9ed17fc000-7f9ed17fd000 —p 00000000 00:00 0
7f9ed17fd000-7f9ed21fd000 rw-p 00000000 00:00 0
7f9ed21fd000-7f9ed21fe000 —p 00000000 00:00 0
7f9ed21fe000-7f9ed2bfe000 rw-p 00000000 00:00 0
7f9ed2bfe000-7f9ed2bff000 —p 00000000 00:00 0
7f9ed2bff000-7f9ed35ff000 rw-p 00000000 00:00 0
7f9ed35ff000-7f9ed3600000 —p 00000000 00:00 0
7f9ed3600000-7f9ed4000000 rw-p 00000000 00:00 0
7f9ed4000000-7f9ed4028000 rw-p 00000000 00:00 0
7f9ed4028000-7f9ed8000000 —p 00000000 00:00 0
7f9ed8135000-7f9ed8136000 —p 00000000 00:00 0
7f9ed8136000-7f9ed8b36000 rw-p 00000000 00:00 0
7f9ed8b36000-7f9ed8b37000 —p 00000000 00:00 0
7f9ed8b37000-7f9ed9537000 rw-p 00000000 00:00 0
7f9ed9537000-7f9ed9538000 —p 00000000 00:00 0
7f9ed9538000-7f9ed9f38000 rw-p 00000000 00:00 0
7f9ed9f38000-7f9ed9f39000 —p 00000000 00:00 0
7f9ed9f39000-7f9eda939000 rw-p 00000000 00:00 0
7f9eda939000-7f9eda93a000 —p 00000000 00:00 0
7f9eda93a000-7f9edb33a000 rw-p 00000000 00:00 0
7f9edbd3b000-7f9edbd3c000 —p 00000000 00:00 0
7f9edbd3c000-7f9edc73c000 rw-p 00000000 00:00 0
7f9edc73c000-7f9edc748000 rw-s 00000000 fd:00 252056431 /root/.ppcoin/__db.006
7f9edc748000-7f9edcd4e000 rw-s 00000000 fd:00 252056430 /root/.ppcoin/__db.005
7f9edcd4e000-7f9edce6e000 rw-s 00000000 fd:00 252056424 /root/.ppcoin/__db.004
7f9edce6e000-7f9ededb0000 rw-s 00000000 fd:00 252056423 /root/.ppcoin/__db.003
7f9ededb0000-7f9ededc6000 r-xp 00000000 fd:00 251134772 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f9ededc6000-7f9edefc5000 —p 00016000 fd:00 251134772 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f9edefc5000-7f9edefc6000 r–p 00015000 fd:00 251134772 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f9edefc6000-7f9edefc7000 rw-p 00016000 fd:00 251134772 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f9edefc7000-7f9edefc9000 r-xp 00000000 fd:00 251137278 /lib/x86_64-linux-gnu/libdl-2.15.so
7f9edefc9000-7f9edf1c9000 —p 00002000 fd:00 251137278 /lib/x86_64-linux-gnu/libdl-2.15.so
7f9edf1c9000-7f9edf1ca000 r–p 00002000 fd:00 251137278 /lib/x86_64-linux-gnu/libdl-2.15.so
7f9edf1ca000-7f9edf1cb000 rw-p 00003000 fd:00 251137278 /lib/x86_64-linux-gnu/libdl-2.15.so
7f9edf1cb000-7f9edf380000 r-xp 00000000 fd:00 251135752 /lib/x86_64-linux-gnu/libc-2.15.so
7f9edf380000-7f9edf580000 —p 001b5000 fd:00 251135752 /lib/x86_64-linux-gnu/libc-2.15.so
7f9edf580000-7f9edf584000 r–p 001b5000 fd:00 251135752 /lib/x86_64-linux-gnu/libc-2.15.so
7f9edf584000-7f9edf586000 rw-p 001b9000 fd:00 251135752 /lib/x86_64-linux-gnu/libc-2.15.so
7f9edf586000-7f9edf58b000 rw-p 00000000 00:00 0
7f9edf58b000-7f9edf5a0000 r-xp 00000000 fd:00 251134815 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9edf5a0000-7f9edf79f000 —p 00015000 fd:00 251134815 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9edf79f000-7f9edf7a0000 r–p 00014000 fd:00 251134815 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9edf7a0000-7f9edf7a1000 rw-p 00015000 fd:00 251134815 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9edf7a1000-7f9edf89c000 r-xp 00000000 fd:00 251136887 /lib/x86_64-linux-gnu/libm-2.15.so
7f9edf89c000-7f9edfa9b000 —p 000fb000 fd:00 251136887 /lib/x86_64-linux-gnu/libm-2.15.so
7f9edfa9b000-7f9edfa9c000 r–p 000fa000 fd:00 251136887 /lib/x86_64-linux-gnu/libm-2.15.so
7f9edfa9c000-7f9edfa9d000 rw-p 000fb000 fd:00 251136887 /lib/x86_64-linux-gnu/libm-2.15.so
7f9edfa9d000-7f9edfb7f000 r-xp 00000000 fd:00 250741579 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f9edfb7f000-7f9edfd7e000 —p 000e2000 fd:00 250741579 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f9edfd7e000-7f9edfd86000 r–p 000e1000 fd:00 250741579 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f9edfd86000-7f9edfd88000 rw-p 000e9000 fd:00 250741579 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f9edfd88000-7f9edfd9d000 rw-p 00000000 00:00 0
7f9edfd9d000-7f9edfdb5000 r-xp 00000000 fd:00 251136848 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f9edfdb5000-7f9edffb4000 —p 00018000 fd:00 251136848 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f9edffb4000-7f9edffb5000 r–p 00017000 fd:00 251136848 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f9edffb5000-7f9edffb6000 rw-p 00018000 fd:00 251136848 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f9edffb6000-7f9edffba000 rw-p 00000000 00:00 0
7f9edffba000-7f9ee016b000 r-xp 00000000 fd:00 251135947 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f9ee016b000-7f9ee036b000 —p 001b1000 fd:00 251135947 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f9ee036b000-7f9ee0386000 r–p 001b1000 fd:00 251135947 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f9ee0386000-7f9ee0391000 rw-p 001cc000 fd:00 251135947 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f9ee0391000-7f9ee0395000 rw-p 00000000 00:00 0
7f9ee0395000-7f9ee03e9000 r-xp 00000000 fd:00 251135963 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f9ee03e9000-7f9ee05e9000 —p 00054000 fd:00 251135963 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f9ee05e9000-7f9ee05ec000 r–p 00054000 fd:00 251135963 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f9ee05ec000-7f9ee05f2000 rw-p 00057000 fd:00 251135963 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f9ee05f2000-7f9ee05f3000 rw-p 00000000 00:00 0
7f9ee05f3000-7f9ee077e000 r-xp 00000000 fd:00 250745932 /usr/lib/x86_64-linux-gnu/libdb_cxx-5.1.so
7f9ee077e000-7f9ee097e000 —p 0018b000 fd:00 250745932 /usr/lib/x86_64-linux-gnu/libdb_cxx-5.1.so
7f9ee097e000-7f9ee0985000 r–p 0018b000 fd:00 250745932 /usr/lib/x86_64-linux-gnu/libdb_cxx-5.1.so
7f9ee0985000-7f9ee0986000 rw-p 00192000 fd:00 250745932 /usr/lib/x86_64-linux-gnu/libdb_cxx-5.1.so
7f9ee0986000-7f9ee099d000 r-xp 00000000 fd:00 250621255 /usr/lib/libboost_thread.so.1.46.1
7f9ee099d000-7f9ee0b9c000 —p 00017000 fd:00 250621255 /usr/lib/libboost_thread.so.1.46.1
7f9ee0b9c000-7f9ee0b9e000 r–p 00016000 fd:00 250621255 /usr/lib/libboost_thread.so.1.46.1
7f9ee0b9e000-7f9ee0b9f000 rw-p 00018000 fd:00 250621255 /usr/lib/libboost_thread.so.1.46.1
7f9ee0b9f000-7f9ee0c00000 r-xp 00000000 fd:00 250621233 /usr/lib/libboost_program_options.so.1.46.1
7f9ee0c00000-7f9ee0e00000 —p 00061000 fd:00 250621233 /usr/lib/libboost_program_options.so.1.46.1
7f9ee0e00000-7f9ee0e03000 r–p 00061000 fd:00 250621233 /usr/lib/libboost_program_options.so.1.46.1
7f9ee0e03000-7f9ee0e04000 rw-p 00064000 fd:00 250621233 /usr/lib/libboost_program_options.so.1.46.1
7f9ee0e04000-7f9ee0e21000 r-xp 00000000 fd:00 250621094 /usr/lib/libboost_filesystem.so.1.46.1
7f9ee0e21000-7f9ee1020000 —p 0001d000 fd:00 250621094 /usr/lib/libboost_filesystem.so.1.46.1
7f9ee1020000-7f9ee1021000 r–p 0001c000 fd:00 250621094 /usr/lib/libboost_filesystem.so.1.46.1
7f9ee1021000-7f9ee1022000 rw-p 0001d000 fd:00 250621094 /usr/lib/libboost_filesystem.so.1.46.1
7f9ee1022000-7f9ee1025000 r-xp 00000000 fd:00 250621093 /usr/lib/libboost_system.so.1.46.1
7f9ee1025000-7f9ee1224000 —p 00003000 fd:00 250621093 /usr/lib/libboost_system.so.1.46.1
7f9ee1224000-7f9ee1225000 r–p 00002000 fd:00 250621093 /usr/lib/libboost_system.so.1.46.1
7f9ee1225000-7f9ee1226000 rw-p 00003000 fd:00 250621093 /usr/lib/libboost_system.so.1.46.1
7f9ee1226000-7f9ee1248000 r-xp 00000000 fd:00 251136924 /lib/x86_64-linux-gnu/ld-2.15.so
7f9ee126f000-7f9ee142f000 rw-s 00000000 fd:00 252056422 /root/.ppcoin/__db.002
7f9ee142f000-7f9ee1435000 rw-s 00000000 fd:00 252056421 /root/.ppcoin/__db.001
7f9ee1435000-7f9ee143f000 rw-p 00000000 00:00 0
7f9ee1442000-7f9ee1446000 rw-p 00000000 00:00 0
7f9ee1446000-7f9ee1448000 rw-p 00000000 00:00 0
7f9ee1448000-7f9ee1449000 r–p 00022000 fd:00 251136924 /lib/x86_64-linux-gnu/ld-2.15.so
7f9ee1449000-7f9ee144b000 rw-p 00023000 fd:00 251136924 /lib/x86_64-linux-gnu/ld-2.15.so
7fff22220000-7fff22254000 rw-p 00000000 00:00 0 [stack]
7fff22284000-7fff22286000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

Generally, this could be a bug in either the software, one in of its loaded modules, or the environment (libs,software, etc). Take a look at running it through Valgrind.

very interesting wow

never seen this error before so I would have thought its an environment setup issue you have… have you built from source right? what libraries did you install?

Fuzzybear

Did you install or compile the source yourself?

ppcoind crashes every few days for me as well. This is a problem because when I want to do a transaction, I’ll find the daemon down, have to restart it, and have to wait for it to catch up with the blockchain. I am running “version” : “v0.3.0.0-gbe62545-beta” ; specifically I am using the net-p2p/ppcoind-0.3.0 ebuild provided by Gentoo. It’s also a problem because minting does not happen while the daemon is down.

i dont have any issues, did you compile it on your own?

I’m not familiar with that distribution of the daemon. Do you know what benefits it provides over the “vanilla” distro that you could compile from the official Peercoin Github repo?

I’ve seen similar errors related to glibc caused by small RAM. Also had problems with daemon crashing when there were CPU spikes, so resources are really important to compile and run the daemon.

:wonder: :wonder: :wonder: :wonder:wonderful.Generally, this could be a bug in either the software,

I am not familiar linux distros but from the version number shouldn’t you be using something called 0.4 because of the protocol upgrade we just had?