15 posts / 0 new
Last post
vikkolesnyk
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

lcollins
Hi,<br /> Thanks for bringing this to our attention. We are already aware of the issue and it is being actively investigated, although the cause is not yet known.<br /> Could you confirm if your Mac has only USB-C ports (2016 or newer model), and if you are using an Apple or 3rd party adaptor (USB-C to USB-A)?<br /> Thanks,<br /> Lewis.

vikkolesnyk
Lewis, Thank you for quick reply. Yes, Mac has only USB-C ports. And yes, 3rdParty adaptor is using.

lcollins
Hi, thanks, so we are still trying to qualify this issue. Could you confirm the make/model of your adaptor?

vikkolesnyk
Hi. Adaptor is no-name (China), sorry.<br /> Also I tried on older Mac with 10.13, that has direct USB-A port.<br /> And it didn&#39;t not crash on it either on init or during work with Bluetooth Headset.<br /> We are at pre-releasing stage of our product with Spokes3G support introduced for MacOS and<br /> I&#39;m in doubts now what is better to totally disable &#39;Spokes3G&#39; on MacOS &gt; 10.12 as it will cause app to crash on Init for 2016 or newer Macs<br /> or enable it and try to catch exception as seems it does not crash on 2015 and older Macs even on 10.13.<br /> Bad thing is that crash is not in Spokes3G thread, whether our app could catch crash from, but in child USB thread.

mattyv123
I stumbled upon this thread as I am having the exact same issue on my mac, only with the latest version of the Plantronics Hub software installed on macOS 10.13.1.<br /> <br /> I&#39;ve been having this crash since I started using the macOS 10.13 beta, but Plantronics support wouldn&#39;t help because it wasn&#39;t GA yet. &nbsp;Now that it is released, the problem still exists.&nbsp;<br /> <br /> The app opens and immediately closes without showing any menu bar icons or etc. &nbsp;A crash report is generated, much like the one above.&nbsp;<br /> <br /> I am running a&nbsp;MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports), on 10.13.1.<br /> <br /> Please let me know how I can help troubleshoot this problem.&nbsp;

vikkolesnyk
<span class="username">mattyv123,<br /> In my case Plantronics Support provided me with beta version of Spokes3G SDK with fix included and this resolved issue.<br /> I&#39;m waiting for official release though.</span><br /> &nbsp;

lcollins
Hi,<br /> The next Plantronics Hub release 3.10.2 planned for week of December 11th will contain the fix for this issue.<br /> Thanks,<br /> Lewis.

EdgeSystems
What&#39;s the status? We need the update ASAP.

lcollins
Hi,<br /> The fix with the release was due this week of Dec 11 and this still may happen, otherwise it may be Mon 18th Dec.<br /> Thanks,<br /> Lewis.

EdgeSystems
Thanks! :)

EdgeSystems
Btw, what has the hub to do with that the SDK crashes?<br /> Can you update the SDK page as well: ( http://developer.plantronics.com/softphone-integration-sdks )

lcollins
Hi,<br /> It&#39;s the same root cause - the SDK and Hub share the same software stack. As soon as the 3.10.2 is available the SDK page will also be updated...

EdgeSystems
Fyi: Hub version 3.10.2 is available and the new&nbsp; sdk is bundled through it but the sdk download page isn&#39;t updated.

lcollins
Thanks for the heads up<br /> SDK page now up to date&nbsp;<a href="/softphone-integration-sdks">http://developer.plantronics.com/softphone-integration-sdks</a><br /> To match corresponding Hub builds for Windows and Mac.

Add new comment