macOS Sierra - Kernel Panic - Steinberg USB

Hey there,

macOS Sierra Beta 2 has a kernel panic when using the jp.co.yamaha.driver.YamahaSteinbergUSBAudio driver.
This happens to me every time when switching of my THR10.

Here’s the log:

1 mach_kernel 0xffffff800ccfb47c panic + 0xec (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/osfmk/kern/debug.c:441)
2 mach_kernel 0xffffff800cd451bb zfree + 0x10b (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/osfmk/kern/zalloc.c:2668)
3 mach_kernel 0xffffff800d286616 IOFree + 0x16 (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/iokit/Kernel/IOLib.cpp:319)

4 jp.co.yamaha.driver.YamahaSteinbergUSBAudio 0xffffff7f90195cb4
5 jp.co.yamaha.driver.YamahaSteinbergUSBAudio 0xffffff7f90197cb3
6 jp.co.yamaha.driver.YamahaSteinbergUSBAudio 0xffffff7f9018e47a
7 jp.co.yamaha.driver.YamahaSteinbergUSBAudio 0xffffff7f90190a20
8 jp.co.yamaha.driver.YamahaSteinbergUSBAudio 0xffffff7f90191876
9 com.apple.iokit.IOAudioFamily 0xffffff7f8d4f028e IOAudioEngine::start(IOService*, IOAudioDevice*) + 0xe6 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOAudioFamily/IOAudioFamily-205.9/IOAudioEngine.cpp:579)
10 com.apple.iokit.IOAudioFamily 0xffffff7f8d4eedd8 IOAudioDevice::activateAudioEngine(IOAudioEngine*, bool) + 0x5e (/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOAudioFamily/IOAudioFamily-205.9/IOAudioDevice.cpp:1031)
11 jp.co.yamaha.driver.YamahaSteinbergUSBAudio 0xffffff7f9018cd9c
12 jp.co.yamaha.driver.YamahaSteinbergUSBAudio 0xffffff7f9018c4f8
13 com.apple.iokit.IOAudioFamily 0xffffff7f8d4edf4c IOAudioDevice::start(IOService*) + 0xe6 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOAudioFamily/IOAudioFamily-205.9/IOAudioDevice.cpp:476)
14 jp.co.yamaha.driver.YamahaSteinbergUSBAudio 0xffffff7f9018b6a0
15 mach_kernel 0xffffff800d29b3ed IOService::startCandidate(IOService*) + 0x6d (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/iokit/Kernel/IOService.cpp:3372)
16 mach_kernel 0xffffff800d29b13e IOService::probeCandidates(OSOrderedSet*) + 0x98e (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/iokit/Kernel/IOService.cpp:3291)
17 mach_kernel 0xffffff800d29a6f6 IOService::doServiceMatch(unsigned int) + 0x236 (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/iokit/Kernel/IOService.cpp:3592)
18 mach_kernel 0xffffff800d29a351 IOService::startMatching(unsigned int) + 0x161 (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/iokit/Kernel/IOService.cpp:830)
19 mach_kernel 0xffffff800d2932a6 IOService::registerService(unsigned int) + 0x1d6 (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/iokit/Kernel/IOService.cpp:770)
20 com.apple.iokit.IOUSBFamily 0xffffff7f8d61745f AppleUSBDevice::registerService(unsigned int) + 0xd9 (/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.Internal.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders/libkern/c++/OSMetaClass.h:369)
21 com.apple.iokit.IOUSBFamily 0xffffff7f8d63b227 AppleUSBLegacyRoot::usbServiceCall(AppleUSBHostController*, IOService*, unsigned int) + 0x7a7 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOUSBFamily_kexts/IOUSBFamily-883.0.0.0.1/AppleUSBLegacy/AppleUSBLegacyRoot.cpp:212)
22 com.apple.iokit.IOUSBFamily 0xffffff7f8d63a73b AppleUSBLegacyRoot::usbServiceCallback(AppleUSBHostController*, OSArray*, unsigned int) + 0x44d (/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOUSBFamily_kexts/IOUSBFamily-883.0.0.0.1/AppleUSBLegacy/AppleUSBLegacyRoot.cpp:168)
23 com.apple.iokit.IOUSBHostFamily 0xffffff7f8d57e036 AppleUSBHostResources::registerUSBHostServiceThreadCall(void*, void*) + 0x1e (/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOUSBHostFamily/IOUSBHostFamily-288.1.20/IOUSBHostFamily/AppleUSBHostResources.cpp:369)
24 mach_kernel 0xffffff800cd327ba thread_call_thread + 0x33a (/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3757.0.0.0.1/osfmk/kern/thread_call.c:1263)
25 mach_kernel 0xffffff800ccaaaf7 call_continuation + 0x17

An IOFree is using a size parameter that does not match the allocation size. This is an issue in the jp.co.yamaha.driver.YamahaSteinbergUSBAudio driver.

Does somebody else have the experience? Is there any fix?

Cheers,
Jens

Same thing is happening to me. Every time I switch off my THR10 it crashes my mac running sierra.

Me too, so can’t try updating firmware as the THR10 needs to be switched off to put into update mode, which of course causes the iMac to crash