Open koenpunt opened 6 years ago
Hey @koenpunt thanks for bringing that to my attention. Should be fixed on HEAD now
Thanks, but it still has some issues 🙁. After running it now, it did somehow connect to a device of a colleague over WiFi, but after connecting my phone with a cable the segmentation fault did return. And now with my phone disconnected it does so too again.
@koenpunt what command are you using?
Just mobdevim -g
But any argument causes it to crash actually.
Hitting the same issue. Exactly the same symptoms.
Hi, I have an issue using the tool; it errors out with a segmentation fault. This both happens with the precompiled version and when I compile it myself.
Click to reveal crashlog
``` Process: mobdevim [7477] Path: /usr/local/bin/mobdevim Identifier: mobdevim Version: 0 Code Type: X86-64 (Native) Parent Process: zsh [636] Responsible: mobdevim [7477] User ID: 501 Date/Time: 2018-05-07 09:38:41.031 +0200 OS Version: Mac OS X 10.13.3 (17D102) Report Version: 12 Bridge OS Version: 3.0 (14Y661) Anonymous UUID: A6388CF6-BEC3-74D3-1176-D1710B8004B0 Time Awake Since Boot: 930 seconds System Integrity Protection: enabled Crashed Thread: 2 Dispatch queue: com.apple.root.default-qos Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00005741e5894868 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0] VM Regions Near 0x5741e5894868: Dispatch continuations 0000000106a00000-0000000107a00000 [ 16.0M] rw-/rwx SM=PRV --> STACK GUARD 0000700006d1a000-0000700006d1b000 [ 4K] ---/rwx SM=NUL stack guard for thread 1 Application Specific Information: objc_msgSend() selector name: objectForKeyedSubscript: Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff722d3ec2 kevent + 10 1 com.apple.mobiledevice 0x00007fff65dbf186 lockconn_receive_message + 171 2 com.apple.mobiledevice 0x00007fff65dc71ee AMDeviceConnect + 550 3 mobdevim 0x000000010642ab38 connect_callback + 472 (main.m:68) 4 com.apple.mobiledevice 0x00007fff65dc65fa _AMDDeviceAttachedCallbackv3 + 315 5 com.apple.mobiledevice 0x00007fff65d38531 _USBMuxCustomRunLoopSourcePerformCallback + 1286 6 com.apple.CoreFoundation 0x00007fff4a876721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 7 com.apple.CoreFoundation 0x00007fff4a9300ac __CFRunLoopDoSource0 + 108 8 com.apple.CoreFoundation 0x00007fff4a859260 __CFRunLoopDoSources0 + 208 9 com.apple.CoreFoundation 0x00007fff4a8586dd __CFRunLoopRun + 1293 10 com.apple.CoreFoundation 0x00007fff4a857f43 CFRunLoopRunSpecific + 483 11 com.apple.CoreFoundation 0x00007fff4a8968f3 CFRunLoopRun + 99 12 mobdevim 0x000000010642a77a main + 3626 (main.m:301) 13 libdyld.dylib 0x00007fff72183115 start + 1 Thread 1: 0 libsystem_pthread.dylib 0x00007fff7240dc40 start_wqthread + 0 1 ??? 0x6d68537365636e65 0 + 7883642902799412837 Thread 2 Crashed:: Dispatch queue: com.apple.root.default-qos 0 libobjc.A.dylib 0x00007fff71585e9d objc_msgSend + 29 1 mobdevim 0x000000010642a9c6 connect_callback + 102 (main.m:53) 2 com.apple.mobiledevice 0x00007fff65dc6e95 _pairedDeviceCallback + 587 3 com.apple.mobiledevice 0x00007fff65d0060d ___ListenForAsynchronousDataWithRetainedContext_block_invoke + 733 4 libdispatch.dylib 0x00007fff72149d50 _dispatch_client_callout + 8 5 libdispatch.dylib 0x00007fff7215ce76 _dispatch_continuation_pop + 472 6 libdispatch.dylib 0x00007fff7214c018 _dispatch_source_invoke + 620 7 libdispatch.dylib 0x00007fff7215f1be _dispatch_root_queue_drain_deferred_item + 256 8 libdispatch.dylib 0x00007fff721628e8 _dispatch_kevent_worker_thread + 817 9 libsystem_pthread.dylib 0x00007fff7240e057 _pthread_wqthread + 1016 10 libsystem_pthread.dylib 0x00007fff7240dc4d start_wqthread + 13 Thread 3:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff722d2fca __select + 10 1 com.apple.CoreFoundation 0x00007fff4a89359b __CFSocketManager + 635 2 libsystem_pthread.dylib 0x00007fff7240e6c1 _pthread_body + 340 3 libsystem_pthread.dylib 0x00007fff7240e56d _pthread_start + 377 4 libsystem_pthread.dylib 0x00007fff7240dc5d thread_start + 13 Thread 2 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000700006e1d7a0 rcx: 0x00007fff48acd268 rdx: 0x000000010643cff0 rdi: 0x00007fff65dc6c4a rsi: 0x00007fff48acd268 rbp: 0x0000700006e1d770 rsp: 0x0000700006e1d688 r8: 0x0000000000000028 r9: 0x00007fb5fba004f9 r10: 0x00005741e5894850 r11: 0x00007fff48acd268 r12: 0x00007fb5f9504100 r13: 0x0000000000000005 r14: 0x00007fb5fbb00fd0 r15: 0x0000000000000000 rip: 0x00007fff71585e9d rfl: 0x0000000000010206 cr2: 0x00005741e5894868 Logical CPU: 0 Error Code: 0x00000004 Trap Number: 14 Binary Images: 0x106421000 - 0x10643bff3 +mobdevim (0) <51E99F96-772E-330A-B701-5FB63A657547> /usr/local/bin/mobdevim 0x106800000 - 0x10684a98f dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld 0x7fff46dba000 - 0x7fff46dbafff com.apple.Accelerate (1.11 - Accelerate 1.11) <5AA750F5-D633-32BA-B7F3-4F651FB1761E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x7fff46dd2000 - 0x7fff472d0fc3 com.apple.vImage (8.1 - ???) <310976EE-E12D-39D7-8F58-6EE924E08576> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x7fff472d1000 - 0x7fff4742bfcb libBLAS.dylib (1211.30.1) <0DB0D952-BCF4-3479-BA2F-785FB1A57479> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x7fff4742c000 - 0x7fff4745afef libBNNS.dylib (37) <49EB4DBA-877C-3D41-90A2-C3D982C72A54> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib 0x7fff4745b000 - 0x7fff4781bff7 libLAPACK.dylib (1211.30.1) <2D4E4446-6B63-350C-BD68-A1B8FBE99539> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x7fff4781c000 - 0x7fff47831ff7 libLinearAlgebra.dylib (1211.30.1) <6C68F41D-1398-3AFE-BE72-C0ECA1B24BDC> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib 0x7fff47832000 - 0x7fff47837ff3 libQuadrature.dylib (3) <3D6BF66A-55B2-3692-BAC7-DEB0C676ED29> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib 0x7fff47838000 - 0x7fff47896fff libSparse.dylib (79.1.1) <7AD0F8A8-FD36-36FE-B83D-58648EBD0027> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib 0x7fff47897000 - 0x7fff478aafff libSparseBLAS.dylib (1211.30.1) <42506F6F-0F38-322E-9903-C1DB66E4DA05> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib 0x7fff478ab000 - 0x7fff47a57fc3 libvDSP.dylib (622.20.8) <6FFCA52B-7D60-326A-ADF2-601F39A8685A> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x7fff47a58000 - 0x7fff47b08fef libvMisc.dylib (622.20.8) <54F90047-879F-3260-8604-6E453149B49E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x7fff47b09000 - 0x7fff47b09fff com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) <8A96A8ED-7B88-3D17-8D17-41D224E0EC90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x7fff47df9000 - 0x7fff48c56fff com.apple.AppKit (6.9 - 1561.20.106)