Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
bitcoin-qt crashed while loading wallets at startup.
I used to see occasional crashes on startup a few years ago, but it hasn’t been happening at all in the last couple of major releases.
I’ve been running v26.0 for a week or two and haven’t had any problem with it crashing until today.
Here’s a backtrace. I run it in gdb habitually because I used to see a lot of crashes and never got around to changing that when it became more stable.
0[Thread 0x7fffe8ff86c0 (LWP 2482766) exited]
1
2Thread 1 "bitcoin-qt-v26." received signal SIGSEGV, Segmentation fault.
30x00007ffff7a7c52d in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
4(gdb) where
5[#0](/bitcoin-bitcoin/0/) 0x00007ffff7a7c52d in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
6[#1](/bitcoin-bitcoin/1/) 0x00007ffff7a82b57 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
7[#2](/bitcoin-bitcoin/2/) 0x000055555576a6ca in OverviewPage::setWalletModel(WalletModel*) ()
8[#3](/bitcoin-bitcoin/3/) 0x000055555572b9de in WalletView::WalletView(WalletModel*, PlatformStyle const*, QWidget*) ()
9[#4](/bitcoin-bitcoin/4/) 0x00005555555ea8ef in BitcoinGUI::addWallet(WalletModel*) ()
10[#5](/bitcoin-bitcoin/5/) 0x00005555556090ff in _ZZN7GUIUtil20ExceptionSafeConnectIP16WalletControllerMS1_FvP11WalletModelEP10BitcoinGUIMS7_FvS4_EEEDaT_T0_T1_T2_N2Qt14ConnectionTypeEENKUlDpOT_E_clIJRS4_EEEDaSJ_ ()
11[#6](/bitcoin-bitcoin/6/) 0x000055555560996d in _ZN9QtPrivate11FunctorCallINS_11IndexesListIJLi0EEEENS_4ListIJP11WalletModelEEEvZN7GUIUtil20ExceptionSafeConnectIP16WalletControllerMS9_FvS5_EP10BitcoinGUIMSD_FvS5_EEEDaT_T0_T1_T2_N2Qt14ConnectionTypeEEUlDpOT_E_E4callERSQ_PPv ()
12[#7](/bitcoin-bitcoin/7/) 0x000055555560713b in _ZN9QtPrivate7FunctorIZN7GUIUtil20ExceptionSafeConnectIP16WalletControllerMS3_FvP11WalletModelEP10BitcoinGUIMS9_FvS6_EEEDaT_T0_T1_T2_N2Qt14ConnectionTypeEEUlDpOT_E_Li1EE4callINS_4ListIJS6_EEEvEEvRSM_PvPSS_ ()
13[#8](/bitcoin-bitcoin/8/) 0x0000555555604d8c in _ZN9QtPrivate18QFunctorSlotObjectIZN7GUIUtil20ExceptionSafeConnectIP16WalletControllerMS3_FvP11WalletModelEP10BitcoinGUIMS9_FvS6_EEEDaT_T0_T1_T2_N2Qt14ConnectionTypeEEUlDpOT_E_Li1ENS_4ListIJS6_EEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb ()
14[#9](/bitcoin-bitcoin/9/) 0x00007ffff7add6f0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
15[#10](/bitcoin-bitcoin/10/) 0x00007ffff7162fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
16[#11](/bitcoin-bitcoin/11/) 0x00007ffff7ab16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
17[#12](/bitcoin-bitcoin/12/) 0x00007ffff7ab4681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
18 from /lib/x86_64-linux-gnu/libQt5Core.so.5
19[#13](/bitcoin-bitcoin/13/) 0x00007ffff7b0a153 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
20[#14](/bitcoin-bitcoin/14/) 0x00007ffff591e7a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
21[#15](/bitcoin-bitcoin/15/) 0x00007ffff591ea38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
22[#16](/bitcoin-bitcoin/16/) 0x00007ffff591eacc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
23[#17](/bitcoin-bitcoin/17/) 0x00007ffff7b09836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
24 from /lib/x86_64-linux-gnu/libQt5Core.so.5
25[#18](/bitcoin-bitcoin/18/) 0x00007ffff7ab017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
26[#19](/bitcoin-bitcoin/19/) 0x00007ffff7ab82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
27[#20](/bitcoin-bitcoin/20/) 0x00005555555ccd4a in GuiMain(int, char**) ()
28[#21](/bitcoin-bitcoin/21/) 0x00005555555c489c in main ()
29(gdb)
I configured with:
./configure CXXFLAGS=-fno-omit-frame-pointer --with-incompatible-bdb --with-miniupnpc=no --disable-debug
Expected behaviour
I expect it not to crash on startup…
Steps to reproduce
unknown
Relevant log output
02023-12-29T14:43:16Z Saw new header hash=0000000000000000000087ce4be45642ce81d2db3618e7e3e776c6ac4cefd7fe height=823428
12023-12-29T14:43:16Z Saw new header hash=000000000000000000017d31138550098a7af1d89c1f08b424b496af7657f068 height=823429
22023-12-29T14:43:16Z Saw new header hash=00000000000000000002170138a0ca50ea13333fb26563d7624254d80f655155 height=823430
32023-12-29T14:43:22Z UpdateTip: new best=0000000000000000000397759a23b3454cfb92c39368625ef2a3ff57199c814e height=823286 version=0x33856000 log2_work=94.630168 tx=943880620 date='2023-12-28T16:29:46Z' progress=0.999532 cache=2.0MiB(16572txo)
42023-12-29T14:43:26Z UpdateTip: new best=0000000000000000000382dd93aba8bd6ef45839ae5417f5d7c53885fc89200b height=823287 version=0x20088000 log2_work=94.630183 tx=943883634 date='2023-12-28T16:30:35Z' progress=0.999532 cache=4.4MiB(35892txo)
52023-12-29T14:43:29Z UpdateTip: new best=00000000000000000003cb20fc43bf96aca61fe62cf84af74b6f4ea863975beb height=823288 version=0x2757c000 log2_work=94.630198 tx=943887045 date='2023-12-28T16:42:28Z' progress=0.999537 cache=6.5MiB(52635txo)
62023-12-29T14:43:31Z UpdateTip: new best=00000000000000000003527d1234eaf8f68c7a20f6828f4e2f181d71ca0e5cfd height=823289 version=0x2000e000 log2_work=94.630212 tx=943890468 date='2023-12-28T16:52:29Z' progress=0.999540 cache=8.4MiB(68875txo)
72023-12-29T14:43:35Z UpdateTip: new best=000000000000000000011b6b288d5b61b4b0036f040e37aa41300a20b0db39fb height=823290 version=0x24000004 log2_work=94.630227 tx=943893464 date='2023-12-28T17:07:26Z' progress=0.999545 cache=11.0MiB(86319txo)
82023-12-29T14:43:38Z UpdateTip: new best=0000000000000000000236c0c37e795a8ce2ccc785197a2b272acb4f03f428ab height=823291 version=0x27c48000 log2_work=94.630241 tx=943897695 date='2023-12-28T17:09:25Z' progress=0.999546 cache=12.9MiB(101026txo)
92023-12-29T14:43:40Z UpdateTip: new best=00000000000000000001d2ec4340f0246650c7f383293de24203d5d53e105b0e height=823292 version=0x20014000 log2_work=94.630256 tx=943901049 date='2023-12-28T17:30:28Z' progress=0.999553 cache=14.9MiB(118884txo)
10
11
12
13
14
152023-12-29T16:02:44Z Bitcoin Core version v26.0.0 (release build)
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v26.0
Operating system and version
Debian 12
Machine specifications
Linux, Intel, ssd, plenty of RAM