Re: MIDI driver hibernation problem
Re: MIDI driver hibernation problem
- Subject: Re: MIDI driver hibernation problem
- From: Jeremy Sagan <email@hidden>
- Date: Tue, 25 Mar 2008 22:33:13 -0400
I don't know if this is related but it sure seems like it might be.
Ever since upgrading to Leopard, the MIDI server will crash whenever
my Imac goes to sleep. The culprit looks like the MOTU MIDI driver in
this case. I have tons of these crash logs in the console.
I filed a radar: 5672088 on Jan 5th of this year and I have also
tried to contact MOTU.
Jeremy Sagan
www.sagantech.biz
-------------------------------
Process: MIDIServer [904]
Path: /System/Library/Frameworks/CoreMIDIServer.framework/
MIDIServer
Identifier: MIDIServer
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [85]
Date/Time: 2008-01-06 00:57:06.205 -0500
OS Version: Mac OS X 10.5.1 (9B18)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0000017
Crashed Thread: 0
Thread 0 Crashed:
0 com.motu.driver.USBMidi 0x00304580
MIDIInputPipe::DisableSource() + 40
1 com.motu.driver.USBMidi 0x003049b1
MotuMIDIDriver::EnableSource(OpaqueMIDIEndpoint*, unsigned char) + 125
2 com.motu.driver.USBMidi 0x0030290c MIDIDriverEnableSource
(MIDIDriverInterface**, OpaqueMIDIEndpoint*, unsigned char) + 36
3 ...e.audio.midi.CoreMIDIServer 0x0006829b
MIDISource::DisconnectPort(MIDIInputPort*) + 131
4 ...e.audio.midi.CoreMIDIServer 0x00073460
MIDIPortDisconnectSource + 214
5 ...e.audio.midi.CoreMIDIServer 0x00070d8e
MIDIServerMessagePort::ReceiveMessage(long, __CFData const*) + 3962
6 com.apple.CoreFoundation 0x938e6e91 __CFMessagePortPerform
+ 193
7 com.apple.CoreFoundation 0x93908941 CFRunLoopRunSpecific +
3921
8 com.apple.CoreFoundation 0x93908d94 CFRunLoopRun + 84
9 ...e.audio.midi.CoreMIDIServer 0x00076dc9 MIDIServerRun + 975
10 MIDIServer 0x00001fb1 0x1000 + 4017
11 MIDIServer 0x00001f5e 0x1000 + 3934
Thread 1:
0 libSystem.B.dylib 0x90282ace __semwait_signal + 10
1 libSystem.B.dylib 0x902acced pthread_cond_wait
$UNIX2003 + 73
2 ...e.audio.midi.CoreMIDIServer 0x0007cfd7 CAGuard::Wait() + 93
3 ...e.audio.midi.CoreMIDIServer 0x0007dc7c TimerTaskMgr::Run() + 378
4 ...e.audio.midi.CoreMIDIServer 0x0006e57d XThread::RunHelper
(void*) + 17
5 ...e.audio.midi.CoreMIDIServer 0x0007d61c CAPThread::Entry
(CAPThread*) + 96
6 libSystem.B.dylib 0x902ac075 _pthread_start + 321
7 libSystem.B.dylib 0x902abf32 thread_start + 34
Thread 2:
0 libSystem.B.dylib 0x9027b8e6 mach_msg_trap + 10
1 libSystem.B.dylib 0x902830dc mach_msg + 72
2 com.apple.CoreFoundation 0x939080fe CFRunLoopRunSpecific +
1806
3 com.apple.CoreFoundation 0x93908d38 CFRunLoopRunInMode + 88
4 ...e.audio.midi.CoreMIDIServer 0x0006d264 DriverIOThread::Run() + 64
5 ...e.audio.midi.CoreMIDIServer 0x0006e57d XThread::RunHelper
(void*) + 17
6 ...e.audio.midi.CoreMIDIServer 0x0007d61c CAPThread::Entry
(CAPThread*) + 96
7 libSystem.B.dylib 0x902ac075 _pthread_start + 321
8 libSystem.B.dylib 0x902abf32 thread_start + 34
Thread 3:
0 libSystem.B.dylib 0x9027b946
semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x902ad1cf _pthread_cond_wait + 1244
2 libSystem.B.dylib 0x902aea53
pthread_cond_timedwait_relative_np + 47
3 com.motu.driver.USBMidi 0x00309d69
BusFrameCalibrator::RunThread(void*) + 215
4 libSystem.B.dylib 0x902ac075 _pthread_start + 321
5 libSystem.B.dylib 0x902abf32 thread_start + 34
Thread 4:
0 libSystem.B.dylib 0x9027b8e6 mach_msg_trap + 10
1 libSystem.B.dylib 0x902830dc mach_msg + 72
2 ...e.audio.midi.CoreMIDIServer 0x0007c197
XServerMachPort::ReceiveMessage(int&, void*, int&) + 101
3 ...e.audio.midi.CoreMIDIServer 0x0007756b MIDIIOThread::Run() + 109
4 ...e.audio.midi.CoreMIDIServer 0x0006e57d XThread::RunHelper
(void*) + 17
5 ...e.audio.midi.CoreMIDIServer 0x0007d61c CAPThread::Entry
(CAPThread*) + 96
6 libSystem.B.dylib 0x902ac075 _pthread_start + 321
7 libSystem.B.dylib 0x902abf32 thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xc0000003 ebx: 0x00068223 ecx: 0xbffff30c edx: 0x0012ac10
edi: 0xbffff368 esi: 0x00000000 ebp: 0xbffff2e8 esp: 0xbffff2e8
ss: 0x0000001f efl: 0x00010202 eip: 0x00304580 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xc0000017
On Mar 25, 2008, at 9:59 PM, Daniel Mack wrote:
Hi Doug,
On Mar 26, 2008, at 6:14 AM, Doug Wyatt wrote:
Please write a Radar including a backtrace from
MyMIDIDriver::EnableSource(0)
This is the backtrace of the MIDIServer process when machine is put
to sleep:
#0 MyMIDIDriver::EnableSource (this=0x30ced0, src=0x80752c,
enabled=0 '\0') at MyMIDIDriver:592
#1 0x000d6b3c in MIDIDriverEnableSource (self=0x30ced4,
src=0x80752c, enabled=0 '\0') at MIDIDriver.cpp:153
#2 0x0006829b in MIDISource::DisconnectPort ()
#3 0x00073460 in MIDIPortDisconnectSource ()
#4 0x00070d8e in MIDIServerMessagePort::ReceiveMessage ()
#5 0x927c3e21 in __CFMessagePortPerform ()
#6 0x927e5921 in CFRunLoopRunSpecific ()
#7 0x927e5d74 in CFRunLoopRun ()
#8 0x00076dc9 in MIDIServerRun ()
#9 0x00001fb1 in ?? ()
#10 0x00001f5e in ?? ()
Same things happens with /Developer/Examples/CoreAudio/MIDI/
SampleTools/Echo.cpp, btw. So I think it's the MIDIServer's fault
rather than the application's.
This is filed as #5820631 now.
Best regards,
Daniel
_______________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden