[mythtv-commits] Ticket #10149: MythTV frontend segfaults when opening Audio setup, and Pulseaudio set as audio device when Pulseaudio is not available

MythTV noreply at mythtv.org
Fri Nov 4 15:48:00 UTC 2011


#10149: MythTV frontend segfaults when opening Audio setup, and Pulseaudio set as
audio device when Pulseaudio is not available
-------------------------------------+-------------------------------------
 Reporter:  ville.aakko@…            |           Type:  Bug Report -
   Status:  new                      |  General
Milestone:  unknown                  |       Priority:  minor
  Version:  Unspecified              |      Component:  MythTV - General
 Keywords:  mythfrontend pulseaudio  |       Severity:  low
  segmentation fault crash           |  Ticket locked:  0
  workaround                         |
-------------------------------------+-------------------------------------
 Hi!

 This is on Gentoo and media-tv/mythtv-0.25_pre20110728 ebuild.

 I recently removed Pulseaudio from my HTPC, since it was causing more harm
 than gain (originally, I installed it to play around with ProjectM).

 Then, I noticed that I have no audio in MythTV anymore. And that it
 segfaults when going to the audio settings, with no sensible error
 message.

 I just guessed that the change from PulseAudio -> no PulseAudio at all was
 the culprit... tried recompiling MythTV, 'mythfrontend --reset'
 downgrading, restoring DB backup, nothing helped.... it took me a while to
 figure out what to do. I needed to 'mythfrontend -O
 AudioOutputDevice=alsa'. (I found the right setup entry by grepping the
 mysql dump :-/ ). Then, I got an error that the output device "alsa" is
 invalid, but was able to go through the audio setup without mythfrontend
 crashing on me.

 Hope this helps someone, if you get into the same situation!

 Also, hope it is not too difficult to find and destroy the bad line of
 code causing this not-so-user friendly crash ;-)

 Cheers!

 Steps to reproduce:

 1) Set audio device to pulseaudio, when no Pulseaudio is available (not
 sure if this is possible, when pulseaudio is not installed, in my case it
 was, but was then removed; maybe with -O
 AudioOutputDevice=Pulseaudio:default).

 2) Start mythfrontend

 3) Go to Settings -> Audio

 Actual results:

 Mythfrontend crashes (segmentation fault) without any chance to change the
 audio device

 Expected results:

 Mythfrontend should not crash, but instead give an error message. Also,
 perhaps 'mythfrontend --reset' should also reset and / or rescan audio
 devices...

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10149>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list