spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.45k stars 3.09k forks source link

Electrum 3.0.3/3.0.5 + LInux Mint 18.3 - Segmentation Fault #3660

Closed Perlover closed 6 years ago

Perlover commented 6 years ago

Hi,

I restored wallet at new installation under name 'segwit_wallet' But i regulary i got "Segmentation fault" after start (i enter password for wallet, after i see lastunconfirmed transaction and after some seconds "Segmentation fault")

gdb ``` $ gdb $(which python3) GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 Copyright (C) 2016 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". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/python3...(no debugging symbols found)...done. (gdb) run /usr/local/bin/electrum Starting program: /usr/bin/python3 /usr/local/bin/electrum [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff2218700 (LWP 8758)] [New Thread 0x7ffff1a17700 (LWP 8759)] [New Thread 0x7ffff1216700 (LWP 8760)] [New Thread 0x7ffff0803700 (LWP 8761)] [New Thread 0x7fffe3fff700 (LWP 8762)] [New Thread 0x7fffe35fb700 (LWP 8763)] [New Thread 0x7fffe29d8700 (LWP 8764)] [New Thread 0x7fffe21d7700 (LWP 8765)] [New Thread 0x7fffe19d6700 (LWP 8766)] [New Thread 0x7fffe11d5700 (LWP 8767)] [New Thread 0x7fffe09d4700 (LWP 8768)] [New Thread 0x7fffbffff700 (LWP 8769)] [New Thread 0x7fffbf7fe700 (LWP 8770)] [Thread 0x7fffe3fff700 (LWP 8762) exited] [Thread 0x7fffe35fb700 (LWP 8763) exited] [Thread 0x7fffe21d7700 (LWP 8765) exited] [New Thread 0x7fffe21d7700 (LWP 8771)] [Thread 0x7ffff0803700 (LWP 8761) exited] [New Thread 0x7ffff0803700 (LWP 8772)] [Thread 0x7fffe09d4700 (LWP 8768) exited] [Thread 0x7ffff1a17700 (LWP 8759) exited] [New Thread 0x7fffe09d4700 (LWP 8773)] [Thread 0x7fffe11d5700 (LWP 8767) exited] [New Thread 0x7fffe11d5700 (LWP 8774)] [New Thread 0x7ffff1a17700 (LWP 8775)] [Thread 0x7fffe29d8700 (LWP 8764) exited] [Thread 0x7ffff1a17700 (LWP 8775) exited] [New Thread 0x7ffff1a17700 (LWP 8776)] [Thread 0x7fffe09d4700 (LWP 8773) exited] [Thread 0x7fffe19d6700 (LWP 8766) exited] [Thread 0x7ffff1216700 (LWP 8760) exited] [New Thread 0x7ffff1216700 (LWP 8777)] [Thread 0x7ffff1216700 (LWP 8777) exited] [New Thread 0x7ffff1216700 (LWP 8778)] [Thread 0x7ffff1216700 (LWP 8778) exited] [Thread 0x7fffe21d7700 (LWP 8771) exited] [Thread 0x7fffe11d5700 (LWP 8774) exited] [New Thread 0x7fffe11d5700 (LWP 8779)] [Thread 0x7fffe11d5700 (LWP 8779) exited] [New Thread 0x7fffe11d5700 (LWP 8780)] Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x00007fffaf1577c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (gdb) bt #0 0x00007fffaf1577c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x00007fffaf15797b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #2 0x00007fffaf124f7b in QTreeView::isIndexHidden(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #3 0x00007fffaf59d66b in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #4 0x00007fffaf126ea7 in QTreeView::visualRect(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #5 0x00007fffaf5a2a1b in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #6 0x00007fffaf0cd5da in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #7 0x00007fffaf0cdae8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007fffbc10e9d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #9 0x00007fffbc10ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #10 0x00007fffbc1143ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #11 0x00007fffe003aabe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #12 0x00007fffe003c26e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #13 0x00007fffbe364c01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007fffaee8905c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007fffaee8e516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007fffaf545f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #17 0x00007fffbe33538b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007fffbe337786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007fffbe38b3c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007fffbcc96197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007fffbcc963f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007fffbcc9649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007fffbe38b7cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007fffbe332b4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007fffbe33abec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007fffaf5090bb in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #27 0x00000000004e9b7f in PyCFunction_Call () #28 0x00000000005372f4 in PyEval_EvalFrameEx () #29 0x00000000005406df in ?? () #30 0x000000000053c1d0 in PyEval_EvalFrameEx () #31 0x000000000053b7e4 in PyEval_EvalFrameEx () #32 0x0000000000540199 in ?? () #33 0x0000000000540e4f in PyEval_EvalCode () #34 0x000000000060c272 in ?? () #35 0x000000000060e71a in PyRun_FileExFlags () #36 0x000000000060ef0c in PyRun_SimpleFileExFlags () #37 0x000000000063fb26 in Py_Main () #38 0x00000000004cfeb1 in main () (gdb) ```
Perlover commented 6 years ago

New, second dump Same behaviour:

gdb ``` (gdb) run /usr/local/bin/electrum Starting program: /usr/bin/python3 /usr/local/bin/electrum [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff2218700 (LWP 8901)] [New Thread 0x7ffff1a17700 (LWP 8902)] [New Thread 0x7ffff1004700 (LWP 8903)] [New Thread 0x7ffff0803700 (LWP 8904)] [New Thread 0x7fffe3dfc700 (LWP 8905)] [New Thread 0x7fffe31d9700 (LWP 8906)] [New Thread 0x7fffe29d8700 (LWP 8907)] [New Thread 0x7fffe21d7700 (LWP 8908)] [New Thread 0x7fffe19d6700 (LWP 8909)] [New Thread 0x7fffe11d5700 (LWP 8910)] [New Thread 0x7fffe09d4700 (LWP 8911)] [New Thread 0x7fffbffff700 (LWP 8912)] [New Thread 0x7fffbf7fe700 (LWP 8913)] [Thread 0x7fffe19d6700 (LWP 8909) exited] [New Thread 0x7fffe19d6700 (LWP 8914)] [Thread 0x7ffff0803700 (LWP 8904) exited] [New Thread 0x7ffff0803700 (LWP 8915)] [Thread 0x7fffe11d5700 (LWP 8910) exited] [Thread 0x7fffbffff700 (LWP 8912) exited] [Thread 0x7fffe3dfc700 (LWP 8905) exited] [Thread 0x7ffff1a17700 (LWP 8902) exited] [Thread 0x7fffe19d6700 (LWP 8914) exited] [Thread 0x7fffe21d7700 (LWP 8908) exited] [New Thread 0x7fffe21d7700 (LWP 8916)] [Thread 0x7fffe21d7700 (LWP 8916) exited] [New Thread 0x7fffe21d7700 (LWP 8917)] [Thread 0x7fffe31d9700 (LWP 8906) exited] [Thread 0x7ffff1004700 (LWP 8903) exited] [New Thread 0x7ffff1004700 (LWP 8918)] [Thread 0x7fffe29d8700 (LWP 8907) exited] [Thread 0x7fffe21d7700 (LWP 8917) exited] [New Thread 0x7fffe21d7700 (LWP 8920)] Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x00007fffaf1577b1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (gdb) bt #0 0x00007fffaf1577b1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x00007fffaf15797b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #2 0x00007fffaf124f7b in QTreeView::isIndexHidden(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #3 0x00007fffaf59d66b in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #4 0x00007fffaf126ea7 in QTreeView::visualRect(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #5 0x00007fffaf5a2a1b in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #6 0x00007fffaf0cd5da in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #7 0x00007fffaf0cdae8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007fffbc10e9d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #9 0x00007fffbc10ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #10 0x00007fffbc1143ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #11 0x00007fffe003aabe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #12 0x00007fffe003c26e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #13 0x00007fffbe364c01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007fffaee8905c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007fffaee8e516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007fffaf545f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #17 0x00007fffbe33538b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007fffbe337786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007fffbe38b3c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007fffbcc96197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007fffbcc963f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007fffbcc9649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007fffbe38b7cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007fffbe332b4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007fffbe33abec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007fffaf5090bb in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #27 0x00000000004e9b7f in PyCFunction_Call () #28 0x00000000005372f4 in PyEval_EvalFrameEx () #29 0x00000000005406df in ?? () #30 0x000000000053c1d0 in PyEval_EvalFrameEx () #31 0x000000000053b7e4 in PyEval_EvalFrameEx () #32 0x0000000000540199 in ?? () #33 0x0000000000540e4f in PyEval_EvalCode () #34 0x000000000060c272 in ?? () #35 0x000000000060e71a in PyRun_FileExFlags () #36 0x000000000060ef0c in PyRun_SimpleFileExFlags () #37 0x000000000063fb26 in Py_Main () #38 0x00000000004cfeb1 in main () (gdb) ```
Perlover commented 6 years ago

I deleted Segwit wallet and restored Legacy wallet from seed as 'default_wallet' But i got Segmentation Fault again Here backtrace:

gdb ``` (gdb) run /usr/local/bin/electrum Starting program: /usr/bin/python3 /usr/local/bin/electrum [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff2218700 (LWP 9205)] [New Thread 0x7ffff1a17700 (LWP 9206)] [New Thread 0x7ffff1004700 (LWP 9207)] [New Thread 0x7ffff0803700 (LWP 9208)] [New Thread 0x7fffe3dfc700 (LWP 9209)] [New Thread 0x7fffe31d9700 (LWP 9210)] [New Thread 0x7fffe29d8700 (LWP 9211)] [New Thread 0x7fffe21d7700 (LWP 9212)] [New Thread 0x7fffe19d6700 (LWP 9213)] [New Thread 0x7fffe11d5700 (LWP 9214)] [New Thread 0x7fffe09d4700 (LWP 9215)] [New Thread 0x7fffbffff700 (LWP 9216)] [New Thread 0x7fffbf7fe700 (LWP 9217)] [Thread 0x7fffe21d7700 (LWP 9212) exited] [Thread 0x7fffe29d8700 (LWP 9211) exited] [New Thread 0x7fffe29d8700 (LWP 9218)] [Thread 0x7fffe11d5700 (LWP 9214) exited] [New Thread 0x7fffe11d5700 (LWP 9219)] [Thread 0x7ffff1a17700 (LWP 9206) exited] [Thread 0x7ffff1004700 (LWP 9207) exited] [Thread 0x7fffe3dfc700 (LWP 9209) exited] [New Thread 0x7fffe3dfc700 (LWP 9220)] [New Thread 0x7ffff1004700 (LWP 9221)] [Thread 0x7fffe19d6700 (LWP 9213) exited] [New Thread 0x7fffe19d6700 (LWP 9222)] [Thread 0x7fffe19d6700 (LWP 9222) exited] [New Thread 0x7fffe19d6700 (LWP 9223)] [Thread 0x7ffff0803700 (LWP 9208) exited] [Thread 0x7ffff1004700 (LWP 9221) exited] [New Thread 0x7ffff1004700 (LWP 9224)] [Thread 0x7fffe3dfc700 (LWP 9220) exited] [Thread 0x7fffe29d8700 (LWP 9218) exited] [Thread 0x7fffbffff700 (LWP 9216) exited] [Thread 0x7fffe19d6700 (LWP 9223) exited] [Thread 0x7fffe31d9700 (LWP 9210) exited] [New Thread 0x7fffe31d9700 (LWP 9225)] Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x00007fffaf1577b1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (gdb) bt #0 0x00007fffaf1577b1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x00007fffaf15797b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #2 0x00007fffaf124f7b in QTreeView::isIndexHidden(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #3 0x00007fffaf59d66b in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #4 0x00007fffaf126ea7 in QTreeView::visualRect(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #5 0x00007fffaf5a2a1b in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #6 0x00007fffaf0cd5da in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #7 0x00007fffaf0cdae8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007fffbc10e9d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #9 0x00007fffbc10ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #10 0x00007fffbc1143ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #11 0x00007fffe003aabe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #12 0x00007fffe003c26e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #13 0x00007fffbe364c01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007fffaee8905c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007fffaee8e516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007fffaf545f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #17 0x00007fffbe33538b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007fffbe337786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007fffbe38b3c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007fffbcc96197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007fffbcc963f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007fffbcc9649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007fffbe38b7cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007fffbe332b4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007fffbe33abec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007fffaf5090bb in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #27 0x00000000004e9b7f in PyCFunction_Call () #28 0x00000000005372f4 in PyEval_EvalFrameEx () #29 0x00000000005406df in ?? () #30 0x000000000053c1d0 in PyEval_EvalFrameEx () #31 0x000000000053b7e4 in PyEval_EvalFrameEx () #32 0x0000000000540199 in ?? () #33 0x0000000000540e4f in PyEval_EvalCode () #34 0x000000000060c272 in ?? () #35 0x000000000060e71a in PyRun_FileExFlags () #36 0x000000000060ef0c in PyRun_SimpleFileExFlags () #37 0x000000000063fb26 in Py_Main () #38 0x00000000004cfeb1 in main () (gdb)
ecdsa commented 6 years ago

can you try to regenerate the icons file?

ecdsa commented 6 years ago

in the electrum source dir, please run 'pyrcc5 icons.qrc -o gui/qt/icons_rc.py'

ptilancelot commented 6 years ago

bonjour, sorry i'm speeck french...comment je fait pour aller dans le répertoire source d'electrum, lancez 'pyrcc5 icons.qrc -o gui / qt / icons_rc.py'

Perlover commented 6 years ago

Hello,

Thanks! I will try it later at evening because it bug I see in home computer.

Best regards, Perlover

8 янв. 2018 г. 11:36 пользователь "ThomasV" notifications@github.com написал:

in the electrum source dir, please run 'pyrcc5 icons.qrc -o gui/qt/icons_rc.py'

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spesmilo/electrum/issues/3660#issuecomment-355931736, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjDfSQcg7mi6WN7wja7RlnYZXuLAt6cks5tIe-cgaJpZM4RVVwd .

Perlover commented 6 years ago

Hello!

I cloned git repo and checkout to '3.0.3' (i have this version and i know that this version is buggy now) I run this command and i got icons.qrc But this is now XML file and i don't know what should i do next with its? I installed the Electrum through command line 'sudo pip3 install...' The Electrum installed to '/usr/local/bin/electrum' Should i copy this icons.qrc file to some directory (?) in system and run electrum again?

P.S. And i found the file '/usr/local/lib/python3.5/dist-packages/electrum_gui/qt/icons_rc.py' in my system. May be this info will help...

Thanks for answer!

ecdsa commented 6 years ago

update the file icons_rc.py that you found in your system, with the one you generated

wendel2 commented 6 years ago

I have the same issue. But, when I use "pyrcc5 icons.qrc -o gui/qt/icons_rc.py" command, the error message is that:

pyrcc5: File does not exist 'icons.qrc'

Anyone could help me? I use the same system: Linux MInt 18.3 and have same the segmentation fault issue

Perlover commented 6 years ago

Hi!

I did:

pyrcc5 icons.qrc -o gui/qt/icons_rc.py sudo cp gui/qt/icons_rc.py /usr/local/lib/python3.5/dist-packages/electrum_gui/qt/icons_rc.py

After i had run Electrum and got same error again Here is backtrace after rebuilding icons_rc.py an updating one.

I can try to update to 3.0.5 version (it's buggy 3.0.5) Or may be do you want to ask me to do some other tests for a catching this bug?

gdb ``` GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 Copyright (C) 2016 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". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/python3...(no debugging symbols found)...done. (gdb) run /usr/local/bin/electrum Starting program: /usr/bin/python3 /usr/local/bin/electrum [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe9a60700 (LWP 4585)] [New Thread 0x7fffe925f700 (LWP 4586)] [New Thread 0x7fffe8a5e700 (LWP 4587)] [New Thread 0x7fffdbfff700 (LWP 4588)] [New Thread 0x7fffdb7fe700 (LWP 4589)] [New Thread 0x7fffdadfa700 (LWP 4590)] [New Thread 0x7fffda1d7700 (LWP 4591)] [New Thread 0x7fffd99d6700 (LWP 4592)] [New Thread 0x7fffd91d5700 (LWP 4593)] [New Thread 0x7fffd89d4700 (LWP 4594)] [New Thread 0x7fffbbfff700 (LWP 4595)] [New Thread 0x7fffbb7fe700 (LWP 4596)] [New Thread 0x7fffbaffd700 (LWP 4597)] [New Thread 0x7fffabafc700 (LWP 4598)] [Thread 0x7fffd91d5700 (LWP 4593) exited] [New Thread 0x7fffda1d7700 (LWP 4599)] [Thread 0x7fffda1d7700 (LWP 4591) exited] [New Thread 0x7fffd91d5700 (LWP 4600)] [Thread 0x7fffbbfff700 (LWP 4595) exited] [Thread 0x7fffd99d6700 (LWP 4592) exited] [Thread 0x7fffd89d4700 (LWP 4594) exited] [Thread 0x7fffdb7fe700 (LWP 4589) exited] [New Thread 0x7fffdb7fe700 (LWP 4601)] [New Thread 0x7fffd89d4700 (LWP 4602)] [Thread 0x7fffdadfa700 (LWP 4590) exited] [Thread 0x7fffdbfff700 (LWP 4588) exited] [Thread 0x7fffe925f700 (LWP 4586) exited] [Thread 0x7fffd91d5700 (LWP 4600) exited] [Thread 0x7fffda1d7700 (LWP 4599) exited] [Thread 0x7fffdb7fe700 (LWP 4601) exited] [New Thread 0x7fffdb7fe700 (LWP 4603)] [Thread 0x7fffdb7fe700 (LWP 4603) exited] [New Thread 0x7fffdb7fe700 (LWP 4604)] [New Thread 0x7fffda1d7700 (LWP 4605)] [Thread 0x7fffda1d7700 (LWP 4605) exited] [Thread 0x7fffe8a5e700 (LWP 4587) exited] [New Thread 0x7fffe8a5e700 (LWP 4606)] [Thread 0x7fffe8a5e700 (LWP 4606) exited] [New Thread 0x7fffe8a5e700 (LWP 4607)] [Thread 0x7fffe8a5e700 (LWP 4607) exited] QTextCursor::setPosition: Position '1' out of range QTextCursor::setPosition: Position '1' out of range [New Thread 0x7fffe8a5e700 (LWP 4626)] [New Thread 0x7fffda1d7700 (LWP 4627)] [New Thread 0x7fffd91d5700 (LWP 4628)] [New Thread 0x7fffe925f700 (LWP 4629)] [New Thread 0x7fff9c6c2700 (LWP 4630)] [New Thread 0x7fff9bec1700 (LWP 4631)] [Thread 0x7fff9c6c2700 (LWP 4630) exited] [Thread 0x7fffd91d5700 (LWP 4628) exited] [Thread 0x7fff9bec1700 (LWP 4631) exited] [New Thread 0x7fff9bec1700 (LWP 4632)] [New Thread 0x7fffd91d5700 (LWP 4633)] [New Thread 0x7fff9c6c2700 (LWP 4634)] [New Thread 0x7fff9985e700 (LWP 4635)] [Thread 0x7fff9985e700 (LWP 4635) exited] Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x00007fffea526a81 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (gdb) vt Undefined command: "vt". Try "help". (gdb) bt #0 0x00007fffea526a81 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x00007fffea49cd5d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #2 0x00007fffd81749d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #3 0x00007fffd8174f49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007fffd817a3ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #5 0x00007fffd8091abe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #6 0x00007fffd809326e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007ffff157fc01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fffea25805c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007fffea25d516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x00007fffea914f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #11 0x00007ffff155038b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x00007ffff1552786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007ffff15a63c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007fffefeb1197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007fffefeb13f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007fffefeb149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007ffff15a67cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007ffff154db4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007fffea452d8d in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007fffeaa9889d in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #21 0x00000000004e9b7f in PyCFunction_Call () #22 0x00000000005372f4 in PyEval_EvalFrameEx () #23 0x0000000000540199 in ?? () #24 0x000000000053bd92 in PyEval_EvalFrameEx () #25 0x0000000000540199 in ?? () #26 0x000000000053bd92 in PyEval_EvalFrameEx () #27 0x0000000000540f9b in PyEval_EvalCodeEx () #28 0x00000000004ebd23 in ?? () #29 0x00000000005c1797 in PyObject_Call () #30 0x00000000004fb9ce in ?? () #31 0x00000000005c1797 in PyObject_Call () #32 0x0000000000534d90 in PyEval_CallObjectWithKeywords () #33 0x00007fffeb16fd00 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #34 0x00007fffeb170178 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #35 0x00007fffeb1662b0 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #36 0x00007fffeb166be7 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #37 0x00007ffff157fc01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #38 0x00007fffea25805c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #39 0x00007fffea25d516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #40 0x00007fffea914f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #41 0x00007ffff155038b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #42 0x00007ffff1552786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #43 0x00007ffff15a63c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00007fffefeb1197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #45 0x00007fffefeb13f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #46 0x00007fffefeb149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #47 0x00007ffff15a67cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #48 0x00007ffff154db4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #49 0x00007ffff1555bec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #50 0x00007fffea8d80bb in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #51 0x00000000004e9b7f in PyCFunction_Call () #52 0x00000000005372f4 in PyEval_EvalFrameEx () #53 0x00000000005406df in ?? () #54 0x000000000053c1d0 in PyEval_EvalFrameEx () #55 0x000000000053b7e4 in PyEval_EvalFrameEx () #56 0x0000000000540199 in ?? () #57 0x0000000000540e4f in PyEval_EvalCode () #58 0x000000000060c272 in ?? () #59 0x000000000060e71a in PyRun_FileExFlags () #60 0x000000000060ef0c in PyRun_SimpleFileExFlags () #61 0x000000000063fb26 in Py_Main () #62 0x00000000004cfeb1 in main () (gdb) ```
wendel2 commented 6 years ago

This bug only happen with Cinnamon. When I try to use Mate, this issue doesn't happen. I do not know much more than that and how do I fix it, but this hint of mate worked for me.

ecdsa commented 6 years ago

@Perlover the bug seems related to Mint, then. I think we should close the issue here, because I dont see how we can fix it on our side

Perlover commented 6 years ago

May be. I have same Linux Mint 18.03 at work and there was Electrum 3.0.3 but i didn't have there problem. May be installed incorrectly cython-hidapi or hidapi library to python (i had problem when i installed at home). I close this ticket. I will try to reinstall Electrum and related libraries. If bug will not gone away i will reopen ticket.

Perlover commented 6 years ago

Interesting noticeing

I updated Electrum 3.0.3 -> 3.0.5 The troubles were be continuing I reinstalled many modules (related with qt5 - python modules + deb packages) Troubles were there again

But when i copied ~/.electrum/wallet/* files and removed ~/.electrum (rm -rf ~/.electrum) and restored all wallets from copies (before i did again default_wallet in first start) - electrum works more stability (but i saw one crash)

So i think some file(s) in ~/.electrum caused Segmentation Fault

brunomgalmeida commented 6 years ago

I have the same issue, and I noticed that if I enter the password and wait a few second before clicking next, it wont crash anymore.

Perlover commented 6 years ago

Removing and recreating new ~/.electrum doesn't help :( May be problem was related with watch-only wallets for Bitcoin Trezor device. Now i have again - Electrum 3.0.5 crashed every time (not 100% cases but may be 90%) :(

Perlover commented 6 years ago

Here new gdb backtrace: Can you see again to this problem? If you cannot understand the reason of this bug i will close ticket. But i did many reinstalling and problem occurs again and again :(

P.S. I can recompile or rebuild Electrum with options you will ask for getting more debugging info if you need. Only please write which options?

gdb ``` [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/bin/python3 /usr/local/bin/electrum'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f87f9279a81 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 [Current thread is 1 (Thread 0x7f8841e84700 (LWP 8580))] (gdb) bt #0 0x00007f87f9279a81 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x00007f87f91efd5d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #2 0x00007f87f88149d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #3 0x00007f87f8814f49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007f87f881a3ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #5 0x00007f87f6621abe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #6 0x00007f87f662326e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007f8818360c01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f87f8fab05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007f87f8fb0516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x00007f87f9667f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #11 0x00007f881833138b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x00007f8818333786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007f88183873c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007f8802be7197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007f8802be73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007f8802be749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007f88183877cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007f881832eb4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007f87f91a5d8d in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f87f97eb89d in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #21 0x00000000004e9b7f in PyCFunction_Call () #22 0x00000000005372f4 in PyEval_EvalFrameEx () #23 0x0000000000540199 in ?? () #24 0x000000000053bd92 in PyEval_EvalFrameEx () #25 0x0000000000540199 in ?? () #26 0x000000000053bd92 in PyEval_EvalFrameEx () #27 0x0000000000540f9b in PyEval_EvalCodeEx () #28 0x00000000004ebd23 in ?? () #29 0x00000000005c1797 in PyObject_Call () #30 0x00000000004fb9ce in ?? () #31 0x00000000005c1797 in PyObject_Call () #32 0x0000000000534d90 in PyEval_CallObjectWithKeywords () #33 0x00007f87f9e42d00 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #34 0x00007f87f9e43178 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #35 0x00007f87f9e392b0 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #36 0x00007f87f9e39be7 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #37 0x00007f8818360c01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #38 0x00007f87f8fab05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #39 0x00007f87f8fb0516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #40 0x00007f87f9667f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #41 0x00007f881833138b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #42 0x00007f8818333786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #43 0x00007f88183873c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00007f8802be7197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #45 0x00007f8802be73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #46 0x00007f8802be749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #47 0x00007f88183877cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #48 0x00007f881832eb4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #49 0x00007f8818336bec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #50 0x00007f87f962b0bb in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #51 0x00000000004e9b7f in PyCFunction_Call () #52 0x00000000005372f4 in PyEval_EvalFrameEx () #53 0x00000000005406df in ?? () #54 0x000000000053c1d0 in PyEval_EvalFrameEx () #55 0x000000000053b7e4 in PyEval_EvalFrameEx () #56 0x0000000000540199 in ?? () #57 0x0000000000540e4f in PyEval_EvalCode () #58 0x000000000060c272 in ?? () #59 0x000000000060e71a in PyRun_FileExFlags () #60 0x000000000060ef0c in PyRun_SimpleFileExFlags () #61 0x000000000063fb26 in Py_Main () #62 0x00000000004cfeb1 in main () (gdb)
Perlover commented 6 years ago

And i tested now not watch-only mode for Trezor Here native Segwit wallet for Electrum There crash again. But quickly sight to this shows that backtrace dump a little shorter

gdb ``` Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/bin/python3 /usr/local/bin/electrum'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f8c9fd9c7b1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 [Current thread is 1 (Thread 0x7f8ce8b2e700 (LWP 8938))] (gdb) bt #0 0x00007f8c9fd9c7b1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x00007f8c9fd9c97b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #2 0x00007f8c9fd69f7b in QTreeView::isIndexHidden(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #3 0x00007f8ca42b866b in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #4 0x00007f8c9fd6bea7 in QTreeView::visualRect(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #5 0x00007f8ca42bda1b in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #6 0x00007f8c9fd125da in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #7 0x00007f8c9fd12ae8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007f8cac0979d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #9 0x00007f8cac097f49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #10 0x00007f8cac09d3ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #11 0x00007f8ca407cabe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #12 0x00007f8ca407e26e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #13 0x00007f8caedddc01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007f8c9face05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007f8c9fad3516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007f8ca4260f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #17 0x00007f8caedae38b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007f8caedb0786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007f8caee043c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007f8cad934197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007f8cad9343f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007f8cad93449c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007f8caee047cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007f8caedabb4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007f8caedb3bec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007f8ca42240bb in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #27 0x00000000004e9b7f in PyCFunction_Call () #28 0x00000000005372f4 in PyEval_EvalFrameEx () #29 0x00000000005406df in ?? () #30 0x000000000053c1d0 in PyEval_EvalFrameEx () #31 0x000000000053b7e4 in PyEval_EvalFrameEx () #32 0x0000000000540199 in ?? () #33 0x0000000000540e4f in PyEval_EvalCode () #34 0x000000000060c272 in ?? () #35 0x000000000060e71a in PyRun_FileExFlags () #36 0x000000000060ef0c in PyRun_SimpleFileExFlags () #37 0x000000000063fb26 in Py_Main () #38 0x00000000004cfeb1 in main () (gdb) ```
Perlover commented 6 years ago

I found same problem with Qt5 & bitcoin wallet;

Issues: https://github.com/bitcoin/bitcoin/issues/11262 https://github.com/bitcoin/bitcoin/issues/9883 https://github.com/bitcoin/bitcoin/issues/9683

And Electrum issues: https://github.com/spesmilo/electrum/issues/3349 i see same syslog lines:


Jan 25 22:36:54 perlover-desktop kernel: [ 5063.039503] electrum[8938]: segfault at 40000068 ip 00007f8c9fd9c7b1 sp 00007fffddd37360 error 4 in libQt5Widgets.so.5.5.1[7f8c9f973000+659000]
Perlover commented 6 years ago

I installed python3-all-dbg & python3-pyqt5-dbg packages And rerun again, i got new crash with debug info May be it will help?

gdb ``` #0 0x00007feb6e8d7a81 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 [Current thread is 1 (Thread 0x7febb2613700 (LWP 10708))] (gdb) bt #0 0x00007feb6e8d7a81 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x00007feb6e84dd5d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #2 0x00007feb6dd329d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #3 0x00007feb6dd32f49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007feb6dd383ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #5 0x00007feb6bb3fabe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #6 0x00007feb6bb4126e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007feb81b4ac01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007feb6e60905c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007feb6e60e516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x00007feb6ecc884e in sipQApplication::notify (this=0x34ee2e0, a0=0x3b32d80, a1=0x3eb5720) at sipQtWidgetspart9.cpp:10872 #11 0x00007feb81b1b38b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x00007feb81b1d786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007feb81b713c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007feb8047c197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007feb8047c3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007feb8047c49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007feb81b717cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007feb81b18b4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007feb81b20bec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007feb6ec8a45b in meth_QApplication_exec_ (sipArgs=) at sipQtWidgetspart9.cpp:12026 #21 0x00000000004a2912 in PyCFunction_Call (func=func@entry=, args=args@entry=(), kwds=kwds@entry=0x0) at ../Objects/methodobject.c:109 #22 0x000000000054ac7e in call_function (pp_stack=pp_stack@entry=0x7ffcf56a3a20, oparg=oparg@entry=0) at ../Python/ceval.c:4705 Python Exception Type does not have a target.: #23 0x0000000000547f43 in PyEval_EvalFrameEx (f=f@entry=, throwflag=throwflag@entry=0) at ../Python/ceval.c:3236 #24 0x000000000054a520 in _PyEval_EvalCodeWithName (_co=, globals=, locals=locals@entry=0x0, args=, argcount=argcount@entry=1, kws=0x33764e0, kwcount=0, defs=0x0, defcount=0, Python Exception Type does not have a target.: Python Exception Type does not have a target.: kwdefs=0x0, closure=0x0, name=, qualname=) at ../Python/ceval.c:4018 #25 0x000000000054a800 in fast_function (func=func@entry=, pp_stack=pp_stack@entry=0x7ffcf56a3c90, n=n@entry=1, na=na@entry=1, nk=nk@entry=0) at ../Python/ceval.c:4813 #26 0x000000000054ada5 in call_function (pp_stack=pp_stack@entry=0x7ffcf56a3c90, oparg=oparg@entry=0) at ../Python/ceval.c:4730 Python Exception Type does not have a target.: #27 0x0000000000547f43 in PyEval_EvalFrameEx (f=f@entry=, throwflag=throwflag@entry=0) at ../Python/ceval.c:3236 #28 0x000000000054a74e in fast_function (func=func@entry=, pp_stack=pp_stack@entry=0x7ffcf56a3e30, n=n@entry=3, na=na@entry=3, nk=nk@entry=0) at ../Python/ceval.c:4803 #29 0x000000000054ada5 in call_function (pp_stack=pp_stack@entry=0x7ffcf56a3e30, oparg=oparg@entry=2) at ../Python/ceval.c:4730 Python Exception Type does not have a target.: #30 0x0000000000547f43 in PyEval_EvalFrameEx (f=f@entry=, throwflag=throwflag@entry=0) at ../Python/ceval.c:3236 Python Exception Type does not have a target.: Python Exception Type does not have a target.: #31 0x000000000054a520 in _PyEval_EvalCodeWithName (_co=_co@entry=, globals=globals@entry=, locals=locals@entry=, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at ../Python/ceval.c:4018 Python Exception Type does not have a target.: Python Exception Type does not have a target.: #32 0x000000000054a610 in PyEval_EvalCodeEx (_co=_co@entry=, globals=globals@entry=, locals=locals@entry=, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:4039 Python Exception Type does not have a target.: Python Exception Type does not have a target.: #33 0x000000000054a639 in PyEval_EvalCode (co=co@entry=, globals=globals@entry=, locals=locals@entry=) at ../Python/ceval.c:777 Python Exception Type does not have a target.: Python Exception Type does not have a target.: Python Exception Type does not have a target.: #34 0x0000000000424ee8 in run_mod (mod=mod@entry=0x2b44878, filename=filename@entry=, globals=globals@entry=, locals=locals@entry=, flags=flags@entry=0x7ffcf56a4110, arena=arena@entry=0x2ab94d0) at ../Python/pythonrun.c:976 Python Exception Type does not have a target.: Python Exception Type does not have a target.: #35 0x000000000042797a in PyRun_FileExFlags (fp=fp@entry=0x2a7ad40, filename_str=filename_str@entry=0x7febb24ac890 "/usr/local/bin/electrum", start=start@entry=257, globals=globals@entry=, locals=locals@entry=, closeit=closeit@entry=1, flags=0x7ffcf56a4110) at ../Python/pythonrun.c:929 #36 0x0000000000427d17 in PyRun_SimpleFileExFlags (fp=fp@entry=0x2a7ad40, filename=, filename@entry=0x7febb24ac890 "/usr/local/bin/electrum", closeit=closeit@entry=1, flags=flags@entry=0x7ffcf56a4110) at ../Python/pythonrun.c:396 #37 0x0000000000427e7a in PyRun_AnyFileExFlags (fp=fp@entry=0x2a7ad40, filename=0x7febb24ac890 "/usr/local/bin/electrum", closeit=closeit@entry=1, flags=flags@entry=0x7ffcf56a4110) at ../Python/pythonrun.c:80 #38 0x00000000004370dc in run_file (fp=fp@entry=0x2a7ad40, filename=filename@entry=0x2a11250 L"/usr/local/bin/electrum", p_cf=p_cf@entry=0x7ffcf56a4110) at ../Modules/main.c:318 #39 0x0000000000437c0b in Py_Main (argc=argc@entry=2, argv=argv@entry=0x2a0f020) at ../Modules/main.c:768 #40 0x000000000041f319 in main (argc=2, argv=0x7ffcf56a4328) at ../Programs/python.c:65 (gdb) ```
bauerj commented 6 years ago

I'm not sure what we can do to solve this. It seems like you're using a buggy Qt5 version, especially since the same issue occurs with other Qt applications.

I suggest you report this to your package maintainer.

Perlover commented 6 years ago

Here my other Linux MInt 18.3 computer and Electrum 3.0.5 There were rarely crashes but they were Now i catched core file in my work computer. Here backtrace, may be it will help anybody I will close this ticket but i think dumps can be usefull for somebody

It turns out that the reality now is that Electrum can not be used in Linux Mint 18.3 :(

gdb ``` Core was generated by `/usr/bin/python3 /usr/local/bin/electrum'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fde4959d2d7 in QXcbWindow::updateNetWmUserTime(unsigned int) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 [Current thread is 1 (Thread 0x7fde59755700 (LWP 24117))] (gdb) bt #0 0x00007fde4959d2d7 in QXcbWindow::updateNetWmUserTime(unsigned int) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #1 0x00007fde49590f64 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #2 0x00007fde49588b74 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #3 0x00007fde4958905d in QXcbConnection::processXcbEvents() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007fde51854c01 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fde4a4ed05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #6 0x00007fde4a4f2516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #7 0x00007fde4aba9f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #8 0x00007fde5182538b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007fde51827786 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #10 0x00007fde5187b3c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007fde50186197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #12 0x00007fde501863f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007fde50186712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007fde19a4bb83 in gtk_dialog_run () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #15 0x00007fde48e7db82 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so #16 0x00007fde4a6e7c4a in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x00007fde4a6fa775 in QFileDialog::getOpenFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags, QStringList const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007fde4a6faa12 in QFileDialog::getOpenFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007fde4ad108e8 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #20 0x00000000004e9ba7 in PyCFunction_Call () #21 0x00000000005372f4 in PyEval_EvalFrameEx () #22 0x0000000000540f9b in PyEval_EvalCodeEx () #23 0x00000000004ebd23 in ?? () #24 0x00000000005c1797 in PyObject_Call () #25 0x00000000004fb9ce in ?? () #26 0x00000000005c1797 in PyObject_Call () #27 0x0000000000534d90 in PyEval_CallObjectWithKeywords () #28 0x00007fde4b444d00 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #29 0x00007fde4b445178 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #30 0x00007fde4b43b2b0 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #31 0x00007fde4b43bbe7 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so #32 0x00007fde51853ee0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #33 0x00007fde4a4e3412 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #34 0x00007fde4a4e5898 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #35 0x00007fde4a4e6204 in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #36 0x00007fde4a4ed05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #37 0x00007fde4a4f2516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #38 0x00007fde4aba9f3e in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #39 0x00007fde5182538b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #40 0x00007fde51b8f888 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #41 0x00007fde51b8f9c1 in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #42 0x00007fde51b640ea in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #43 0x00007fde51b69185 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #44 0x00007fde51b4cf08 in QWindowSystemInterface::sendWindowSystemEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #45 0x00007fde495b8200 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #46 0x00007fde50186197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #47 0x00007fde501863f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #48 0x00007fde5018649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #49 0x00007fde5187b7cf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #50 0x00007fde51822b4a in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #51 0x00007fde5182abec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #52 0x00007fde4ab6d0bb in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so #53 0x00000000004e9b7f in PyCFunction_Call () #54 0x00000000005372f4 in PyEval_EvalFrameEx () #55 0x00000000005406df in ?? () #56 0x000000000053c1d0 in PyEval_EvalFrameEx () #57 0x000000000053b7e4 in PyEval_EvalFrameEx () #58 0x0000000000540199 in ?? () #59 0x0000000000540e4f in PyEval_EvalCode () #60 0x000000000060c272 in ?? () #61 0x000000000060e71a in PyRun_FileExFlags () #62 0x000000000060ef0c in PyRun_SimpleFileExFlags () #63 0x000000000063fb26 in Py_Main () #64 0x00000000004cfeb1 in main () (gdb) ```
Perlover commented 6 years ago

I created bug report here: https://bugreports.qt.io/browse/QTJIRA-325

SomberNight commented 6 years ago

I've downloaded Linux Mint 18.3 with Cinnamon and tried to reproduce this to no avail. Does this happen deterministically when doing something specific?

Perlover commented 6 years ago

Hi, SomberNight!

Thanks for helping I have two computers: work & home. Both installed separately. But both had Mint 18.2 (Cinnamon) and after i upgraded successfully up to Mint 18.3 (Cinnamon). In both i installed by "sudo pip3 install" from "Download" section os Electrum site. First i had normal working Electrum at work and stability crashed at home. But in last time i see ofen crashed in work too. In both places i use Trezor watch-only wallets. But i saw that Electrum crashed in native wallets of Electrum too. I think it crashed when i use used wallets (which have a some transactions not empty). If i will notice some conditions for this bug i will let you know of cause here.

maflcko commented 6 years ago

Can you reproduce the bug when running PyQt in valgrind? This should show you where the cause of the segmentation fault is actually happening.

Perlover commented 6 years ago

I think i now reason of my problems

I installed now v3.1 and Electrum started without segmentation faults but it prints at start about trezor library version ("Your trezor library version is unknown but need 0.9.0") I tried to install again from https://github.com/trezor/python-trezor new v0.9.1 but after i got again and again this warning.

After i located in /usr/local/lib/python3.5/dist-packages these directories:

trezor-0.7.16.egg-info trezor-0.9.0-py3.5.egg trezorlib

I removed theirs by rm -rf ...

After i installed again python-trezor by "sudo -H pip3 install trezor" from source of python-trezor and now Electrum works. I didn't get SegFault but before it i got SegFault every time...

I think the problem was related with these libraries and may be by two versions of Trezor.

Perlover commented 6 years ago

Ohh, no... After some sucessfully runs the Electrum 3.1 now terminated by Segmentation Fault again ,,,

Can you reproduce the bug when running PyQt in valgrind? This should show you where the cause of the segmentation fault is actually happening.

I will try

Perlover commented 6 years ago

valgrind didn't help to me (i had run as 'valgrind --log-file=1.txt /usr/local/bin/electrum') debug file was attached here: 1.txt

My new backtrace of core files here as attachments (2.txt & 3.txt) 2.txt 3.txt

Perlover commented 6 years ago

Here is "electrum -v" output before segmentation fault:


[SimpleConfig] electrum directory /home/user/.electrum
[get_server] [Errno 111] Connection refused
[Plugins] registering hardware digitalbitbox: ('hardware', 'digitalbitbox', 'Digital Bitbox wallet')
[Plugins] registering hardware keepkey: ('hardware', 'keepkey', 'KeepKey wallet')
[Plugins] registering hardware ledger: ('hardware', 'ledger', 'Ledger wallet')
[Plugins] registering hardware trezor: ('hardware', 'trezor', 'TREZOR wallet')
[Plugins] registering wallet type ('2fa', 'trustedcoin')
[profiler] __init__ 0.0024
[Network] blockchains dict_keys([0])
[Network] starting network
[Network] connecting to spv.48.org:50002:s as new interface
[FxThread] using exchange BitcoinAverage
[ruuxwv74pjxms3ws.onion] cannot resolve hostname
[de.hamster.science] connected
[spv.48.org] SSL certificate signed by CA
[spv.48.org] connected
[BitcoinAverage] getting fx quotes for USD
[Network] switching to spv.48.org:50002:s
[Network] sending subscriptions to spv.48.org:50002:s 0 0
[electrum.vom-stausee.de] connected
[Network] no height for main interface
[Network] switching to de.hamster.science:50002:s
[Network] sending subscriptions to de.hamster.science:50002:s 0 0
[cryptohead.de] connected
[WalletStorage] wallet path /home/user/.electrum/wallets/wallet
[Network] fee_histogram [[5, 105312], [2, 242986], [1, 26763504]]
[Network] fee_estimates[25] 3520
[Network] fee_estimates[10] 4250
[Network] fee_estimates[5] 10128
[Network] fee_histogram [[6, 100541], [2, 254967], [1, 26763504]]
[Network] fee_estimates[25] 3519
[Network] fee_estimates[10] 4250
[Network] fee_estimates[5] 10127
[Network] fee_estimates[2] 25703
[Network] relayfee 1000
[e.keff.org] SSL certificate signed by CA
[e.keff.org] connected
[Plugins] loaded trezor
[profiler] load_transactions 0.0002
[profiler] build_spent_outpoints 0.0000
[profiler] check_history 0.0000
[Network] fee_estimates[2] 25701
[profiler] get_full_history 0.0024
[profiler] on_update 0.0054
[profiler] write 0.0000
[profiler] save_transactions 0.0003
[ElectrumWindow/wallet] Notifying GUI
[btc.asis.io] connected
[profiler] load_wallet 0.1295
[DeviceMgr] getting client for keystore
[DeviceMgr] scanning devices...
[electrum.achow101.com] connected
[electrum.leblancnet.us] SSL certificate signed by CA
[electrum.leblancnet.us] connected
[E-X.not.fyi] connected
[btc.smsys.me] connected
[profiler] get_full_history 0.0100
[profiler] on_update 0.0271
[BitcoinAverage] received fx quotes
[profiler] get_full_history 0.0120
[profiler] on_update 0.0488
dmajumder4292 commented 5 years ago

in the electrum source dir, please run 'pyrcc5 icons.qrc -o gui/qt/icons_rc.py'

When i do that, it returns Unable to open gui/qt/icons_rc.py for writing

maflcko commented 5 years ago