mplayer segfault on any package

Bug #313448 reported by Ben M.
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Medibuntu
Invalid
High
Unassigned
mplayer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Using Medibuntus OR Ubuntus mplayer-packe or mplayer-nogui, I always get a segfault. Looks like this:
$ mplayer
Segmentation fault
$ _

Tested versions:
ii mplayer 2:1.0~rc2-0ubuntu17 The Ultimate Movie Player For Linux
ii mplayer 2:1.0~rc2-0ubuntu17+medibu The Ultimate Movie Player For Linux - Medibuntu package

I attached a stack trace using medibuntu's version.

Purging all related packages (including mplayer~n) and reinstalling didn't help.

===========
System information

Ubuntu 8.10 amd64

$ uname -a
Linux Sentinel64 2.6.27-11-generic #1 SMP Fri Dec 19 16:29:35 UTC 2008 x86_64 GNU/Linux

Revision history for this message
Ben M. (bmhm) wrote :
Revision history for this message
Ben M. (bmhm) wrote :

The above attachment is from the medibuntu-repos.

Changed in medibuntu:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote :

Looking at the attachments in this bug report, I noticed that "strace mplayer (ubuntu repo)" was flagged as a patch. A patch contains changes to an Ubuntu package that will resolve a bug, however that attachment doesn't appear to be one. Subsequently I've unchecked the patch flag for it. In the future keep in mind the definition of a patch. Thanks!

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I used to see this, but recently it seems to be fixed, at least on Karmic. What is the status for everybody else?

Changed in mplayer (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
Revision history for this message
Ben M. (bmhm) wrote :

It's probably been an issue of Gnome Globalmenu. It is fixed on jaunty already.

I get the same error on firefox 3.5 (but not 3.0) with gnome global menu enabled. I think they added some workarounds. This is also the most reasonable explanation why it works now.

Regards

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I never used Global Menu, I don't even know what it is. Can we close this ticket or is there anything left to be done?

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Let's close it then.

Changed in medibuntu:
status: Triaged → Invalid
Changed in mplayer (Ubuntu):
status: New → Fix Released
Revision history for this message
Nils Rennebarth (nils-rennebarth) wrote :

The bug persists here, exactly as described above. Reinstalling mplayer (either the medibuntu or the ubuntu version) does not help. I do not have gnome-globalmenu anywhere apparently:
$ locate -i globalmenu
/usr/share/icons/gnome-brave/16x16/apps/globalmenu.png
/usr/share/icons/gnome-brave/22x22/apps/globalmenu.png
/usr/share/icons/gnome-brave/24x24/apps/globalmenu.png
/usr/share/icons/gnome-brave/32x32/apps/globalmenu.png
/usr/share/icons/gnome-brave/scalable/apps/globalmenu.svg

How do I get mplayer working? What can I do to debug?

Revision history for this message
Nils Rennebarth (nils-rennebarth) wrote :

Another datapoint: It seems hardware related: On my second laptop, with the same software as the one that exhibits the
problem, but with intel graphics adapter, the bug does not show. On my current laptop, where I recently changed the graphics
card from nvidia to ati, the bug shows. I am rather sure, that I used mplayer before and everything worked, until I changed the
graphics card. Looks like some initialization that is ati specific.

Changed in mplayer (Ubuntu):
status: Fix Released → Confirmed
Rolf Leggewie (r0lf)
Changed in mplayer (Ubuntu):
assignee: Rolf Leggewie (r0lf) → nobody
Revision history for this message
Nils Rennebarth (nils-rennebarth) wrote :

It appears, the culprit was some leftover libs from the nvidia binary driver, i.e. the one from nvidia itself, installed by the installer itself, not a ubuntu package. I upgraded to karmic, and the same bug still was there: mplayer just segfaults, when called from the commandline, without any arguments. Moreover a similar bug appeared for vlc as well: Calling vlc without any args just segfaulted. strace then revealed that just before the segfault, the nvidia lib was loaded. Removing all files installed by the nvidia installer solved the problem for both, mplayer and vlc.

I think we can close the bug.

As some other people hit the same problem, maybe the same fix works for them.

Changed in mplayer (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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