Electrum: Electrum 2.9.3 OS X Crash sending transaction

Created on 11 Aug 2017  路  13Comments  路  Source: spesmilo/electrum

When trying to send a transaction the Electrum 2.9.3 (OS X Sierra) app crashes - reverted to version 2.9.2 - works fine.
The problem seems to happen only when trying to send or preview a new transaction. The problem still happens after reinstalling the Electrum 2.9.3 and even when cleaning up all the contents of the ~/.electrum folder

Most helpful comment

I'm experiencing the same issue. It also crashes when I press the command key when the cursor is blinking in the 'Pay to' field. (cannot paste a bitcoin address using command-v).

All 13 comments

sorry about that.
I made a new dmg file; an you try it and let me know if it is fixed?

Not fixed, just downloaded and tried

I cannot reproduce that.
is there any error message in the osx console?

I'm experiencing the same issue. It also crashes when I press the command key when the cursor is blinking in the 'Pay to' field. (cannot paste a bitcoin address using command-v).

is there any error message in the osx console?

This is the only thing I am getting on "electrum" search in console. I hope it helps:

[Electrum pid 48900 mux-aware] exiting, non-mux-aware app count 0, runtime: 0:02:43.774

@ecdsa I think the problem can be the new "icons"... but I am no specialist. The problem can be reproduced by simple pressing the Command key at the Send dialog, just like @azteke said.

Running from OS X terminal gives me the message when app crashes:

Illegal instruction: 4

For debugging I am attaching the Apple Error Report
Electrum_2_9_3_crash_Sierra.txt

The most relevant message, in my opinion:

Notes: Translocated Process

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [0]

I am able to reproduce this on my Mac Pro desktop, but not on my Macbook Pro.

Both running the same 2.9.3 version.

100% reproducible here too.

  1. Click on Send tab.
  2. Press the Command key on keyboard.

Electrum_2017-08-17-173748_MacBook-Pro-2011.txt

Running on the debugger gives the following:

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) frame #0: 0x00000001072dc354 QtGui.so___lldb_unnamed_symbol10595$$QtGui.so + 94
QtGui.so`___lldb_unnamed_symbol10595$$QtGui.so:
-> 0x1072dc354 <+94>: bextrl %edx, 0x8(%rcx), %ebx
0x1072dc35a <+100>: movq %rax, %rdi
0x1072dc35d <+103>: callq 0x1072f2aa8 ; symbol stub for: PyEval_RestoreThread
0x1072dc362 <+108>: movq %rbx, %rdi
Target 0: (Electrum) stopped.
(lldb) bt

  • thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

    • frame #0: 0x00000001072dc354 QtGui.so___lldb_unnamed_symbol10595$$QtGui.so + 94 frame #1: 0x00000001052fcbac PythonPyEval_EvalFrameEx + 11238

      frame #2: 0x00000001052f9de5 PythonPyEval_EvalCodeEx + 1579 frame #3: 0x00000001052a0651 Python___lldb_unnamed_symbol512$$Python + 330

      frame #4: 0x0000000105282cda PythonPyObject_Call + 97 frame #5: 0x000000010528d4d5 Python___lldb_unnamed_symbol193$$Python + 163

      frame #6: 0x0000000105282cda PythonPyObject_Call + 97 frame #7: 0x0000000105302528 PythonPyEval_CallObjectWithKeywords + 159

      frame #8: 0x00000001061d368a sip.so___lldb_unnamed_symbol160$$sip.so + 76 frame #9: 0x00000001061cfa38 sip.so___lldb_unnamed_symbol68$$sip.so + 152

      frame #10: 0x000000010700bf6d QtGui.sosipVH_QtGui_14(PyGILState_STATE, void (*)(_sipSimpleWrapper*, PyGILState_STATE), _sipSimpleWrapper*, _object*, QKeyEvent*) + 35 frame #11: 0x00000001071cfa31 QtGui.sosipQPlainTextEdit::keyPressEvent(QKeyEvent) + 85

      frame #12: 0x00000001077a41f4 QtGuiQWidget::event(QEvent*) + 3508 frame #13: 0x0000000107aa1843 QtGuiQFrame::event(QEvent
      ) + 45

      frame #14: 0x0000000107b15888 QtGuiQAbstractScrollArea::event(QEvent*) + 592 frame #15: 0x0000000107b2e18d QtGuiQPlainTextEdit::event(QEvent) + 747

      frame #16: 0x00000001071cf4d6 QtGui.sosipQPlainTextEdit::event(QEvent*) + 98 frame #17: 0x00000001077612cc QtGuiQApplicationPrivate::notify_helper(QObject
      , QEvent) + 194

      frame #18: 0x0000000107762f92 QtGuiQApplication::notify(QObject*, QEvent*) + 2822 frame #19: 0x000000010703dedc QtGui.sosipQApplication::notify(QObject
      , QEvent*) + 106

      frame #20: 0x0000000106600474 QtCoreQCoreApplication::notifyInternal(QObject*, QEvent*) + 118 frame #21: 0x00000001077648c8 QtGui___lldb_unnamed_symbol1449$$QtGui + 45

      frame #22: 0x00000001077c1ca9 QtGui___lldb_unnamed_symbol2452$$QtGui + 226 frame #23: 0x000000010771801c QtGui___lldb_unnamed_symbol619$$QtGui + 80

      frame #24: 0x000000010770d2dc QtGui___lldb_unnamed_symbol376$$QtGui + 49 frame #25: 0x00007fff4c8b0ae1 AppKit-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 5040

      frame #26: 0x00007fff4c8af314 AppKit-[NSWindow(NSEventRouting) sendEvent:] + 497 frame #27: 0x000000010771123f QtGui___lldb_unnamed_symbol449$$QtGui + 113

      frame #28: 0x00007fff4c710d3a AppKit-[NSApplication(NSEvent) sendEvent:] + 3154 frame #29: 0x00000001077156b0 QtGui___lldb_unnamed_symbol542$$QtGui + 97

      frame #30: 0x00007fff4bf72a3c AppKit-[NSApplication run] + 812 frame #31: 0x000000010771dbcb QtGui___lldb_unnamed_symbol701$$QtGui + 1725

      frame #32: 0x00000001065fd925 QtCoreQEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 77 frame #33: 0x00000001065fda9f QtCoreQEventLoop::exec(QFlags) + 365

      frame #34: 0x00000001066008ce QtCoreQCoreApplication::exec() + 200 frame #35: 0x000000010703ef51 QtGui.so___lldb_unnamed_symbol672$$QtGui.so + 79

      frame #36: 0x00000001052fcbac PythonPyEval_EvalFrameEx + 11238 frame #37: 0x00000001052f9de5 PythonPyEval_EvalCodeEx + 1579

      frame #38: 0x0000000105302be2 Python___lldb_unnamed_symbol1478$$Python + 290 frame #39: 0x00000001052fcae8 PythonPyEval_EvalFrameEx + 11042

      frame #40: 0x0000000105302b84 Python___lldb_unnamed_symbol1478$$Python + 196 frame #41: 0x00000001052fcae8 PythonPyEval_EvalFrameEx + 11042

      frame #42: 0x00000001052f9de5 PythonPyEval_EvalCodeEx + 1579 frame #43: 0x00000001052fa214 PythonPyEval_EvalFrameEx + 590

      frame #44: 0x00000001052f9de5 PythonPyEval_EvalCodeEx + 1579 frame #45: 0x0000000105302be2 Python___lldb_unnamed_symbol1478$$Python + 290

      frame #46: 0x00000001052fcae8 PythonPyEval_EvalFrameEx + 11042 frame #47: 0x00000001052f9de5 PythonPyEval_EvalCodeEx + 1579

      frame #48: 0x00000001052f97b4 PythonPyEval_EvalCode + 32 frame #49: 0x000000010531afdf Python___lldb_unnamed_symbol1608$$Python + 49

      frame #50: 0x000000010531b086 PythonPyRun_FileExFlags + 130 frame #51: 0x000000010531ac03 PythonPyRun_SimpleFileExFlags + 697

      frame #52: 0x000000010000275b Electrumpy2app_main + 2683 frame #53: 0x000000010000117a Electrummain + 650

      frame #54: 0x0000000100000be4 Electrumstart + 52

(lldb) disassemble
QtGui.so`___lldb_unnamed_symbol10595$$QtGui.so:
0x1072dc2f6 <+0>: pushq %rbp
0x1072dc2f7 <+1>: movq %rsp, %rbp
0x1072dc2fa <+4>: pushq %r14
0x1072dc2fc <+6>: pushq %rbx
0x1072dc2fd <+7>: subq $0x20, %rsp
0x1072dc301 <+11>: leaq -0x28(%rbp), %rcx
0x1072dc305 <+15>: movq %rdi, (%rcx)
0x1072dc308 <+18>: leaq -0x20(%rbp), %rdi
0x1072dc30c <+22>: movq $0x0, (%rdi)
0x1072dc313 <+29>: leaq 0x226ed6(%rip), %r14 ; sipAPI_QtGui
0x1072dc31a <+36>: movq (%r14), %rbx
0x1072dc31d <+39>: leaq 0x156bac(%rip), %rax ; sipExportedTypes_QtGui
0x1072dc324 <+46>: movq 0x17a8(%rax), %r8
0x1072dc32b <+53>: leaq 0x4dcac(%rip), %rdx ; "'B'"
0x1072dc332 <+60>: leaq -0x18(%rbp), %r9
0x1072dc336 <+64>: xorl %eax, %eax
0x1072dc338 <+66>: callq *0x280(%rbx)
0x1072dc33e <+72>: testl %eax, %eax
0x1072dc340 <+74>: je 0x1072dc36c ; <+118>
0x1072dc342 <+76>: callq 0x1072f2aae ; symbol stub for: PyEval_SaveThread
0x1072dc347 <+81>: movq -0x18(%rbp), %rcx
0x1072dc34b <+85>: movq 0x20(%rcx), %rcx
0x1072dc34f <+89>: movl $0x10f, %edx ; imm = 0x10F
-> 0x1072dc354 <+94>: bextrl %edx, 0x8(%rcx), %ebx
0x1072dc35a <+100>: movq %rax, %rdi
0x1072dc35d <+103>: callq 0x1072f2aa8 ; symbol stub for: PyEval_RestoreThread
0x1072dc362 <+108>: movq %rbx, %rdi
0x1072dc365 <+111>: callq 0x1072f2a6c ; symbol stub for: PyBool_FromLong
0x1072dc36a <+116>: jmp 0x1072dc397 ; <+161>
0x1072dc36c <+118>: movq (%r14), %rax
0x1072dc36f <+121>: movq -0x20(%rbp), %rdi
0x1072dc373 <+125>: leaq 0x34ec6(%rip), %rdx ; sipStrings_QtGui
0x1072dc37a <+132>: leaq 0x16750(%rdx), %rsi
0x1072dc381 <+139>: addq $0x15241, %rdx ; imm = 0x15241
0x1072dc388 <+146>: leaq 0x221fc1(%rip), %rcx ; sipTypeDef_QtGui_QWidget + 4008
0x1072dc38f <+153>: callq *0x2a0(%rax)
0x1072dc395 <+159>: xorl %eax, %eax
0x1072dc397 <+161>: addq $0x20, %rsp
0x1072dc39b <+165>: popq %rbx
0x1072dc39c <+166>: popq %r14
0x1072dc39e <+168>: popq %rbp
0x1072dc39f <+169>: retq

Same issue here, it crashes when trying to paste the recipient address.

Attached the Console output.

Electrum_2017-08-17-002000_macbookpro-235.crash.txt

fixed by reverting to 2.9.2

This is still an issue with 2.9.3 & macOS 10.12.6 (16G29)

UPDATE gist with a few crash reports: https://gist.github.com/BM5k/78538618416d94f8adf9c033ca1dde1f

Was this page helpful?
0 / 5 - 0 ratings