MIDIServer crashes when my USB device renumerates
MIDIServer crashes when my USB device renumerates
- Subject: MIDIServer crashes when my USB device renumerates
- From: Cameron Jones <email@hidden>
- Date: Tue, 19 Mar 2002 16:33:42 -0500
I'm developing a MIDI driver for a vendor-specific USB MIDI Device.
If MIDIServer is running when I plug in my USB device, MIDIServer crashes as
shown below.
Hint: My USB device is based around the Anchor EZ-USB chip which is reloaded
and renumerated on the fly. That is, the USB device comes-and-goes rather
quickly.
The crash doesn't appear if I don't do the renumeration (e.g. I leave a
more-or-less useless unprogrammed Anchor chip online instead of downloading
it and renumerating the bus).
Is there a bug in MIDIServer associated with USB devices coming and going
too quickly? Any other ideas?
Thanks in advance for any light you are able to shed.
Cameron Jones
Salem Technology Associates
------------------------------------
Date/Time: 2002-03-19 16:08:15 -0500
OS Version: 10.1.3 (Build 5Q45)
Host: localhost
Command: MIDIServer
PID: 1104
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
#0 0x00149174 in USBInterface::USBInterface(USBDevice *, unsigned int)
#1 0x001497d4 in USBInterfaceManager::ServicePublished(unsigned int)
#2 0x00147d9c in IOServiceClient::ServicesPublished(unsigned int)
#3 0x704949b4 in IODispatchCalloutFromCFMessage
#4 0x7018f508 in __CFMachPortPerform
#5 0x7018f3b0 in __CFRunLoopDoSource1
#6 0x7017c1e0 in __CFRunLoopRun
#7 0x701b7100 in CFRunLoopRunSpecific
#8 0x7017b88c in CFRunLoopRun
#9 0x715df2bc in MIDIServerRun
#10 0x00002d60 in 0x2d60
#11 0x00002c98 in 0x2c98
#12 0x00002ac8 in 0x2ac8
Thread 1:
#0 0x7003f4c8 in semaphore_wait_signal_trap
#1 0x7003f2c8 in _pthread_cond_wait
#2 0x715db494 in XMutex::Wait(void)
#3 0x715d98d8 in Task::Run(void)
#4 0x715d1b7c in Scheduler::Run(void)
#5 0x715da3a4 in XThread::RunHelper(void *)
#6 0x7002054c in _pthread_body
Thread 2:
#0 0x70006468 in clock_sleep_trap
#1 0x70006160 in nanosleep
#2 0x700060bc in sleep
#3 0x715d6720 in DriverIOThread::Run(void)
#4 0x715da3a4 in XThread::RunHelper(void *)
#5 0x7002054c in _pthread_body
Thread 3:
#0 0x70000978 in mach_msg_overwrite_trap
#1 0x70005a04 in mach_msg
#2 0x7017bf98 in __CFRunLoopRun
#3 0x701b7100 in CFRunLoopRunSpecific
#4 0x7017b8e0 in CFRunLoopRunInMode
#5 0x715e1f34 in MIDIIOThread::Run(void)
#6 0x715da3a4 in XThread::RunHelper(void *)
#7 0x7002054c in _pthread_body
PPC Thread State:
srr0: 0x00149174 srr1: 0x0000d030 vrsave: 0x00000000
xer: 0x00000014 lr: 0x00149168 ctr: 0x700056fc mq: 0x00000000
r0: 0x00149168 r1: 0xbffff620 r2: 0x00062eec r3: 0x00000000
r4: 0x00000000 r5: 0x0000060e r6: 0x00000001 r7: 0x00001680
r8: 0x80162e38 r9: 0x80162750 r10: 0x000451a0 r11: 0x80003710
r12: 0x700056fc r13: 0x87859393 r14: 0xc24bc195 r15: 0x00000000
r16: 0x00000000 r17: 0x00000001 r18: 0x00000000 r19: 0x00003a03
r20: 0xbffff8a8 r21: 0x00000000 r22: 0x00000000 r23: 0x0376fced
r24: 0xbffffcfc r25: 0x00062d80 r26: 0xbffff8a8 r27: 0x00060df0
r28: 0x00000000 r29: 0x00000000 r30: 0x00062d80 r31: 0x7018f434
**********
--
Cameron W. Jones
** Please help reduce Internet Junk Email **
** by keeping this email address confidential **
** Thank You! **
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.