QuickTime Broadcaster crashing with out user-land driver
QuickTime Broadcaster crashing with out user-land driver
- Subject: QuickTime Broadcaster crashing with out user-land driver
- From: Stéphane Letz <email@hidden>
- Date: Tue, 30 Oct 2007 15:29:49 +0100
Hi,
Our user-land driver cause the QuickTime Broadcaster to crash at
load time: Here is the crash log:
Thread 0 Crashed:
0 libobjc.A.dylib 0x90a594c7 objc_msgSend + 23
1 ...dio.SoundManager.Components 0x161f9bdb
HALInputComponentDispatch + 343
2 ...ple.CoreServices.CarbonCore 0x90cd0738 CallComponentDispatch + 34
3 ...ple.CoreServices.CarbonCore 0x90cd1cb1 CallComponentClose + 43
4 ...ple.CoreServices.CarbonCore 0x90cd1bd4 CloseComponentInternal
(ComponentInstanceRecord*) + 94
5 ...ple.CoreServices.CarbonCore 0x90cd1b5f CloseComponent + 39
6 com.apple.audio.SoundManager 0x92dcc036 SPBCloseDevice + 49
7 ...ickTimeComponents.component 0x99397f5d _SGSoundClose + 237
8 ...ple.CoreServices.CarbonCore 0x90cd0a53
CallComponentFunctionCommon + 513
9 ...ickTimeComponents.component 0x9939717c
_SGSoundComponentDispatch + 123
10 ...ple.CoreServices.CarbonCore 0x90cd0738 CallComponentDispatch + 34
11 ...ple.CoreServices.CarbonCore 0x90cd1cb1 CallComponentClose + 43
12 ...ple.CoreServices.CarbonCore 0x90cd1bd4 CloseComponentInternal
(ComponentInstanceRecord*) + 94
13 ...ple.CoreServices.CarbonCore 0x90cd1b5f CloseComponent + 39
14 ...ickTimeComponents.component 0x9936a5fa
_SGNewChannelFromComponent + 120
15 ...ple.CoreServices.CarbonCore 0x90cd0a53
CallComponentFunctionCommon + 513
16 ...ickTimeComponents.component 0x99366bd9 _SGComponentDispatch + 123
17 ...ple.CoreServices.CarbonCore 0x90cd0738 CallComponentDispatch + 34
18 ...ickTimeComponents.component 0x999e3a71
SGNewChannelFromComponent + 49
19 ...ickTimeComponents.component 0x993675a6 _SGNewChannel + 124
20 ...ple.CoreServices.CarbonCore 0x90cd0a53
CallComponentFunctionCommon + 513
21 ...ickTimeComponents.component 0x99366bd9 _SGComponentDispatch + 123
22 ...ple.CoreServices.CarbonCore 0x90cd0738 CallComponentDispatch + 34
23 com.apple.QuickTime 0x9450de10 SGNewChannel + 49
24 ...apple.QuickTime Broadcaster 0x00010676 0x1000 + 63094
25 ...apple.QuickTime Broadcaster 0x0000fb60 0x1000 + 60256
26 ...apple.QuickTime Broadcaster 0x00026095 0x1000 + 151701
27 ...apple.QuickTime Broadcaster 0x00023c4b 0x1000 + 142411
28 ...apple.QuickTime Broadcaster 0x0002ca14 0x1000 + 178708
29 ...apple.QuickTime Broadcaster 0x0000337b 0x1000 + 9083
30 com.apple.AppKit 0x933b9eeb -[NSDocument
initWithType:error:] + 34
31 com.apple.AppKit 0x933b983f -[NSDocumentController
makeUntitledDocumentOfType:error:] + 319
32 com.apple.AppKit 0x933b8ece -[NSDocumentController
openUntitledDocumentAndDisplay:error:] + 310
33 com.apple.AppKit 0x9339d5db -[NSDocumentController
(NSInternal) _openUntitled] + 135
34 com.apple.AppKit 0x9339d50f -[NSApplication
_doOpenUntitled] + 317
35 com.apple.AppKit 0x9329584f -[NSApplication
(NSAppleEventHandling) _handleAEOpen:] + 227
36 com.apple.AppKit 0x93295448 -[NSApplication
(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 96
37 com.apple.Foundation 0x927f2e65 -[NSAppleEventManager
dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 447
38 com.apple.Foundation 0x927f2c8f
_NSAppleEventManagerGenericHandler + 91
39 com.apple.AE 0x915236c5 aeDispatchAppleEvent
(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 147
40 com.apple.AE 0x915235f6
dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
41 com.apple.AE 0x915234c2 aeProcessAppleEvent + 190
42 com.apple.HIToolbox 0x92df00e4 AEProcessAppleEvent + 37
43 com.apple.AppKit 0x9329363d _DPSNextEvent + 1044
44 com.apple.AppKit 0x93293056 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
45 com.apple.AppKit 0x9328cddb -[NSApplication run] + 512
46 com.apple.AppKit 0x93280d2f NSApplicationMain + 573
47 ...apple.QuickTime Broadcaster 0x0000f4bd 0x1000 + 58557
48 ...apple.QuickTime Broadcaster 0x00002ce2 0x1000 + 7394
49 ...apple.QuickTime Broadcaster 0x00002bfd 0x1000 + 7165
Thread 1:
0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific +
2014
2 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61
3 com.apple.audio.CoreAudio 0x9146941e HALRunLoop::OwnThread
(void*) + 158
4 com.apple.audio.CoreAudio 0x91469239 CAPThread::Entry
(CAPThread*) + 93
5 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xb1c1d3a1 ebx: 0x9080e020 ecx: 0x90ac0010 edx: 0x1642455b
edi: 0xb1c1d3a9 esi: 0x164261e0 ebp: 0xbfffe838 esp: 0xbfffe804
ss: 0x0000001f efl: 0x00010202 eip: 0x90a594c7 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
Our driver log file show a strange behaviour of QuickTime Broadcaster:
....
....
....
JAR: --------------------------------------------------------
JAR: DeviceAddIOProc called inSelf, proc 3783600 3a3220
JAR: --------------------------------------------------------
....
....
....
JAR: --------------------------------------------------------
JAR: DeviceRemoveIOProc called inSelf, proc 3783600 3a3220
JAR: --------------------------------------------------------
....
....
....
So far so good, but later on:
JAR: --------------------------------------------------------
JAR: DeviceStart called inSelf, proc 3783600 3a3220
JAR: DeviceStart error : null client
JAR: --------------------------------------------------------
The application tries to start an unregistered IOProc !!
And later on:
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput 3783600
260 0 1 0 0
JAR: DeviceGetPropertyInfo 'ssc#' (taht is
kAudioDevicePropertyDataSources)
The applications seems to crash when calling DeviceGetPropertyInfo
for kAudioDevicePropertyDataSources...
Should we consider this as a incorrect call sequence from the
application? and how can the driver we be written to be more robust?
Best Regards
Stephane letz
_______________________________________________
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