Post
Topic
Board Bitcoin Technical Support
Re: Debugging bitcoind crash when calling sendmany JSON-RPC command
by
libertaad
on 29/03/2013, 01:21:32 UTC
I just got a core dump. Unfortunately, my bitcoind isn't compiled with debugging symbols. So, when I run the gdb command, I see this message:

Code:
Reading symbols from /usr/bin/bitcoind...(no debugging symbols found).

The backtrace I get is:

Code:
(gdb) bt
#0  0x00007f0033c22425 in raise ()
   from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f0033c25b8b in abort ()
   from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f003457469d in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007f0034572846 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f0034572873 in std::terminate() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007f003457296e in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00000000004298d3 in ?? ()
#7  0x0000000000561ec9 in ?? ()
#8  0x000000000059fdbe in ?? ()
#9  0x00007f00347c4e9a in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f0033cdfcbd in clone ()
   from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

As you can see, not too useful :/

Please let me know if there is anything I can do to help make this more useful.

I'm pretty sure bitcoind crashes when "walletpassphrase" timeout while "sendmany" is doing it's job.

I can't test it right now, but as far as I remember then 0.7 had this problem (and I don't think it's fixed in 0.8 ).

That would actually make a lot of sense, given the fact that we usually see crashes during high traffic times - which would probably be when bitcoind would take longer to respond. We will try increasing the wallet unlock time from 5 to 20 and see if the crashing behavior is fixed. Is there a bug report that you know of for this bug, so we can track it?

Thanks!