mythfrontend segault in libGL

Bug #355103 reported by tmorley
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Confirmed
Undecided
Unassigned
mythtv (Ubuntu)
Invalid
Undecided
Unassigned
qt4-x11 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mythtv

Just done a apt-get dist-upgrade, rebooted and mythfrontend doesn't start.

Using the nouveau x-server.

Here is the backtrace from the core file.

(gdb) bt
#0 0x00007f1baa4ad7cf in glXWaitX () from /usr/lib/libGL.so.1
#1 0x00007f1baaf2580a in QGLWidget::resizeEvent () from /usr/lib/libqt-mt.so.3
#2 0x00007f1baad24869 in QWidget::event () from /usr/lib/libqt-mt.so.3
#3 0x00007f1baac924a5 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#4 0x00007f1baac9327a in QApplication::notify () from /usr/lib/libqt-mt.so.3
#5 0x00007f1baac942c9 in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#6 0x00007f1baad237ea in QWidget::show () from /usr/lib/libqt-mt.so.3
#7 0x00007f1bad176edd in MythMainWindow::Show ()
   from /usr/lib/libmythui-0.21.so.0
#8 0x00007f1bad1770ea in MythMainWindow::Init ()
   from /usr/lib/libmythui-0.21.so.0
#9 0x000000000042d60f in ?? ()
#10 0x00007f1ba903c5a6 in __libc_start_main () from /lib/libc.so.6
#11 0x0000000000421539 in ?? ()
#12 0x00007fffb7aff338 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x00007fffb7affa18 in ?? ()
#16 0x0000000000000000 in ?? ()
(gdb)

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: mythtv-frontend 0.21.0+fixes19961-0ubuntu8 [modified: usr/share/mythtv/main_settings.xml]
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: mythtv
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
tmorley (tim-chaos) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 355103] [NEW] mythfrontend segault in libGL

Can you please make sure you have *no* remenants of the closed source
nvidia driver?

dpkg -l | grep nvidia

Should be sufficient.

On 04/04/2009, tmorley <email address hidden> wrote:
>
> ** Attachment added: "Dependencies.txt"
> http://launchpadlibrarian.net/24805903/Dependencies.txt
>
> --
> mythfrontend segault in libGL
> https://bugs.launchpad.net/bugs/355103
> You received this bug notification because you are a member of MythTV
> Ubuntu Maintainers, which is subscribed to mythtv in ubuntu.
>

--
Sent from my mobile device

Mario Limonciello
<email address hidden>

Revision history for this message
tmorley (tim-chaos) wrote :

I have the following installed:

rewind@rewind:~$ dpkg -l | grep -i nvidia
ii nvidia-173-modaliases 173.14.16-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-180-modaliases 180.44-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-71-modaliases 71.86.08-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-96-modaliases 96.43.10-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-common 0.2.9 Find obsolete NVIDIA drivers

Trying to remove them fails, as mythbuntu-common depends on nvidia-common which, in turn, seems to depend on the nvidia-*-modaliases

Revision history for this message
Mario Limonciello (superm1) wrote :

Those are okay to have, not a worry.

On 04/04/2009, tmorley <email address hidden> wrote:
> I have the following installed:
>
> rewind@rewind:~$ dpkg -l | grep -i nvidia
> ii nvidia-173-modaliases 173.14.16-0ubuntu1
> Modaliases for the NVIDIA binary X.Org drive
> ii nvidia-180-modaliases 180.44-0ubuntu1
> Modaliases for the NVIDIA binary X.Org drive
> ii nvidia-71-modaliases 71.86.08-0ubuntu1
> Modaliases for the NVIDIA binary X.Org drive
> ii nvidia-96-modaliases 96.43.10-0ubuntu1
> Modaliases for the NVIDIA binary X.Org drive
> ii nvidia-common 0.2.9
> Find obsolete NVIDIA drivers
>
> Trying to remove them fails, as mythbuntu-common depends on nvidia-
> common which, in turn, seems to depend on the nvidia-*-modaliases
>
> --
> mythfrontend segault in libGL
> https://bugs.launchpad.net/bugs/355103
> You received this bug notification because you are a member of MythTV
> Ubuntu Maintainers, which is subscribed to mythtv in ubuntu.
>

--
Sent from my mobile device

Mario Limonciello
<email address hidden>

Revision history for this message
shuvalov (shuvalovpavel) wrote :

i have same troubles with my QT based program:
#1 0x00007f1b0ac6f7d1 in glXWaitX () from /usr/lib/libGL.so.1
#2 0x00007f1b0b18d6bd in QGLWidget::resizeEvent () from /usr/lib/libQtOpenGL.so.4
#3 0x00007f1b0a2337ca in QWidget::event () from /usr/lib/libQtGui.so.4
#4 0x00007f1b0b15cc51 in QGLWidget::event () from /usr/lib/libQtOpenGL.so.4

I am using fglrx driver

Revision history for this message
brian.hasselbeck (brian-hasselbeck) wrote :

FYI, I see this mythfrontend crash as well, since upgrading packages a couple days ago.

Backtrace:
-----------------------------------
2009-04-06 20:09:51.229 Primary screen 0.
2009-04-06 20:09:51.229 Using screen 0, 1360x768 at 0,0
2009-04-06 20:09:51.230 Switching to wide mode (blootube-wide)
2009-04-06 20:09:51.269 Using the Qt painter
[New Thread 0x7fa10fbcf950 (LWP 4459)]
[New Thread 0x7fa10f3ce950 (LWP 4460)]
[Thread 0x7fa10f3ce950 (LWP 4460) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa1224d5760 (LWP 4447)]
0x00007fa11cfc67cf in glXWaitX () from /usr/lib/libGL.so.1
(gdb) bt
#0 0x00007fa11cfc67cf in glXWaitX () from /usr/lib/libGL.so.1
#1 0x00007fa11da3e80a in QGLWidget::resizeEvent () from /usr/lib/libqt-mt.so.3
#2 0x00007fa11d83d869 in QWidget::event () from /usr/lib/libqt-mt.so.3
#3 0x00007fa11d7ab4a5 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#4 0x00007fa11d7ac27a in QApplication::notify () from /usr/lib/libqt-mt.so.3
#5 0x00007fa11d7ad2c9 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#6 0x00007fa11d83c7ea in QWidget::show () from /usr/lib/libqt-mt.so.3
#7 0x00007fa11fc8fedd in MythMainWindow::Show () from /usr/lib/libmythui-0.21.so.0
#8 0x00007fa11fc900ea in MythMainWindow::Init () from /usr/lib/libmythui-0.21.so.0
#9 0x000000000042d60f in ?? ()
#10 0x00007fa11bb555a6 in __libc_start_main () from /lib/libc.so.6
#11 0x0000000000421539 in ?? ()
#12 0x00007fff2a615a38 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000003 in ?? ()
#15 0x00007fff2a6176c6 in ?? ()
#16 0x00007fff2a6176e1 in ?? ()
#17 0x00007fff2a6176e4 in ?? ()
#18 0x0000000000000000 in ?? ()
-----------------------------------

I'm on Jaunty amd64, using open-source radeonhd driver (latest from git.)

Revision history for this message
shuvalov (shuvalovpavel) wrote :

i think it is not mythtv bug, but don`t know exctly what package it affect. Maybe qt4-x11?

Revision history for this message
brian.hasselbeck (brian-hasselbeck) wrote :

It seems this bug was introduced with the mesa 7.4 update: libgl1-mesa-glx (7.4-0ubuntu1). Downgrading this package to the previous 7.3-1ubuntu4 version solved the problem for me.

(I grabbed the old version of the package from here: https://launchpad.net/ubuntu/jaunty/amd64/libgl1-mesa-glx/7.3-1ubuntu4 )

Revision history for this message
shuvalov (shuvalovpavel) wrote :

Hm, i am found one similar bug in qt-x11 (dated 2009-04-07): https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/356940/

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Mythtv is a Qt3 application, so it's probably not a Qt4 bug.

Changed in qt4-x11 (Ubuntu):
status: New → Invalid
Revision history for this message
Greg Helps (bigdoggy) wrote :

mythfrontend also segfaults for me with a SIGSEGV in QGLWidget::resizeEvent() on an updated jaunty i386 install.

Downgrading libgl1-mesa-glx to 7.3-1ubuntu4 (as posted above) resolves the issue for me.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Seems to be a mesa problem, so invalidating the mythtv task.

Conversely, confirming the mesa task due to the duplicate bug.

Changed in mythtv (Ubuntu):
status: New → Invalid
Changed in mesa (Ubuntu):
status: New → Confirmed
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.