[mythtv-commits] Ticket #8239: upconvert audio to 5.1 crashes mythfrontend

MythTV mythtv at cvs.mythtv.org
Mon Mar 29 00:53:20 UTC 2010

#8239: upconvert audio to 5.1 crashes mythfrontend
 Reporter:  daniel.armbrust.list@…          |       Owner:  jyavenard
     Type:  defect                          |      Status:  new      
 Priority:  major                           |   Milestone:  unknown  
Component:  MythTV - Audio Output           |     Version:  head     
 Severity:  medium                          |     Mlocked:  0        
Changes (by mdean):

  * status:  infoneeded_new => new


 From a quick glance at the backtrace, it looks like
 AudioOutputBase::SetAudiotime() calls
 AudioOutputALSA::GetBufferedOnSoundcard(), which checks to make sure
 pcm_handle != NULL, but it seems like some other thread changes pcm_handle
 to NULL before the call to snd_pcm_delay(pcm_handle, &delay); (line 402),
 where the crash occurs.  In [22432], AudioOutputALSA::GetSupportedRates()
 was added and has 2 sections where pcm_handle is set to NULL if there's a
 failure (re?)opening the device (which may be happening when it tries to
 open the device at 192kHz?).  Perhaps it needs some locking?

Ticket URL: <http://svn.mythtv.org/trac/ticket/8239#comment:7>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list