media-tv/mythtv-0.21_p18314-r1 terminates in a segmentation fault. This didn't happen until yesterday after an X11 upgrade (which caused a whole bunch of other problems, so this might well be X11's fault). Before the upgrade the same executable would run just fine. Reproducible: Always Steps to Reproduce: 1. emerge --update world 2. Fix a bunch of X11 problems. 3. Try to run MythTV Actual Results: MythTV has a segmentation fault before displaying the main window. Expected Results: MythTV doesn't crash. I was previously running xorg-server-1.3.0.0-r6 and xf86-video-intel-2.1.1. The upgrade that broke MythTV installed xorg-server-1.5.3-r5 and xf86-video-intel-2.6.3-r1.
Created attachment 188382 [details] gdb backtrace
Please post your `emerge --info', and attach the Xorg.log this problem occurs with.
I get a segfault with mythfrontend, myself, with the new X. I'm reconfiguring my system to provide good backtraces as I type, so hopefully I'll get better information to add to this bug. Note that my version of mythtv is 0.21_p19961-r1, however. mythbackend runs okay, though, so at least I'm not missing shows. :)
Created attachment 188753 [details] emerge --info
Created attachment 188755 [details] Xorg.log from running "xinit -- :1" and then "mythtv"
Perhaps this is related: http://svn.mythtv.org/trac/ticket/6442
For my setup, with a PVR-350, disabling glx allowed mythfronted to work again. Of course, any other OpenGL apps now fail, but I don't mind that. Section "Modules" . . . Disable "glx" EndSection
Disabling glx also made the problem go away for me. (The section name is "Module" for anyone else who wants to try.)
(In reply to comment #7) > For my setup, with a PVR-350, disabling glx allowed mythfronted to work again. > Of course, any other OpenGL apps now fail, but I don't mind that. > > Section "Modules" > . > . > . > Disable "glx" > EndSection > This worked for me but I lost xv acceleration. xvinfo doesn't show anything for my card with glx disabled. :(
(In reply to comment #9) > This worked for me but I lost xv acceleration. Perhaps I should add that when it "made the problem go away for me" it merely worked around this single bug. The other problems the new video driver causes are still there, like bug 263414, and so I still can't actually watch anything in MythTV.
OK, found a patch for mesa at https://bugs.freedesktop.org/show_bug.cgi?id=21053 that seems to solve this issue. The crash happens at line 660 in glxcmds.c: 659 if (psc->driScreen->waitX != NULL) 660 (*psc->driScreen->waitX)(pdraw);
My mythfrontend and mythtv-setup were both seg faulting until I removed the GLX as above but then mythtv just showed its background with no menus. I finally got it all to work again by eselect'ing the nvidia opengl (I have a NVidia 5200FX): rubberneck michael # eselect opengl list Available OpenGL implementations: [1] nvidia [2] xorg-x11 * rubberneck michael # eselect opengl set 1 After this things went back to normal.
After recently finding the courage to try upgrading again (the downgrade after this happened required several days of work) I've found that the crash no longer occurs. Here's what I have installed now: media-tv/mythtv-0.21_p18314-r1 x11-base/xorg-server-1.5.3-r6 x11-drivers/xf86-video-intel-2.7.1 media-libs/mesa-7.3-r1 It's still the same MythTV, so perhaps it was just an X11 problem. I'll leave the bug open so that someone more knowledgable can decide whether or not it is resolved.
Several people have reported issues similar to this (across multiple distros) that are a result of issues in the open source Xorg driver stacks (i.e. DRI, mesa, and your specific driver). Make sure to use the latest versions of all those components and the problem should be resolved.