Closed HomeACcessoryKid closed 6 years ago
Looks like a permission issues can you run it as root ?
Thanks for your tip!
But 'close but no cigar'. Any further ideas?
This is when running from command line as normal user with admin rights:
hack$ /Applications/xscope.app/Contents/MacOS/xscope & [1] 9757 hack$ libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Cannot open device
Cannot open device
0x7ffbbe301120 Device Opened
libusb: info [darwin_claim_interface] no interface found; setting configuration: 1 VERSION “2.40"
[1]+ Segmentation fault: 11 /Applications/xscope.app/Contents/MacOS/xscope
The second time "Cannot open device” is after pressing the “connect” button without the xlabproto connected The error and crash are with xprotolab connected and pressing "connect"
Running as root without xprotolabs connected initially
hack$ sudo /Applications/xscope.app/Contents/MacOS/xscope libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Cannot open device
Cannot open device
0x7fa04abe0c70 Device Opened
libusb: info [darwin_claim_interface] no interface found; setting configuration: 1 VERSION "2.40" Segmentation fault: 11
Running as root with xprotolabs connected from the beginning
hack$ sudo /Applications/xscope.app/Contents/MacOS/xscope & [1] 9778 hack$ libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile 0x7fc4abe167e0 Device Opened
VERSION "2.40"
[1]+ Segmentation fault: 11 sudo /Applications/xscope.app/Contents/MacOS/xscope
As a bonus, this is what the USB system info has to report USB 3.1 Bus:
Host Controller Driver: AppleIntelCNLUSBXHCI PCI Device ID: 0xa36d PCI Revision ID: 0x0010 PCI Vendor ID: 0x8086
XScope:
Product ID: 0x06f9 Vendor ID: 0x16d0 Version: 1.00 Speed: Up to 12 Mb/sec Manufacturer: Gabotronics Location ID: 0x14300000 / 3 Current Available (mA): 500 Extra Operating Current (mA): 0
On 24 Sep 2018, at 11:42, Philippe Coval notifications@github.com wrote:
Looks like a permission issues can you run it as root ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ganzziani/xscopes-qt/issues/32#issuecomment-423922396, or mute the thread https://github.com/notifications/unsubscribe-auth/AV0HQjrFpv7aO1FPVGPpxB11gAKjNaWRks5ueKjogaJpZM4W1xUA.
This is the crash report when run like myself:
hack$ /Applications/xscope.app/Contents/MacOS/xscope libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile 0x7fbe43def900 Device Opened
VERSION "2.40" Segmentation fault: 11
==========
Process: xscope [13029] Path: /Applications/xscope.app/Contents/MacOS/xscope Identifier: hack.xscope Version: 0 Code Type: X86-64 (Native) Parent Process: bash [622] Responsible: xscope [13029] User ID: 501
Date/Time: 2018-09-28 18:06:48.630 +0200 OS Version: Mac OS X 10.13.6 (17G2307) Report Version: 12 Bridge OS Version: 2.4.1 (15P6805) Anonymous UUID: 6CD945A1-1BFB-2B69-8212-B7999BEC2CFB
Sleep/Wake UUID: F0D0E616-4633-41C2-AE99-F59FEEA60533
Time Awake Since Boot: 160000 seconds Time Since Wake: 1500 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 0x00007ffee63fc000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]
VM Regions Near 0x7ffee63fc000: Stack 00007ffee5bfc000-00007ffee63fc000 [ 8192K] rw-/rwx SM=PRV thread 0 --> Submap 00007fff00000000-00007fff80000000 [ 2.0G] r--/rwx SM=SHM machine-wide VM submap
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 hack.xscope 0x0000000109836ca0 XprotolabInterface::sniffProtocol() + 192
1 hack.xscope 0x00000001098b45a2 XprotolabInterface::qt_metacall(QMetaObject::Call, int, void*) + 82
2 org.qt-project.QtCore 0x000000010a808781 QMetaObject::activate(QObject, int, int, void*) + 1025
3 org.qt-project.QtWidgets 0x0000000109c147bf QAbstractSlider::setValue(int) + 303
4 hack.xscope 0x0000000109843a2a XprotolabInterface::readDeviceSettings() + 9706
5 hack.xscope 0x000000010984097f XprotolabInterface::on_connectButton_clicked() + 1263
6 org.qt-project.QtCore 0x000000010a8014f1 QObject::event(QEvent) + 769
7 org.qt-project.QtWidgets 0x0000000109b6244f QWidget::event(QEvent) + 4799
8 org.qt-project.QtWidgets 0x0000000109c76815 QMainWindow::event(QEvent) + 277
9 org.qt-project.QtWidgets 0x0000000109b272fd QApplicationPrivate::notify_helper(QObject, QEvent) + 269
10 org.qt-project.QtWidgets 0x0000000109b28727 QApplication::notify(QObject, QEvent) + 583
11 org.qt-project.QtCore 0x000000010a7d7a64 QCoreApplication::notifyInternal2(QObject, QEvent) + 164
12 org.qt-project.QtCore 0x000000010a7d8bd7 QCoreApplicationPrivate::sendPostedEvents(QObject, int, QThreadData) + 791
13 libqcocoa.dylib 0x000000010e1b3d39 0x10e188000 + 179513
14 com.apple.CoreFoundation 0x00007fff4de17417 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
15 com.apple.CoreFoundation 0x00007fff4de1733f __CFRunLoopDoObservers + 527
16 com.apple.CoreFoundation 0x00007fff4ddf90f1 CFRunLoopRunSpecific + 385
17 com.apple.HIToolbox 0x00007fff4d0e3d96 RunCurrentEventLoopInMode + 286
18 com.apple.HIToolbox 0x00007fff4d0e3a0f ReceiveNextEventCommon + 366
19 com.apple.HIToolbox 0x00007fff4d0e3884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
20 com.apple.AppKit 0x00007fff4b394a73 _DPSNextEvent + 2085
21 com.apple.AppKit 0x00007fff4bb2ae34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
22 com.apple.AppKit 0x00007fff4b389885 -[NSApplication run] + 764
23 libqcocoa.dylib 0x000000010e1b343f 0x10e188000 + 177215
24 org.qt-project.QtCore 0x000000010a7d2ede QEventLoop::exec(QFlags
Thread 1: 0 libsystem_kernel.dylib 0x00007fff75e7228a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7603920e _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff76038be9 start_wqthread + 13
Thread 2: 0 libsystem_kernel.dylib 0x00007fff75e7228a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7603920e _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff76038be9 start_wqthread + 13
Thread 3: 0 libsystem_kernel.dylib 0x00007fff75e7228a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7603920e _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff76038be9 start_wqthread + 13
Thread 4: 0 libsystem_kernel.dylib 0x00007fff75e7228a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7603920e _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff76038be9 start_wqthread + 13
Thread 5: 0 libsystem_kernel.dylib 0x00007fff75e7228a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7603920e _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff76038be9 start_wqthread + 13
Thread 6: 0 libsystem_kernel.dylib 0x00007fff75e7228a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7603920e _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff76038be9 start_wqthread + 13
Thread 7: 0 libsystem_kernel.dylib 0x00007fff75e7228a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7603920e _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff76038be9 start_wqthread + 13
Thread 8: 0 libsystem_pthread.dylib 0x00007fff76038bdc start_wqthread + 0
Thread 9: 0 libsystem_kernel.dylib 0x00007fff75e7228a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7603920e _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff76038be9 start_wqthread + 13
Thread 10: 0 libsystem_pthread.dylib 0x00007fff76038bdc start_wqthread + 0 1 ??? 0x0000000000000003 0 + 3
Thread 11: 0 libsystem_pthread.dylib 0x00007fff76038bdc start_wqthread + 0 1 ??? 0x0000000540585043 0 + 22554366019
Thread 12:: org.libusb.device-hotplug 0 libsystem_kernel.dylib 0x00007fff75e6820a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff75e67724 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff4ddfa785 CFRunLoopServiceMachPort + 341 3 com.apple.CoreFoundation 0x00007fff4ddf9ad7 CFRunLoopRun + 1783 4 com.apple.CoreFoundation 0x00007fff4ddf9153 CFRunLoopRunSpecific + 483 5 com.apple.CoreFoundation 0x00007fff4de37be3 CFRunLoopRun + 99 6 libusb-1.0.0.dylib 0x0000000109abe208 darwin_event_thread_main + 398 7 libsystem_pthread.dylib 0x00007fff76039661 _pthread_body + 340 8 libsystem_pthread.dylib 0x00007fff7603950d _pthread_start + 377 9 libsystem_pthread.dylib 0x00007fff76038bf9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x00000000145748d0 rbx: 0x0000000000001c8c rcx: 0x00007fbe4686ee18 rdx: 0x0000000000001c8b rdi: 0x00007ffee63f8c50 rsi: 0x0000000000001c8c rbp: 0x00007ffee63f8cc0 rsp: 0x00007ffee63f8be0 r8: 0x00007fbe46864400 r9: 0x0000000000008006 r10: 0x00007fbe46800000 r11: 0x0000000000000397 r12: 0x00007ffee63f8c50 r13: 0x00007ffee63f8e20 r14: 0x00007ffee63fa290 r15: 0x000000010aaf9590 rip: 0x0000000109836ca0 rfl: 0x0000000000010283 cr2: 0x00007ffee63fc000
Logical CPU: 10 Error Code: 0x00000004 Trap Number: 14
Binary Images:
0x109804000 - 0x109a2cfff +hack.xscope (0)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 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: 1805530 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=376.1M resident=0K(0%) swapped_out_or_unallocated=376.1M(100%) Writable regions: Total=162.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=162.6M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 2 Activity Tracing 256K 2 CG backing stores 1160K 3 CoreImage 24K 3 CoreUI image file 208K 4 Dispatch continuations 24.0M 2 Foundation 4K 2 Kernel Alloc Once 8K 2 MALLOC 122.5M 33 MALLOC guard page 48K 10 Memory Tag 251 12K 2 STACK GUARD 56.0M 14 Stack 14.1M 14 VM_ALLOCATE 76K 10 DATA 24.2M 266 FONT_DATA 4K 2 LINKEDIT 197.3M 28 TEXT 178.8M 268 __UNICODE 560K 2 mapped file 53.5M 21 shared memory 2680K 14 =========== ======= ======= TOTAL 675.4M 683
Model: MacBookPro15,1, BootROM 15.16.6805.0.0,0, 6 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, Built-In Graphics: kHW_AMDRadeonPro560XItem, Radeon Pro 560X, PCIe Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2400 MHz, Micron, 8ATF1G64HZ-2G6E1 8ATF1G64HZ-2G6E1 Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2400 MHz, Micron, 8ATF1G64HZ-2G6E1 8ATF1G64HZ-2G6E1 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Jun 24 2018 21:16:16 version 9.130.28.44.32.1.55 FWID 01-55577fa3 Bluetooth: Version 6.0.7f11, 3 services, 27 devices, 1 incoming serial ports Network Service: AirPort, AirPort, en0 USB Device: USB 3.1 Bus USB Device: XScope USB Device: iBridge Bus USB Device: iBridge DFR brightness USB Device: iBridge Display USB Device: Apple Internal Keyboard / Trackpad USB Device: Headset USB Device: iBridge ALS USB Device: iBridge FaceTime HD Camera (Built-in) USB Device: iBridge Thunderbolt Bus: MacBook Pro, Apple Inc., 30.2 Thunderbolt Bus: MacBook Pro, Apple Inc., 30.2
On 27 Sep 2018, at 18:44, HacK notifications@github.com wrote:
Thanks for your tip!
But 'close but no cigar'. Any further ideas?
This is when running from command line as normal user with admin rights:
hack$ /Applications/xscope.app/Contents/MacOS/xscope & [1] 9757 hack$ libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Cannot open device
Cannot open device
0x7ffbbe301120 Device Opened
libusb: info [darwin_claim_interface] no interface found; setting configuration: 1 VERSION “2.40"
[1]+ Segmentation fault: 11 /Applications/xscope.app/Contents/MacOS/xscope
The second time "Cannot open device” is after pressing the “connect” button without the xlabproto connected The error and crash are with xprotolab connected and pressing "connect"
Running as root without xprotolabs connected initially
hack$ sudo /Applications/xscope.app/Contents/MacOS/xscope libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Cannot open device
Cannot open device
0x7fa04abe0c70 Device Opened
libusb: info [darwin_claim_interface] no interface found; setting configuration: 1 VERSION "2.40" Segmentation fault: 11
Running as root with xprotolabs connected from the beginning
hack$ sudo /Applications/xscope.app/Contents/MacOS/xscope & [1] 9778 hack$ libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile 0x7fc4abe167e0 Device Opened
VERSION "2.40"
[1]+ Segmentation fault: 11 sudo /Applications/xscope.app/Contents/MacOS/xscope
As a bonus, this is what the USB system info has to report USB 3.1 Bus:
Host Controller Driver: AppleIntelCNLUSBXHCI PCI Device ID: 0xa36d PCI Revision ID: 0x0010 PCI Vendor ID: 0x8086
XScope:
Product ID: 0x06f9 Vendor ID: 0x16d0 Version: 1.00 Speed: Up to 12 Mb/sec Manufacturer: Gabotronics Location ID: 0x14300000 / 3 Current Available (mA): 500 Extra Operating Current (mA): 0
On 24 Sep 2018, at 11:42, Philippe Coval notifications@github.com wrote:
Looks like a permission issues can you run it as root ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ganzziani/xscopes-qt/issues/32#issuecomment-423922396, or mute the thread https://github.com/notifications/unsubscribe-auth/AV0HQjrFpv7aO1FPVGPpxB11gAKjNaWRks5ueKjogaJpZM4W1xUA.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ganzziani/xscopes-qt/issues/32#issuecomment-425162424, or mute the thread https://github.com/notifications/unsubscribe-auth/AV0HQp8U0hq_3hkvojjewy_UEdrk3QBwks5ufQBdgaJpZM4W1xUA.
I found the solution! It is your (@rzr) pull-request #31 that when applied saves the day.
I hope that Gabriel can merge that one so others don't have to go through the motions I did to solve this.
Thanks @rzr !!
You're welcome thx for feedback
Gabriel seems to take back xscope developement (thx) maybe a release is planned.
I do have some updates in development, however I am currently testing only on my Windows machine.
Hi,
It recompiles in itself and runs stand-alone, but whenever USB connection is tried, it crashes instantly I have followed the previous recipe before on Sierra, but now, on my new machine, it does not result in a working version...
Anyone has any idea how to make this work again?