Mplayer segfault on Gutsy x86-64: preinit_libvo

Bug #159861 reported by Cappy-chan
8
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Fix Released
Undecided
Mario Limonciello

Bug Description

Mplayer worked perfectly on Feisty before I upgraded. I have tried doing a purge remove and then reinstalling mplayer. If I disable compiz and reboot it still occurs. I've tried different -vo's including x11 gl gl2 xv. I rebuild the ~/.gstreamer-0.10 directory in case there was something that was kept from my upgrade from Feisty.

Most importantly, mplayer will play my videos at first but if I start a new mplayer later in my gnome session this is when it will crash! When I reboot or restart X mplayer begins working again. It seems to be something with the screensaver.

Happens with every video. Using the Gutsy nvidia-new drivers. Running AMD64.

Someone else has the same problem here: http://ubuntuforums.org/showthread.php?t=599453 and they reported mplayer continues working for them in a chroot.

And one more thing ... I tried using Valgrind from the instructions at https://wiki.ubuntu.com/Valgrind but mplayer ALWAYS works when I use the valgrind debugger.

Terminal output:
$ mplayer -v options Monster\ -\ 30.avi
MPlayer 2:1.0~rc1-0ubuntu13 (C) 2000-2006 MPlayer Team
............................. (edited)
Using built-in default codecs.conf.
............................. (edited)
Clip info:
 Software: VirtualDubMod 1.5.10.1 (build 2366/release)
get_path('sub/') -> '/home/cappy/.mplayer/sub/'
xscreensaver_disable: Could not find XScreenS
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1aver window.

MPlayer interrupted by signal 11 in module: preinit_libvo
- MPlayer crashed by bad usage of CPU/FPU/RAM.
...... (edited out debug info) .....
vo: uninit ...

Revision history for this message
Cappy-chan (cappy-chan) wrote :

This bug also is the cause of the "slow startup" problem for mplayer it seems too (at least in my case). I've temporary resolved this problem by turning my screensaver off.

Revision history for this message
Cappy-chan (cappy-chan) wrote :

running $ killall gnome-screensaver
before running mplayer also resolves this problem.

The output:
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
xscreensaver_disable: Could not find XScreenSaver window.
gnome_screensaver_control()[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046

There is a pause between
gnome_screensaver_control()
and
[xv common] Drawing no colorkey.

Let me know if you need any more information.

Revision history for this message
André Klitzing (misery) wrote :

I have the same problem here with the version from hardy.
Killing gnome-screensaver works here, too.

Changed in mplayer:
status: New → Confirmed
Revision history for this message
Cappy-chan (cappy-chan) wrote :

Changing my video from opening in "mplayer " to "gmplayer %f" fixes the problem completely, as far as I can tell at the moment.

Revision history for this message
André Klitzing (misery) wrote :
Revision history for this message
André Klitzing (misery) wrote :

I rebuild my mplayer with patch "gnome-screensaver-amd64-type.patch" from bug 104660 and the problem seems to be gone.

Changed in mplayer:
assignee: nobody → superm1
status: Confirmed → In Progress
Revision history for this message
Mario Limonciello (superm1) wrote :

mplayer (2:1.0~rc2-0ubuntu4) hardy; urgency=low

  [ Mario Limonciello ]
  * Rebuild against newer x264. (LP: #173624, 174087)
  * Build with enca support. (LP: #115519)
  * Fix gnome_screensaver errors. (LP: #108785, 104660, 159909, 113818)

  [ Luca Barbieri ]
  * Add locking support to Pulse Audio to prevent deadlocks. (LP: #136850)

  [ Phillip Belemezov ]
  * Fix gnome screensaver on amd64 (LP: #104660, 159861)

 -- Mario Limonciello < <email address hidden>> Tue, 11 Dec 2007 02:13:54 -0600

Changed in mplayer:
status: In Progress → Fix Released
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.