Ticket #1191 (closed defect: fixed)

Opened 1 year ago

Last modified 3 weeks ago

Crash in aout_OutputNextBuffer using auhal on Mac OS X

Reported by: pdherbemont Assigned to: pdherbemont
Priority: normal Milestone: 0.9.0-final
Component: Audio output core Version: master
Severity: critical Keywords:
Cc: Platform(s): MacOS
Difficulty: hard Work status: Started

Description

Rare crash on Mac OS X. Apparantly an already freed buffer is used: locking might not be properly done on the fifo list.

Change History

05/12/07 19:09:43 changed by pdherbemont

Excerpt from the backtrace:

Thread 14 Crashed:
0   org.videolan.vlc                   0x0012b7a9 aout_OutputNextBuffer + 293 ( output.c:282)
1   org.videolan.vlc                   0x00143020 RenderCallbackAnalog + 348 (auhal.c:1326)
2   ...pple.audio.units.Components     0x70009889 DefaultOutputAUEntry + 32061 
3   ...pple.audio.units.Components     0x700d31c7 0x70000000 + 864711
4   ...pple.audio.units.Components     0x700d25e7 0x70000000 + 861671
5   ....audio.toolbox.AudioToolbox     0x93d6080d AudioConverterChain::CallInputProc(unsigned long) + 189 
6   ....audio.toolbox.AudioToolbox     0x93d604aa AudioConverterChain::FillBufferFromInputProc(unsigned long*, unsigned long*, CABufferList*) + 84
7   ....audio.toolbox.AudioToolbox     0x93d6044e BufferedInputAudioConverter::CallInputProc(unsigned long) + 198 
8   ....audio.toolbox.AudioToolbox     0x93d601ae BufferedInputAudioConverter::GetAllInputBytes(unsigned long, unsigned long, unsigned long&, CABufferList const*&) + 76
9   ....audio.toolbox.AudioToolbox     0x93d600e1 Resampler2Wrapper::RenderOutput(CABufferList*, unsigned long, unsigned long&) + 775
10  ....audio.toolbox.AudioToolbox     0x93d5f89f BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 211 
11  ....audio.toolbox.AudioToolbox     0x93d5fa2d AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 93
12  ....audio.toolbox.AudioToolbox     0x93d5f89f BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 211
13  ....audio.toolbox.AudioToolbox     0x93d5f72c AudioConverterFillComplexBuffer + 190 
14  ...pple.audio.units.Components     0x70009483 DefaultOutputAUEntry + 31031
15  ...pple.audio.units.Components     0x70009038 DefaultOutputAUEntry + 29932
16  ...pple.audio.units.Components     0x700084fd DefaultOutputAUEntry + 27057
17  com.apple.audio.CoreAudio          0x9146db8e HP_IOProc::Call(AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioTimeStamp const&, AudioBufferList*) + 240 
18  com.apple.audio.CoreAudio          0x9146d1b6 IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&) + 274
19  com.apple.audio.CoreAudio           0x9146cf41 HP_IOThread::PerformIO(AudioTimeStamp const&) + 1221
20  com.apple.audio.CoreAudio          0x9146b493 HP_IOThread::WorkLoop() + 931
21  com.apple.audio.CoreAudio           0x9146b0e9 HP_IOThread::ThreadEntry(HP_IOThread*) + 17
22  com.apple.audio.CoreAudio          0x9145f6f5 CAPThread::Entry(CAPThread*) + 93
23  libSystem.B.dylib                  0x90024987 _pthread_body + 84 

05/12/07 19:17:01 changed by pdherbemont

  • wip changed from Not started to Started.

First fix attempt in [20082].

09/14/07 22:26:03 changed by funman

  • milestone set to 0.9.0 bugs.

12/23/07 23:50:36 changed by fkuehne

Pierre, is this still an issue? Haven't seen it for a while...

08/09/08 23:58:12 changed by pdherbemont

  • status changed from new to assigned.
  • owner set to pdherbemont.
  • milestone changed from 0.9.0 bugs to 0.9.0-final.

This is still an issue :( Just got it.

08/10/08 00:01:15 changed by pdherbemont

  • status changed from assigned to closed.
  • resolution set to fixed.