Open runajam1 opened 11 months ago
I have the same on Mac. After uninstalling (by deleting it from the Applications folder) even a reinstall fails. Not sure where the app's state is saved, but would likely need to delete that too
App directory based on platform:
Windows: C:\Users\USERNAME\AppData\Roaming\Nunchuk
Mac: ~/Library/Application Support/Nunchuk
Unix: ~/.nunchuk
Thanks, I did remove the nunchuk folder and reinstalled but it still showed my previously added key so the same must have persisted somehow. Again it crashed shortly after starting
Do you have the experimental feature 'Multi-device sync' enabled by any chance? @badokun
If there is a crash log, could you share that with us?
I don't.. I did however try out collab multisig on testnet. Added x3 devices, macbook, android and iphone. each with unique email address. Couldnt get it to work. each device added a key to the multisig but in the end it gets stuck in a pending state. Messages sent comes thru as Encrypted, between two of the devices. Maybe there's some race condition and I presume the servers are located in the US, since it's pretty slow coming from Asia.
Where can I see the crash log?
On Mac, when an app crashes it usually gives you an option to 'Report' the crash (like the screenshot below). That's where you'll find the crash log.
If you could copy that crash log and paste it here or into a .txt file, it'd be great.
I don't see that. The app opens for a brief moment, I can see my keys and wallet, and then crashes. Gone.
@badokun pls follow this guide. In Mac we can get more info from console https://appleinsider.com/inside/macos/tips/how-to-understand-macos-finder-crash-report-alerts
It's quite verbose:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Nunchuk [95747]
Path: /Applications/Nunchuk.app/Contents/MacOS/Nunchuk
Identifier: io.nunchuk.macos
Version: 1.9.25 (1.9.25)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-12-19 17:30:18.4716 +0900
OS Version: macOS 14.2 (23C64)
Report Version: 12
Bridge OS Version: 8.2 (21P2057)
Anonymous UUID: E3B5061B-5468-0A05-CB73-5183FBD1D410
Sleep/Wake UUID: 502ED359-6902-46CD-ABBB-6600F58A76D0
Time Awake Since Boot: 260000 seconds
Time Since Wake: 38 seconds
System Integrity Protection: enabled
Crashed Thread: 10 Thread (pooled)
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000048
Exception Codes: 0x0000000000000001, 0x0000000000000048
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [95747]
VM Region Info: 0x48 is not in any region. Bytes before following region: 140737486888888
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
shared memory 7fffffe9a000-7fffffe9b000 [ 4K] r-x/r-x SM=SHM
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff805146a2e mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x7ff805154e3a mach_msg2_internal + 84
2 libsystem_kernel.dylib 0x7ff80514db62 mach_msg_overwrite + 653
3 libsystem_kernel.dylib 0x7ff805146d1f mach_msg + 19
4 CoreFoundation 0x7ff8052621b5 __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff805260c25 __CFRunLoopRun + 1371
6 CoreFoundation 0x7ff805260102 CFRunLoopRunSpecific + 557
7 HIToolbox 0x7ff80fb389d9 RunCurrentEventLoopInMode + 292
8 HIToolbox 0x7ff80fb387e6 ReceiveNextEventCommon + 665
9 HIToolbox 0x7ff80fb38531 _BlockUntilNextEventMatchingListInModeWithFilter + 66
10 AppKit 0x7ff80886e7b9 _DPSNextEvent + 880
11 AppKit 0x7ff809166f64 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1304
12 AppKit 0x7ff80885fd32 -[NSApplication run] + 603
13 libqcocoa.dylib 0x106c358fa 0x106bfb000 + 239866
14 QtCore 0x1096d9927 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
15 QtCore 0x1096dd8d2 QCoreApplication::exec() + 130
16 Nunchuk 0x1046fe558 main + 4296
17 dyld 0x7ff804dfb386 start + 1942
Thread 1:
0 libsystem_pthread.dylib 0x7ff805181b88 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x7ff805181b88 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x7ff805181b88 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x7ff805181b88 start_wqthread + 0
Thread 5:: QThread
0 libsystem_kernel.dylib 0x7ff80514d84a poll + 10
1 QtCore 0x10973a75e qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94
2 QtCore 0x10973bfac QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 812
3 QtCore 0x1096d9927 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4 QtCore 0x109517b4c QThread::exec() + 140
5 QtCore 0x109518a28 0x1094f6000 + 141864
6 libsystem_pthread.dylib 0x7ff805186202 _pthread_start + 99
7 libsystem_pthread.dylib 0x7ff805181bab thread_start + 15
Thread 6:: QQmlThread
0 libsystem_kernel.dylib 0x7ff80514d84a poll + 10
1 QtCore 0x10973a75e qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94
2 QtCore 0x10973bfac QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 812
3 QtCore 0x1096d9927 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4 QtCore 0x109517b4c QThread::exec() + 140
5 QtQml 0x10863f229 0x1083b4000 + 2667049
6 QtCore 0x109518a28 0x1094f6000 + 141864
7 libsystem_pthread.dylib 0x7ff805186202 _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff805181bab thread_start + 15
Thread 7:: Qt bearer thread
0 libsystem_kernel.dylib 0x7ff80514d84a poll + 10
1 QtCore 0x10973a7de qt_safe_poll(pollfd*, unsigned int, timespec const*) + 222
2 QtCore 0x10973bfac QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 812
3 QtCore 0x1096d9927 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4 QtCore 0x109517b4c QThread::exec() + 140
5 QtCore 0x109518a28 0x1094f6000 + 141864
6 libsystem_pthread.dylib 0x7ff805186202 _pthread_start + 99
7 libsystem_pthread.dylib 0x7ff805181bab thread_start + 15
Thread 8:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff805146a2e mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x7ff805154e3a mach_msg2_internal + 84
2 libsystem_kernel.dylib 0x7ff80514db62 mach_msg_overwrite + 653
3 libsystem_kernel.dylib 0x7ff805146d1f mach_msg + 19
4 CoreFoundation 0x7ff8052621b5 __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff805260c25 __CFRunLoopRun + 1371
6 CoreFoundation 0x7ff805260102 CFRunLoopRunSpecific + 557
7 AppKit 0x7ff8089cbfac _NSEventThread + 122
8 libsystem_pthread.dylib 0x7ff805186202 _pthread_start + 99
9 libsystem_pthread.dylib 0x7ff805181bab thread_start + 15
Thread 9:: Thread (pooled)
0 libsystem_kernel.dylib 0x7ff8051495ce __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff80518676b _pthread_cond_wait + 1211
2 QtCore 0x109520ae6 0x1094f6000 + 174822
3 QtCore 0x1095207fe 0x1094f6000 + 174078
4 QtCore 0x109520754 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
5 QtCore 0x10951d036 0x1094f6000 + 159798
6 QtCore 0x109518a28 0x1094f6000 + 141864
7 libsystem_pthread.dylib 0x7ff805186202 _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff805181bab thread_start + 15
Thread 10 Crashed:: Thread (pooled)
0 libc++.1.dylib 0x7ff8050c4e92 std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 4
1 Nunchuk 0x104c914d2 nunchuk::RoomWallet::get_init_event_id() const + 18
2 Nunchuk 0x1047f324b QRoomWallet::get_init_event_id() const + 27
3 Nunchuk 0x1047b3c9c QNunchukRoom::extractNunchukEvent(QString const&, QString const&, QJsonObject const&, Conversation&) + 3180
4 Nunchuk 0x1047bf2de QNunchukRoom::extractNunchukEvent(Quotient::RoomEvent const&, Conversation&) + 78
5 Nunchuk 0x1047c03fb QNunchukRoom::createConversation(Quotient::RoomEvent const&) + 1419
6 Nunchuk 0x1047cfa0c 0x103b1b000 + 13322764
7 Nunchuk 0x103d2e6e0 0x103b1b000 + 2176736
8 QtCore 0x10951ce47 0x1094f6000 + 159303
9 QtCore 0x109518a28 0x1094f6000 + 141864
10 libsystem_pthread.dylib 0x7ff805186202 _pthread_start + 99
11 libsystem_pthread.dylib 0x7ff805181bab thread_start + 15
Thread 11:: Thread (pooled)
0 libsystem_kernel.dylib 0x7ff8051495ce __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff80518676b _pthread_cond_wait + 1211
2 QtCore 0x109520ae6 0x1094f6000 + 174822
3 QtCore 0x1095207fe 0x1094f6000 + 174078
4 QtCore 0x109520754 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
5 QtCore 0x10951d036 0x1094f6000 + 159798
6 QtCore 0x109518a28 0x1094f6000 + 141864
7 libsystem_pthread.dylib 0x7ff805186202 _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff805181bab thread_start + 15
Thread 12:: Thread (pooled)
0 libsystem_kernel.dylib 0x7ff8051495ce __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff80518676b _pthread_cond_wait + 1211
2 QtCore 0x109520ae6 0x1094f6000 + 174822
3 QtCore 0x1095207fe 0x1094f6000 + 174078
4 QtCore 0x109520754 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
5 QtCore 0x10951d036 0x1094f6000 + 159798
6 QtCore 0x109518a28 0x1094f6000 + 141864
7 libsystem_pthread.dylib 0x7ff805186202 _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff805181bab thread_start + 15
@badokun thank you. it’s helpful for us. we will take a look and share a new patch soon.
@badokun please check your wallet with this version, and please let us know result. Thank for your support
@barontongnunchuk we're back in business, thanks
The desktop app opens for 3 seconds, then crashes and shuts down. Second time this has happened. The 1st time I had to uninstall and reinstall the app. Obviously, it's not tenable to keep repeating this.
I uninstalled the app and when it asked if I wanted to save the data base I said yes. I reinstalled the app, and it continued to crash.
I then uninstalled it again this time deleting the database, and now the app isn't crashing. Obviously, something in the database is causing it to crash.