Mythfrontend and Xorg crash/restart back to login screen when starting playback/LiveTV

Bug #660833 reported by michaelobst
86
This bug affects 18 people
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: mythtv

This bug began after updating to 10.10, a workaround if to change the viewing settings from CPU-- to anything that does not invoke XvMC.

When changing to certain channels myth crashes with no error given and I was just logged out completely. Uninstalling proprietary nvidia drivers also stopped the problem but it returns upon reinstallation of the drivers.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: mythtv-frontend 0.23.1+fixes26437-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
AssertionMessage: *** glibc detected *** /usr/bin/mythfrontend.real: corrupted double-linked list: 0x098173a0 ***
Date: Fri Oct 15 09:05:12 2010
ExecutablePath: /usr/bin/mythfrontend.real
Installed_mythplugins-dbg: 0.0
Installed_mythtv-dbg: 0.0
ProcCmdline: /usr/bin/mythfrontend.real
ProcCwd: /home/michael
ProcEnviron:
 LANG=en_AU.utf8
 SHELL=/bin/bash
Signal: 6
SourcePackage: mythtv
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/libc.so.6
 abort () from /lib/libc.so.6
 ?? () from /lib/libc.so.6
 ?? () from /lib/libc.so.6
Title: mythfrontend.real assert failure: *** glibc detected *** /usr/bin/mythfrontend.real: corrupted double-linked list: 0x098173a0 ***
UserGroups: adm admin cdrom dialout lpadmin mythtv plugdev sambashare vboxusers

Revision history for this message
michaelobst (m-obst) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :

Howdy, and thank you for helping to improve MythTV and Ubuntu, not only for opening this ticket, but figuring out some work-arounds. As a result, I'm marking this ticket as confirmed.

Changed in mythtv (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Michael Martin-Smucker (mmartinsmucker) wrote :

I can confirm here, and I'm using Radeon graphics with the default open source drivers, so no workaround here.

Symptoms are the same -- when tuning any of several HD channels, my entire login session is ended.

Revision history for this message
Michael Martin-Smucker (mmartinsmucker) wrote :

Sorry, my last post probably wasn't terribly helpful. Here are some more details (and I'll gladly provide more as needed):

Ubuntu: 10.10
Platform: AMD64
Linux kernel: 2.6.35-22-generic
Graphics card: AMD Radeon x1300
Graphics driver: xserver-xorg-video-radeon 1:6.13.1-1ubuntu5
TV Tuner: SiliconDust HDHomeRun (single tuner)

MythTV info:
MythTV Version : 26437
MythTV Branch : branches/release-0-23-fixes
Network Protocol : 23056
Library API : 0.23.1.201000710-1
QT Version : 4.7.0
Options compiled in:
 linux debug using_oss using_alsa using_pulse using_jack using_pulseoutput using_backend using_dvb using_firewire using_frontend using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libudev using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg

Revision history for this message
MarcRandolph (mrand) wrote :

Michael Martin-Smucker, have you tried changing profile at all? It may be more related to XvMC usage rather than Nvidia usage.

MarcRandolph (mrand)
summary: - mythtv crashes on some HD channels, crashes causes user to be logged out
+ Mythfrontend and Xorg crash/restart back to login screen when starting
+ playback/LiveTV
Revision history for this message
Coaster (coaster-backtrail) wrote :

I seem to be having this same problem. I performed a fresh install of 10.10 and MythTV has been working fine. I just got a HD HomeRun and added it to the system. After that going to Watch Live TV would crash Myth Frontend and log me out of my session as described above.

I simply removed the HD HomeRun from my setup since I was out of time for the evening and things went back to working. I'll try switching playback profiles tomorrow.

Revision history for this message
NightStorm (bam-nightstorm) wrote :

I'm getting the same issue. System has an Asus MB with an NVidia GForce 8300 built into the mb. Started when I did a dist-upgrade from 10.04 to 10.10 32 bit. Also tried 32 bit fresh install, then a 64 bit fresh install. Same issue every time.

Revision history for this message
MarcRandolph (mrand) wrote : Re: [Mythbuntu-bugs] [Bug 660833] Re: Mythfrontend and Xorg crash/restart back to login screen when starting playback/LiveTV

It would be most helpful if those that have not already reported the
results of the following could please do so:

1. trying to adjust the profiles so that you aren't using XvMC
2. disabling whatever video driver you are using

Revision history for this message
Michael Martin-Smucker (mmartinsmucker) wrote :

Woops, thought I followed up here, sorry. The first time I was here, I skimmed over the "don't use XvMC" part of the original report, but yes, I've done that workaround now, and the crashing has stopped.

Revision history for this message
spamoften (spamoften-deactivatedaccount) wrote :

Ditto.

Ubuntu 10.10
Symptom: Start playback of some videos will crash back to Gnome login screen
Workaround: As listed, switch to another profile that does not specify XvMC

[ 0.000000] Linux version 2.6.35-22-generic (buildd@vernadsky) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) )
#35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 (Ubuntu 2.6.35-22.35-generic 2.6.35.4)

00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:11.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller
00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS480 [Radeon Xpress 200G Series]
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:04.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 80)

Revision history for this message
David E (david-empireofgames) wrote :

Same issue here, although I'm no longer certain the problem is with mythtv itself. I've had this crash occur at least once while looking through the system settings from the desktop without mythfrontend running, once while in the mythfrontend settings, as well as several times during playback. It is only when the crash occurs during playback that I see a general protection fault against the mythfrontend,

I cannot reproduce this issue reliably, however in general it appears to happen about once every 60-90 minutes after a clean start, although it will repeat more often than that if I log back in but do not restart after the first crash.

In the case where the crash (back to the login screen) occurred while in the mythfrontend settings, syslog included "Nov 14 14:08:17 myth-tv init: mythtv-backend main process (1829) killed by TERM signal"

In the case where it crashes during playback, dmesg includes:
"[14753.621610] mythfrontend.re[11752] general protection ip:7f658c163445 sp:7f656cad5020 error:0 in libc-2.12.1.so[7f658c12a000+17a000]"
and mythfrontend.log includes:
∘ <unknown>: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
∘ <unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

I've tried disabling XvMC by removing /etc/X11/XvMCConfig to no effect.
I've tried switching to the "nv" driver, however X then fails to start at a resolution supported by my TV (46" LCD), so this doesn't appear to be a usable workaround for me.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythtv - 1:0.24.0+fixes27305-0ubuntu1

---------------
mythtv (1:0.24.0+fixes27305-0ubuntu1) natty; urgency=low

  [ Mario Limonciello ]
  * New 0.24 checkout (27305)
  * Modify the upstart script to load the LANG first. (LP: #541042)
  * Modify configure_mythplugins_without_mythtv_installed.patch to remove
    SYSROOT from the mytharchive build process for it's additional support
    files. (LP: #674626)
  * Remove unused package, mythmovies from build process.
  * Clean up the dependencies of a few packages, and harden them to the binary
    version.
  * Disable XvMC as it's causing crashes. VDPAU is better off in these
    situations anyhow (LP: #660833)
  * Remove sparc support.
  * Make sure mysql is pingable before starting the backend (LP: #609402)
  * Fixup some linitians:
    - Extra license files
    - Longer extended descriptions
    - Duplicated synopsis
    - Init.d script
  * Add a new debian/rules rule called 'update-upstream-changelog'.
    This finds all of the most recent svn commit messages and
    creates changelog entries.
  * Add a debian/README.Debian for explaining how to work with the package.
  * In the update-upstream-changelog rule, search for the word mythbuntu
    in the version string. If found, find the latest version on the PPA
    to compare against.
  * Get rid of the newest-revision rule in favor of one that will actually
    update the changelog/checkout to the new version.
  * Add a new helper script debian/do-new-release.sh that will run all of
    these common tasks in preparation for an upload to ubuntu.

  [ Thomas Mashos ]
  * Set backend to not respawn if it dies 2 times in 1 hour (LP: #654846)
  * Move metadata scripts and internetcontent to mythtv-common
  * Fixed Replaces for mythtv-common
  * Added python and perl bindings as recommends for BE/FE
  * Fixes replaces in control.in for mythtv-common (LP: #676791)
  * Added bindings as recommends to FR and BE in control.in
  * Added Breaks mythtv-backend to mythtv-common (LP: #677206)
  * Added conflicts/replaces for mythplugins-dbg to mythtv-dbg
  * Added script to find latest mythtv svn revision in PPA
 -- Mario Limonciello <email address hidden> Sat, 20 Nov 2010 13:19:58 -0600

Changed in mythtv (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Michael Cook (michaelcook-mjc) wrote :

Anyone tried this fix in a standard Meerkat U10.10 context and if so, how?

Revision history for this message
Sam Hiatt (shiatt) wrote :

I just experienced this issue with a fresh install of Mythbuntu 10.10. Looks like that included 1:0.23.0+fixes23872, apparently missing this bug fix.

I just included ppa:mythbuntu/0.24 in sources and updated Mythtv to 0.24. It worked!

I'm now enjoying awesome PBS programming (yay KQED!) in crystal clear HD!

Thanks Myth devs. I'm gonna love my new myth box.

Revision history for this message
Gepardi (savis21) wrote :

Hi,

I would like to have possibility to restart xorg and mythfrontend controlled way for my combined frontend-backend machine. I have problem with LG TV and HDMI connection: When TV is in standby and mythtv box starts (start time in BIOS), xorg cannot be started because LG TV as monitor cannot be detected.

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/808622

As a workaround: How can I restart only xorg and mythfrontend in my mythbox controlled way? I have tried via SSH-connection "sudo start gdm" but gnome login screen appears and I cannot get access to my box after that with my username and password anymore :-(

I am using Mythbuntu 10.04 + enabled mythbuntu repos and mythtv 0.24.1 updated.

Revision history for this message
Michael Martin-Smucker (mmartinsmucker) wrote :

Hi gepardi,
You'll probably have better luck asking this question on a site like askubuntu.com. this bug report is closed, so there isn't much activity here anymore.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.