This doesn’t happen if it’s quit using the GUI (speaking of which, often the tray icon does not appear, so it cannot be exited using the GUI the majority of the time).
Version is 0.6.1rc1 with some modifcations (which shouldn’t be the cause, IMHO) - can be reviewed on my github fork.
Output from gdb:-
Program received signal SIGHUP, Hangup. 0x00007ffff498d473 in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) continue Continuing. [Thread 0x7fffe7e10700 (LWP 20463) exited] [Thread 0x7fffdee43700 (LWP 20480) exited] [Thread 0x7fffdbe3d700 (LWP 20476) exited] [Thread 0x7fffdc63e700 (LWP 20475) exited] [New Thread 0x7fffdc63e700 (LWP 28808)] [Thread 0x7fffdc63e700 (LWP 28808) exited]
Program received signal SIGSEGV, Segmentation fault. 0x0000000000a2b630 in ?? () (gdb) bt #0 0x0000000000a2b630 in ?? () #1 0x00007ffff56e3432 in QString::vsprintf(char const_, _va_list_tag) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007ffff569179c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007ffff5691f54 in qWarning(char const*, …) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007ffff5780fce in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007ffff5785789 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00000000004286d7 in main (argc=1, argv=) at src/qt/bitcoin.cpp:282
(gdb)
Also, sometimes (not always) the output to stdout upon exit will make mention of some Qt programming error, something about not catching something in the right thing. I’ll update this issue with the exact message when I next see it.