NSXTool crashes with segmentation fault after shape calculation when pressing "peak prediction"
Again a crash... nsx.log
Process: NSXTool [28802]
Path: /opt/mlz/*/NSXTool
Identifier: NSXTool
Version: 0
Code Type: X86-64 (Native)
Parent Process: bash [2154]
Responsible: Terminal [2151]
User ID: 20670
Date/Time: 2021-03-16 14:47:19.089 +0100
OS Version: macOS 11.2.3 (20D91)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: FBC161FF-2FD0-5BB5-5CF7-B5E6CE964EE3
Sleep/Wake UUID: FCA0BFB8-885C-4F44-AF85-F6772424CE4D
Time Awake Since Boot: 200000 seconds
Time Since Wake: 3600 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000078
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [28802]
VM Regions Near 0x78:
-->
__TEXT 101a3b000-101e97000 [ 4464K] r-x/r-x SM=COW /opt/mlz/*
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.qt-project.QtWidgets 0x0000000103021628 QGraphicsItem::scene() const + 8
1 org.qt-project.QtWidgets 0x000000010304d48c QGraphicsScene::removeItem(QGraphicsItem*) + 44
2 NSXTool 0x0000000101a479db DetectorScene::clearPeakItems() + 59
3 NSXTool 0x0000000101aa2768 SubframePredictPeaks::runPrediction() + 1992
4 org.qt-project.QtCore 0x0000000103bf8f95 void doActivate<false>(QObject*, int, void**) + 1157
5 org.qt-project.QtWidgets 0x0000000102e081df QAbstractButtonPrivate::emitClicked() + 111
6 org.qt-project.QtWidgets 0x0000000102e08059 QAbstractButtonPrivate::click() + 233
7 org.qt-project.QtWidgets 0x0000000102e0920f QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 271
8 org.qt-project.QtWidgets 0x0000000102d58dfd QWidget::event(QEvent*) + 445
9 org.qt-project.QtWidgets 0x0000000102d1e9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
10 org.qt-project.QtWidgets 0x0000000102d21755 QApplication::notify(QObject*, QEvent*) + 6965
11 org.qt-project.QtCore 0x0000000103bc5a34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
12 org.qt-project.QtWidgets 0x0000000102d1f310 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 896
13 org.qt-project.QtWidgets 0x0000000102d78022 QWidgetWindow::handleMouseEvent(QMouseEvent*) + 3266
14 org.qt-project.QtWidgets 0x0000000102d766e9 QWidgetWindow::event(QEvent*) + 233
15 org.qt-project.QtWidgets 0x0000000102d1e9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
16 org.qt-project.QtWidgets 0x0000000102d1fe11 QApplication::notify(QObject*, QEvent*) + 497
17 org.qt-project.QtCore 0x0000000103bc5a34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
18 org.qt-project.QtGui 0x000000010337be2e QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 3534
19 org.qt-project.QtGui 0x0000000103360d7b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219
20 libqcocoa.dylib 0x00000001041bf260 QCocoaEventDispatcherPrivate::processPostedEvents() + 320
21 libqcocoa.dylib 0x00000001041bf9c8 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40
22 com.apple.CoreFoundation 0x00007fff205d6a0c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
23 com.apple.CoreFoundation 0x00007fff205d6974 __CFRunLoopDoSource0 + 180
24 com.apple.CoreFoundation 0x00007fff205d66ef __CFRunLoopDoSources0 + 248
25 com.apple.CoreFoundation 0x00007fff205d5121 __CFRunLoopRun + 890
26 com.apple.CoreFoundation 0x00007fff205d46ce CFRunLoopRunSpecific + 563
27 com.apple.HIToolbox 0x00007fff2885c630 RunCurrentEventLoopInMode + 292
28 com.apple.HIToolbox 0x00007fff2885c282 ReceiveNextEventCommon + 283
29 com.apple.HIToolbox 0x00007fff2885c14f _BlockUntilNextEventMatchingListInModeWithFilter + 64
30 com.apple.AppKit 0x00007fff22df49b1 _DPSNextEvent + 883
31 com.apple.AppKit 0x00007fff22df3177 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
32 com.apple.AppKit 0x00007fff22de568a -[NSApplication run] + 586
33 libqcocoa.dylib 0x00000001041be62f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2495
34 org.qt-project.QtCore 0x0000000103bc1acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
35 org.qt-project.QtCore 0x0000000103bc6042 QCoreApplication::exec() + 130
36 NSXTool 0x0000000101a4266a main + 346
37 libdyld.dylib 0x00007fff204f9621 start + 1
Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff204a9e7e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff204aa1f0 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff205d6bf7 __CFRunLoopServiceMachPort + 316
3 com.apple.CoreFoundation 0x00007fff205d52ca __CFRunLoopRun + 1315
4 com.apple.CoreFoundation 0x00007fff205d46ce CFRunLoopRunSpecific + 563
5 com.apple.AppKit 0x00007fff22f7a7c6 _NSEventThread + 124
6 libsystem_pthread.dylib 0x00007fff204de950 _pthread_start + 224
7 libsystem_pthread.dylib 0x00007fff204da47b thread_start + 15
Thread 2:
0 libsystem_pthread.dylib 0x00007fff204da458 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007ff727d92010 rcx: 0x0000000000000000 rdx: 0x0000000008659bc0
rdi: 0x00007ff711b20110 rsi: 0x00007ff711b20110 rbp: 0x00007ffeee1c24f0 rsp: 0x00007ffeee1c24f0
r8: 0x0000000000000001 r9: 0x00007ff6e39a7070 r10: 0x000000000000a310 r11: 0x238900aa971b3195
r12: 0x00007ff68a389f70 r13: 0x00007ff71e23aad0 r14: 0x00007ff711b20110 r15: 0x00007ff71e238f00
rip: 0x0000000103021628 rfl: 0x0000000000010202 cr2: 0x0000000000000078
Logical CPU: 0
Error Code: 0x00000004 (no mapping for user data read)
Trap Number: 14
Thread 0 instruction stream:
45 d4 7e 19 83 c6 fe 39-ce 0f 4c f1 44 89 c3 e8 E.~....9..L.D...
34 84 0a 00 41 89 d8 49-8b 07 8b 40 14 41 29 c0 4...A..I...@.A).
44 89 c0 48 83 c4 08 5b-41 5c 41 5d 41 5e 41 5f D..H...[A\A]A^A_
5d c3 66 0f 1f 44 00 00-55 48 89 e5 0f 0b 66 2e ].f..D..UH....f.
0f 1f 84 00 00 00 00 00-55 48 89 e5 0f 0b 66 2e ........UH....f.
0f 1f 84 00 00 00 00 00-55 48 89 e5 48 8b 47 08 ........UH..H.G.
[48]8b 40 78 5d c3 66 90-55 48 89 e5 53 50 48 8b H.@x].f.UH..SPH. <==
47 08 48 8b 88 38 01 00-00 f6 c5 10 74 44 48 8b G.H..8......tDH.
98 80 00 00 00 48 85 db-74 38 66 66 66 66 66 2e .....H..t8fffff.
0f 1f 84 00 00 00 00 00-48 8b 03 48 89 df ff 50 ........H..H...P
58 89 c1 48 89 d8 83 f9-0a 74 02 31 c0 48 85 c0 X..H.....t.1.H..
75 12 48 8b 43 08 48 8b-98 80 00 00 00 48 85 db u.H.C.H......H..
Thread 0 last branch register state not available.
Edited by Raza, Zamaan