Fri, 10/27/2017 - 03:34
                
  
    
        
    #1
  
          SpokesSDK crash on 10.13        
      
      SpokesSDK crashes in InitSpokesRuntime() on MacOS 10.13.
Works OK in 10.11 and 10.12.
Crash is in USBRawDevice_Monitor_Thread, when main thread executes InitSpokesRuntime()
Please find part of MacOS crash log below:
OS Version:            Mac OS X 10.13 (17A405)
Report Version:        12
Crashed Thread:        10  USBRawDevice_Monitor_Thread
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY
Thread 0:: Dispatch queue: hid.queue
0   libsystem_kernel.dylib        	0x00007fff744ec1d2 __semwait_signal + 10
1   libsystem_c.dylib             	0x00007fff74467774 nanosleep + 199
2   Plantronics-Inc..Spokes3GSDK  	0x00000001038c3787 boost::this_thread::no_interruption_point::hiden::sleep_until(timespec const&) + 183
3   Plantronics-Inc..Spokes3GSDK  	0x0000000103913637 HIDAL_DeviceNotification::DoGetAllAttachedHIDDevicesPath() + 275
4   Plantronics-Inc..Spokes3GSDK  	0x00000001039134e9 invocation function for block in HIDAL_DeviceNotification::GetAllAttachedHIDDevicesPath() + 41
5   libdispatch.dylib             	0x00007fff74362f64 _dispatch_client_callout + 8
6   libdispatch.dylib             	0x00007fff743763f2 _dispatch_queue_barrier_sync_invoke_and_complete + 60
7   Plantronics-Inc..Spokes3GSDK  	0x0000000103913418 HIDAL_DeviceNotification::GetAllAttachedHIDDevicesPath() + 202
8   Plantronics-Inc..Spokes3GSDK  	0x000000010391c776 hidal_get_all_paths() + 78
9   Plantronics-Inc..Spokes3GSDK  	0x0000000103a7662a DeviceManager::getDevicesImpl(IDeviceGroup**, boost::function, std::__1::allocator >)>) + 72
10  Plantronics-Inc..Spokes3GSDK  	0x0000000103a76980 DeviceManager::getDevices(eVendorID, IDeviceGroup**) + 150
11  Plantronics-Inc..Spokes3GSDK  	0x00000001039f8e00 Plantronics::CallManager::GetAllConnectedDevices() + 92
12  Plantronics-Inc..Spokes3GSDK  	0x00000001039e5b30 Plantronics::CallManager::AttachToAllConnectedDevices() + 62
13  Plantronics-Inc..Spokes3GSDK  	0x00000001039e3067 Plantronics::CallManager::AttachToAnyDevice() + 55
14  Plantronics-Inc..Spokes3GSDK  	0x00000001039f80b7 Plantronics::CallManager::Init(ISessionManager*) + 701
15  Plantronics-Inc..Spokes3GSDK  	0x0000000103a10d34 SessionManager::InitCallManager(IDeviceManager*, INotificationManagerInt*) + 110
16  Plantronics-Inc..Spokes3GSDK  	0x0000000103a1095e SessionManager::Init(IDeviceManager*, INotificationManagerInt*) + 106
17  Plantronics-Inc..Spokes3GSDK  	0x0000000103a10829 SessionManager::SessionManager(IDeviceManager*, INotificationManagerInt*) + 303
18  Plantronics-Inc..Spokes3GSDK  	0x0000000103ad6428 InitSpokesRuntime + 162
...
Thread 10 Crashed:: USBRawDevice_Monitor_Thread
0   com.apple.iokit.IOUSBLib      	0x0000000108ff2341 IOUSBIUnknown::genericQueryInterface(void*, CFUUIDBytes, void**) + 11
1   Plantronics-Inc..Spokes3GSDK  	0x000000010390f283 -[USBRawDeviceNotificationPrivate rawDeviceAdded:] + 605
2   Plantronics-Inc..Spokes3GSDK  	0x000000010390ee85 -[USBRawDeviceNotificationPrivate doStartListen] + 749
3   Plantronics-Inc..Spokes3GSDK  	0x000000010390ea31 __46-[USBRawDeviceNotificationPrivate startListen]_block_invoke + 26
4   Plantronics-Inc..Spokes3GSDK  	0x0000000103936292 __38+[PltRLThread syncRunBlock:inRunLoop:]_block_invoke + 16
5   com.apple.CoreFoundation      	0x00007fff4ce5752c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
6   com.apple.CoreFoundation      	0x00007fff4ce39f43 __CFRunLoopDoBlocks + 275
7   com.apple.CoreFoundation      	0x00007fff4ce39d08 __CFRunLoopRun + 3128
8   com.apple.CoreFoundation      	0x00007fff4ce38e43 CFRunLoopRunSpecific + 483
9   Plantronics-Inc..Spokes3GSDK  	0x0000000103935e1e -[PltRLThreadPrivate doThread] + 293
10  Plantronics-Inc..Spokes3GSDK  	0x0000000103935cbf PltRLThreadCallback::rl_thread_callback(void*) + 45
11  libsystem_pthread.dylib       	0x00007fff746266c1 _pthread_body + 340
12  libsystem_pthread.dylib       	0x00007fff7462656d _pthread_start + 377
13  libsystem_pthread.dylib       	0x00007fff74625c5d thread_start + 13
 
        
Add new comment