• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Crash on quit - AudioOutputUnit app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash on quit - AudioOutputUnit app


  • Subject: Crash on quit - AudioOutputUnit app
  • From: Rolf Nilsson <email@hidden>
  • Date: Fri, 6 Jun 2003 17:58:39 +0200

Hello,

I'm using the AudioOutputUnit - DefaultAudioOutput and it works great
on my system OS X 10.2.6, single processor computer and have not had
any crashes so far myself.


But I just got the crash log below from a beta tester with a dual
processor system and would like help to understand what it means (it
crashed when the user closed down the application).


To my understanding it crashed (Thread 0) when de-alocating some static
objects after main() has finished?


Thread 2 has the following line
_ZN10HALRunLoop9OwnThreadEPv

HALRunLoop - does this mean that the AudioOutPutUnit is still running
even though I called

AudioOutputUnitStop(m_outputAudioUnit);
and
CloseComponent(m_outputAudioUnit);

btw, is AudioOutputUnitStop() synchronous (I guess it is)?
i.e. when AudioOutputUnitStop() returns, the render callback will never
be called again?


Thread 3 is my render thread that is for sure destroyed before main
exits. Does this mean that it crashed inside the main program thread
anyway?


Help/explanation appreciated
Rolf Nilson


**********

Date/Time: 2003-06-06 00:11:04 -0700
OS Version: 10.2.6 (Build 6L60)
Host: james-computer.local.

Command: Amazing X Mach-O
PID: 894

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x0236458e

Thread 0 Crashed:
#0 0x900042c0 in free_list_remove_ptr
#1 0x90003f40 in szone_free
#2 0x027de910 in _ZdlPv
#3 0x027dc1dc in
_ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
#4 0x02822d98 in _Z41__static_initialization_and_destruction_0ii
#5 0x8fe16a38 in _dyld_mod_term_funcs
#6 0x00052394 in __atexit_forward
#7 0x000523e0 in __destroy_global_chain
#8 0x000442f8 in exit
#9 0x000043c0 in start
#10 0x0000423c in start

Thread 1:
#0 0x90042668 in semaphore_timedwait_signal_trap
#1 0x9003e894 in _pthread_cond_wait
#2 0x90232770 in TSWaitOnSemaphoreCommon
#3 0x9023b550 in TimerThread
#4 0x90020d28 in _pthread_body

Thread 2:
#0 0x90073c28 in mach_msg_trap
#1 0x90005f70 in mach_msg
#2 0x901489f0 in __CFRunLoopRun
#3 0x90180f58 in CFRunLoopRunSpecific
#4 0x94d9c1c0 in _ZN10HALRunLoop9OwnThreadEPv
#5 0x94d911b0 in _ZN9CAPThread5EntryEPS_
#6 0x90020d28 in _pthread_body

Thread 3:
#0 0x90034828 in semaphore_wait_trap
#1 0x00042800 in _ZN11CMyPThreads7myEntryEPv
#2 0x90020d28 in _pthread_body

PPC Thread State:
srr0: 0x900042c0 srr1: 0x0200f030 vrsave: 0x00000000
xer: 0x00000000 lr: 0x90004270 ctr: 0x90000f80 mq: 0x00000000
r0: 0x0057352c r1: 0xbffffa80 r2: 0x02822c30 r3: 0x00000000
r4: 0x00000000 r5: 0x00000001 r6: 0x80808080 r7: 0x00000002
r8: 0x6f720000 r9: 0x02364590 r10: 0x001e9290 r11: 0xa00047b0
r12: 0x90000f80 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0xa0003db0 r23: 0x00001010
r24: 0x00000101 r25: 0x001e9010 r26: 0x00007eae r27: 0x0000007f
r28: 0x022e5ab0 r29: 0xff84ff84 r30: 0x00570057 r31: 0x9000420c
_______________________________________________
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.

  • Follow-Ups:
    • Re: Crash on quit - AudioOutputUnit app
      • From: Philippe Wicker <email@hidden>
  • Prev by Date: Converter Audio Units and Channel map.
  • Next by Date: Re: MIDISend problems
  • Previous by thread: Converter Audio Units and Channel map.
  • Next by thread: Re: Crash on quit - AudioOutputUnit app
  • Index(es):
    • Date
    • Thread