Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

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

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Nov 4, 2011, 8:48 AM

Post #1 of 6 (110 views)
Permalink
Ticket #10149: MythTV frontend segfaults when opening Audio setup, and Pulseaudio set as audio device when Pulseaudio is not available

#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
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Nov 4, 2011, 8:48 AM

Post #2 of 6 (101 views)
Permalink
Re: Ticket #10149: MythTV frontend segfaults when opening Audio setup, and Pulseaudio set as audio device when Pulseaudio is not available [In reply to]

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

Comment (by ville.aakko@…):

Not sure why this trac but the extra ? -marks in the above text...

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10149#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Nov 4, 2011, 11:25 AM

Post #3 of 6 (99 views)
Permalink
Re: Ticket #10149: MythTV frontend segfaults when opening Audio setup, and Pulseaudio set as audio device when Pulseaudio is not available [In reply to]

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

Comment (by wagnerrp):

My bet is that your current binaries are still dependent on the now-
removed pulseaudio libraries. In any case, your copy is over three months
old. Update to a recent changeset and see if the problems persist.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10149#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Nov 4, 2011, 7:15 PM

Post #4 of 6 (93 views)
Permalink
Re: Ticket #10149: MythTV frontend segfaults when opening Audio setup, and Pulseaudio set as audio device when Pulseaudio is not available [In reply to]

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

Comment (by thrash.dude@…):

Happened to me as well. This is the use case I used -
Previously ran MythTV on Slackware (no pulse audio), installed Arch and
set up MythTV (has pulse audio) on the same host.

Backend remembers audio settings, running MythTV on Slackware segfaults
because of the stored setting of pulse audio. Considering Slackware does
not include Pulse audio, MythTV built on Slackware without pulse audio,
MythTV segfaults same as OP.

How to fix --
Run mythfrontend with --override-setting to set audio to Alsa, then you
can enter the settings screen and change the audio preference.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10149#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Nov 4, 2011, 8:19 PM

Post #5 of 6 (92 views)
Permalink
Re: Ticket #10149: Frontend audio setup configured for PulseAudio device segfaults when Pulse is not installed (was: MythTV frontend segfaults when opening Audio setup, and Pulseaudio set as audio device when Pulseaudio is not available) [In reply to]

#10149: Frontend audio setup configured for PulseAudio device segfaults when Pulse
is not installed
-------------------------------------------------+-------------------------
Reporter: ville.aakko@… | Owner:
Type: Bug Report - Crash | jyavenard
Priority: minor | Status:
Component: MythTV - Audio Output | assigned
Severity: low | Milestone: unknown
Keywords: mythfrontend pulseaudio | Version: Trunk
segmentation fault crash workaround | Head
| Resolution:
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by wagnerrp):

* status: new => assigned
* component: MythTV - General => MythTV - Audio Output
* version: Unspecified => Trunk Head
* owner: => jyavenard
* type: Bug Report - General => Bug Report - Crash


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10149#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Feb 5, 2012, 5:31 PM

Post #6 of 6 (62 views)
Permalink
Re: Ticket #10149: Frontend audio setup configured for PulseAudio device segfaults when Pulse is not installed [In reply to]

#10149: Frontend audio setup configured for PulseAudio device segfaults when Pulse
is not installed
-------------------------------------------------+-------------------------
Reporter: ville.aakko@… | Owner:
Type: Bug Report - Crash | jyavenard
Priority: minor | Status: closed
Component: MythTV - Audio Output | Milestone: unknown
Severity: low | Version: Master
Keywords: mythfrontend pulseaudio | Head
segmentation fault crash workaround | Resolution: Invalid
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by jyavenard):

* status: assigned => closed
* resolution: => Invalid


Comment:

You should get:
PulseAudio:default is invalid or not useable.

I can't reproduce this problem.

Steps to reproduce it:
1-Run mythfrontend with -O AudioOutputDevice=PulseAudio:default

2-Install Pulse and start Pulse server, start myth, configure it to use
PulseAudio:default server. Play content. Quit mythfrontend, kill
pulseaudio server, uninstall pulseaudio server. Start mythfrontend , you
get the message: PulseAudio:default is invalid or not useable.


You can't remove the pulse libraries if you have compiled mythtv with
pulse support, it should be a dependency and removing pulse library should
also remove all packages depending on pulse libraries. Additionally,
mythfrontend compiled with pulse support, so linked to pulse libraries,
wouldn't even start due to missing dynamic libraries.

On my ubuntu platform, trying to remove the pulse libraries would pretty
much remove every packages installed on my machine

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10149#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.