• 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
Re: Crash in MusicPlayerStart - OS X bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in MusicPlayerStart - OS X bug?


  • Subject: Re: Crash in MusicPlayerStart - OS X bug?
  • From: Simone Tellini <email@hidden>
  • Date: Tue, 9 Jan 2007 22:33:12 +0100


Il giorno 09/gen/07, alle ore 21:49, Daniel Jalkut ha scritto:

So that's the good news :) The bad news is obviously you're seeing a crash.

actually, the bad news is that I can't see a crash on any of my macs (MBP/Mini G4), while a single user does ;-)


By the way, my MusicSequence is full of events inserted with MusicTrackNewUserEvent(), which I used to track the playing position and update the UI accordingly (to do it, the callback invokes performSelectorOnMainThread, to avoid problems).

But I would bet it's somehow related to your own code. If you haven't run with the usual memory debugging tricks like MallocScribble and guardmalloc, now might be a good time.

Things get a lot more interesting when I turn on Guard Malloc: now I can see a crash as well, totally different from the one reported by the user, but still it leads me to point the finger at CoreAudio. In fact, the crash origins in the depths of a thread which is entirely in system code:


Program received signal:  "EXC_BAD_INSTRUCTION".
(gdb) bt
#0  0x7006d06f in AUMultibandCompressorEntry ()
#1  0x700731e8 in AUMultibandCompressorEntry ()
#2  0x700230d8 in DLSMusicDeviceEntry ()
#3  0x70020a1d in DLSMusicDeviceEntry ()
#4  0x7000a7a6 in DefaultOutputAUEntry ()
#5  0x700424a7 in SystemOutputAUEntry ()
#6  0x7000902c in DefaultOutputAUEntry ()
#7  0x70039576 in AULopassEntry ()
#8  0x7000a7a6 in DefaultOutputAUEntry ()
#9  0x700424a7 in SystemOutputAUEntry ()
#10 0x7000902c in DefaultOutputAUEntry ()
#11 0x700d13bf in AUNetSendEntry ()
#12 0x700d07df in AUNetSendEntry ()
#13 0x93d5a8e9 in AudioConverterChain::CallInputProc ()
#14 0x93d5a586 in AudioConverterChain::FillBufferFromInputProc ()
#15 0x93d59d86 in BufferedAudioConverter::GetInputBytes ()
#16 0x93da7572 in BlockCopyConverter::RenderOutput ()
#17 0x93d5997b in BufferedAudioConverter::FillBuffer ()
#18 0x93d59b09 in AudioConverterChain::RenderOutput ()
#19 0x93d5997b in BufferedAudioConverter::FillBuffer ()
#20 0x93d59808 in AudioConverterFillComplexBuffer ()
#21 0x70008b23 in DefaultOutputAUEntry ()
#22 0x7000a7a6 in DefaultOutputAUEntry ()
#23 0x70007ddb in DefaultOutputAUEntry ()
#24 0x91473912 in HP_IOProc::Call ()
#25 0x91472e4e in IOA_Device::CallIOProcs ()
#26 0x91472bd9 in HP_IOThread::PerformIO ()
#27 0x91471001 in HP_IOThread::WorkLoop ()
#28 0x91470c43 in HP_IOThread::ThreadEntry ()
#29 0x91465239 in CAPThread::Entry ()
#30 0x90023d87 in _pthread_body ()

Without Malloc Guard it works flawlessly here, of course.

--
Simone Tellini
http://tellini.info



_______________________________________________
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


  • Follow-Ups:
    • Re: Crash in MusicPlayerStart - OS X bug?
      • From: Stephen Davis <email@hidden>
References: 
 >Crash in MusicPlayerStart - OS X bug? (From: Simone Tellini <email@hidden>)
 >Re: Crash in MusicPlayerStart - OS X bug? (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: Jack and CoreAudio (was Mirroring Audio Output)
  • Next by Date: Re: Converting to LPCM 32bit
  • Previous by thread: Re: Crash in MusicPlayerStart - OS X bug?
  • Next by thread: Re: Crash in MusicPlayerStart - OS X bug?
  • Index(es):
    • Date
    • Thread