Closed lee-barford closed 3 years ago
Can you paste the MacOS crash report here? These usually include trace backs which help me to find the issue.
Process: qdmr [24425] Path: /Applications/QDMR.app/Contents/MacOS/qdmr Identifier: com.github.hmatuschek.qdmr Version: 0.6 (0.6.4) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: qdmr [24425] User ID: 502
Date/Time: 2021-04-11 13:56:41.135 -0700 OS Version: macOS 11.0.1 (20B50) Report Version: 12 Bridge OS Version: 5.2 (18P4346) Anonymous UUID: B08733B3-6AD4-3985-F5C6-D55AAF45B0AF
Time Awake Since Boot: 170000 seconds
System Integrity Protection: enabled
Crashed Thread: 9 D878UV
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [24425]
VM Regions Near 0x18: --> __TEXT 106992000-106a6e000 [ 880K] r-x/r-x SM=COW /Applications/QDMR.app/Contents/MacOS/qdmr
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff202e1e7e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff202e21f0 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2040ebe7 CFRunLoopServiceMachPort + 316
3 com.apple.CoreFoundation 0x00007fff2040d2ba CFRunLoopRun + 1315
4 com.apple.CoreFoundation 0x00007fff2040c6be CFRunLoopRunSpecific + 563
5 com.apple.HIToolbox 0x00007fff28678fd0 RunCurrentEventLoopInMode + 292
6 com.apple.HIToolbox 0x00007fff28678dcc ReceiveNextEventCommon + 709
7 com.apple.HIToolbox 0x00007fff28678aef _BlockUntilNextEventMatchingListInModeWithFilter + 64
8 com.apple.AppKit 0x00007fff22c25f85 _DPSNextEvent + 883
9 com.apple.AppKit 0x00007fff22c2474b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
10 com.apple.AppKit 0x00007fff22c16bda -[NSApplication run] + 586
11 libqcocoa.dylib 0x000000010c15e09a 0x10c12e000 + 196762
12 org.qt-project.QtCore 0x00000001075dcc48 QEventLoop::exec(QFlags
Thread 1:: Qt bearer thread
0 libsystem_kernel.dylib 0x00007fff202e84fe poll + 10
1 org.qt-project.QtCore 0x000000010761b4d7 qt_safe_poll(pollfd, unsigned int, timespec const) + 99
2 org.qt-project.QtCore 0x000000010761c236 QEventDispatcherUNIX::processEvents(QFlags
Thread 2:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff202e1e7e mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff202e21f0 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2040ebe7 CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff2040d2ba CFRunLoopRun + 1315 4 com.apple.CoreFoundation 0x00007fff2040c6be CFRunLoopRunSpecific + 563 5 com.apple.AppKit 0x00007fff22dac36d _NSEventThread + 124 6 libsystem_pthread.dylib 0x00007fff20316950 _pthread_start + 224 7 libsystem_pthread.dylib 0x00007fff2031247b thread_start + 15
Thread 3: 0 libsystem_pthread.dylib 0x00007fff20312458 start_wqthread + 0
Thread 4: 0 libsystem_pthread.dylib 0x00007fff20312458 start_wqthread + 0
Thread 5: 0 libsystem_pthread.dylib 0x00007fff20312458 start_wqthread + 0
Thread 6: 0 libsystem_pthread.dylib 0x00007fff20312458 start_wqthread + 0
Thread 7: 0 libsystem_pthread.dylib 0x00007fff20312458 start_wqthread + 0
Thread 8:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff202ea1fe select + 10 1 com.apple.CoreFoundation 0x00007fff204356b3 CFSocketManager + 644 2 libsystem_pthread.dylib 0x00007fff20316950 _pthread_start + 224 3 libsystem_pthread.dylib 0x00007fff2031247b thread_start + 15
Thread 9 Crashed:: D878UV 0 libdmrconf.0.6.dylib 0x0000000106bce5cb D878UVCodeplug::encode(Config*, CodePlug::Flags const&) + 2059 1 libdmrconf.0.6.dylib 0x0000000106bc4c81 D878UV::upload() + 2737 2 libdmrconf.0.6.dylib 0x0000000106bc2f61 D878UV::run() + 225 3 org.qt-project.QtCore 0x00000001074c1d64 0x1074a5000 + 118116 4 libsystem_pthread.dylib 0x00007fff20316950 _pthread_start + 224 5 libsystem_pthread.dylib 0x00007fff2031247b thread_start + 15
Thread 9 crashed with X86 Thread State (64-bit): rax: 0x00007f925d911798 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000 rdi: 0x00007f925d911798 rsi: 0x0000000000000000 rbp: 0x000070000a0bdb90 rsp: 0x000070000a0bd4e0 r8: 0x0000000106b4cd20 r9: 0x0000000000000001 r10: 0x0000000000000000 r11: 0x00007f92589d0ff0 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x000070000a0be000 r15: 0x000060000284c480 rip: 0x0000000106bce5cb rfl: 0x0000000000010202 cr2: 0x0000000000000018
Logical CPU: 0 Error Code: 0x00000006 (no mapping for user data write) Trap Number: 14
Thread 9 instruction stream: ff ff c1 e1 09 81 c1 00-00 00 01 48 8b 95 48 fe ...........H..H. ff ff 48 8b 32 48 8b 76-60 31 ff 89 bd e4 fc ff ..H.2H.v`1...... ff 48 89 d7 48 89 b5 d8-fc ff ff 89 ce 8b 8d e4 .H..H........... fc ff ff 89 ca 4c 8b 85-d8 fc ff ff 41 ff d0 48 .....L......A..H 89 85 d0 fc ff ff e9 00-00 00 00 48 8b 85 d0 fc ...........H.... ff ff 48 89 85 68 ff ff-ff 48 8b 8d 70 ff ff ff ..H..h...H..p... [48]c7 41 18 00 00 00 00-48 c7 41 10 00 00 00 00 H.A.....H.A..... <== 48 c7 41 08 00 00 00 00-48 c7 01 00 00 00 00 48 H.A.....H......H 8b bd 68 ff ff ff be ff-00 00 00 ba 00 02 00 00 ..h............. e8 c6 93 01 00 48 8b 7d-f0 48 89 85 c8 fc ff ff .....H.}.H...... e8 a0 82 f9 ff 48 89 85-c0 fc ff ff e9 00 00 00 .....H.......... 00 8b b5 78 ff ff ff 48-8b bd c0 fc ff ff e8 12 ...x...H........
Thread 9 last branch register state not available.
Binary Images:
0x106992000 - 0x106a6dfff +com.github.hmatuschek.qdmr (0.6 - 0.6.4)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 23 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 15378557 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=773.3M resident=0K(0%) swapped_out_or_unallocated=773.3M(100%) Writable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 256K 2 Activity Tracing 256K 1 CG backing stores 1440K 6 CG image 152K 12 CoreAnimation 140K 13 CoreGraphics 12K 2 CoreUI image data 1060K 18 Foundation 16K 1 Kernel Alloc Once 8K 1 MALLOC 1.6G 97 MALLOC guard page 32K 6 STACK GUARD 56.0M 10 Stack 12.6M 10 VM_ALLOCATE 872K 32 CTF 759 1 DATA 15.6M 382 DATA_CONST 15.2M 237 __DATA_DIRTY 707K 99 FONT_DATA 4K 1 LINKEDIT 490.0M 68 OBJC_RO 61.0M 1 __OBJC_RW 2468K 2 TEXT 283.3M 380 UNICODE 588K 1 mapped file 540.9M 32 shared memory 40K 4 =========== ======= ======= TOTAL 3.1G 1419
OK, thanks. QDMR appears to crash when encoding the codeplug. I believe that this is not a Mac specific problem but affects all systems. If you do not have any "secret" information in your codeplug, could you attach the conf file to a comment here? This will help me to reproduce the issue.
Please save the file and then remove the .txt extension. github won't upload a file with the extension .conf .
Ok, tanks a lot. That helped. The fix will be part of the next release. If you can't wait, you can build qdmr from sources using macports.
qdmr version: 0.6.4, installed as Mac .dmg file from GitHub Radio: AT-D878UV, firmware V1.21 Sequence of events: