Skip to content


Subversion checkout URL

You can clone with
Download ZIP


segfault in qrcode message dialog #1098

nomnombtc opened this Issue · 2 comments

3 participants



all credits for finding this bug go to user "twobitcoins" in this forum thread:

I am just posting it here because I can reproduce it with 0.6.0 and so that the developers see this bug.

Howto reproduce:
Open bitcoin-qt, go to addressbook, click qrcode for an address, in the message field enter ääääää until bitcoin-qt crashes.

GDB Backtrace:

user@box:~/Downloads/bitcoin-0.6.0-linux/bin/64$ gdb ./bitcoin-qt
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /home/user/Downloads/bitcoin-0.6.0-linux/bin/64/bitcoin-qt...done.
(gdb) run
Starting program: /home/user/Downloads/bitcoin-0.6.0-linux/bin/64/bitcoin-qt 
[Thread debugging using libthread_db enabled]
QGtkStyle was unable to detect the current GTK+ theme.
[New Thread 0x7fffe957a700 (LWP 1892)]
[New Thread 0x7fffe8d79700 (LWP 1893)]
[New Thread 0x7fffe3fff700 (LWP 1894)]
[New Thread 0x7fffe37fe700 (LWP 1895)]
[New Thread 0x7fffe2ffd700 (LWP 1896)]
[New Thread 0x7fffe27fc700 (LWP 1897)]
[New Thread 0x7fffe1ffb700 (LWP 1898)]
[Thread 0x7fffe2ffd700 (LWP 1896) exited]
[New Thread 0x7fffe17fa700 (LWP 1899)]
[New Thread 0x7fffe2ffd700 (LWP 1900)]
[Thread 0x7fffe1ffb700 (LWP 1898) exited]
[New Thread 0x7fffe1ffb700 (LWP 1901)]
[Thread 0x7fffe8d79700 (LWP 1893) exited]
[Thread 0x7fffe3fff700 (LWP 1894) exited]
[New Thread 0x7fffe3fff700 (LWP 1902)]
[Thread 0x7fffe37fe700 (LWP 1895) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00000000005f17d7 in QRCodeDialog::genCode() ()
(gdb) bt
#0  0x00000000005f17d7 in QRCodeDialog::genCode() ()
#1  0x00000000005f53a9 in QRCodeDialog::qt_metacall(QMetaObject::Call, int, void**) ()
#2  0x00007ffff6ddbeba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/
#3  0x00007ffff7701d72 in QLineEdit::textChanged(QString const&) ()
   from /usr/lib/x86_64-linux-gnu/
#4  0x00007ffff770222c in QLineEdit::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/
#5  0x00007ffff6ddbeba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/
#6  0x00007ffff796d3c5 in QLineControl::textChanged(QString const&) ()
   from /usr/lib/x86_64-linux-gnu/
#7  0x00007ffff7706c3b in QLineControl::finishChange(int, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/
#8  0x00007ffff7708ff5 in QLineControl::processKeyEvent(QKeyEvent*) ()
   from /usr/lib/x86_64-linux-gnu/
#9  0x00007ffff76fdee9 in QLineEdit::keyPressEvent(QKeyEvent*) ()
   from /usr/lib/x86_64-linux-gnu/
#10 0x00007ffff7349d1e in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/
#11 0x00007ffff77003f7 in QLineEdit::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/
#12 0x00007ffff72f9424 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/
#13 0x00007ffff72fe985 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/
#14 0x00007ffff6dc8afc in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/
#15 0x00007ffff739cf99 in ?? () from /usr/lib/x86_64-linux-gnu/
#16 0x00007ffff739d40b in ?? () from /usr/lib/x86_64-linux-gnu/
#17 0x00007ffff7378347 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/x86_64-linux-gnu/
#18 0x00007ffff73a1412 in ?? () from /usr/lib/x86_64-linux-gnu/
#19 0x00007ffff53e2a5d in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/
#20 0x00007ffff53e3258 in ?? () from /lib/x86_64-linux-gnu/
#21 0x00007ffff53e3429 in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/
#22 0x00007ffff6df3ed6 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/
#23 0x00007ffff73a107e in ?? () from /usr/lib/x86_64-linux-gnu/
#24 0x00007ffff6dc7cf2 in QEventLoop::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/
#25 0x00007ffff6dc7ef7 in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/
#26 0x00007ffff6dcc789 in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/
#27 0x0000000000421d15 in main ()

Should be fixed with commit d844cb5


Please re-open if still not fixed

@jgarzik jgarzik closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.