Xorg crashes when using video player

Bug #232275 reported by mneagul
4
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
High
xorg-server (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: xorg

Xorg crashes when playing a file with totem/vlc/etc.

The crash is always reproducible.

The symptoms of the crash are:
 - While running totem inside an active X session the display freezes, only the mouse is active.
 - While running from a console, with DISPLAY=:0.0, the X crashes completely.

Revision history for this message
In , Chomber (chomber) wrote :

Created an attachment (id=16063)
xorg.conf

Revision history for this message
In , Chomber (chomber) wrote :

Created an attachment (id=16064)
dmesg

Revision history for this message
In , Chomber (chomber) wrote :

Created an attachment (id=16065)
driver_ebuild_versions.txt

Revision history for this message
In , Chomber (chomber) wrote :

Created an attachment (id=16066)
lspci

Revision history for this message
In , Chomber (chomber) wrote :

Created an attachment (id=16067)
xrandr_--verbose.txt

Revision history for this message
In , Chomber (chomber) wrote :

Created an attachment (id=16068)
uname -a

Revision history for this message
In , Chomber (chomber) wrote :

I am using SVDO card DVI output to hdmi in my Panasonic PTAE-700 projector and goal is to use native resolution 1280x720 where I had to use Virtual 1280 720 to gain.

Revision history for this message
In , Hong-liu (hong-liu) wrote :

Would you please remove the following line from your xorg.conf?
HorizSync 28-51
VertRefresh 43-60

The 1024x768 mode is filtered out by these two config options, and also currently we can detect these info from EDID data. So no need to specify horiz and vertical refresh rate manually.

If it still doesn't work, please attach xorg log with option modedebug turned on?

Thanks,
Hong

Revision history for this message
In , Hong-liu (hong-liu) wrote :

Sorry for typing in the wrong bug.

Revision history for this message
In , Hong-liu (hong-liu) wrote :

Would you please elaborate how to reproduce the problem? Is the gmplayer from http://sourceforge.net/projects/gmplayer/ ? I saw it is a window application.

Any other applications crash the X server?

Would you please start X server within GDB and get a full backtrace log?
There are some info about how to GDB X server (http://www.x.org/wiki/Development/Documentation/ServerDebugging).

Thanks,
Hong

Revision history for this message
In , Chomber (chomber) wrote :

(In reply to comment #10)
> Would you please elaborate how to reproduce the problem? Is the gmplayer from
> http://sourceforge.net/projects/gmplayer/ ? I saw it is a window application.
>
> Any other applications crash the X server?
>
> Would you please start X server within GDB and get a full backtrace log?
> There are some info about how to GDB X server
> (http://www.x.org/wiki/Development/Documentation/ServerDebugging).
>
> Thanks,
> Hong
>

- gmplayer is a GUI for mplayer www.mplayerhq.hu

I made a GDB but not sure if it's anymore useful as I think I don't have debugging on in X? How should I enable it in Gentoo distribution? I guess I have to re-compile Xorg server with debug flag but how about intel driver?

Actual I tried to use some other graphical applications and they seems to be running fine so this might be a related to mplayer as they same is reproducible by "mplayer something.avi" command just trying to play a video.

Revision history for this message
In , Chomber (chomber) wrote :

Created an attachment (id=16087)
gdb-output.txt

Revision history for this message
In , Hong-liu (hong-liu) wrote :

Created an attachment (id=16094)
fix mplayer crash

Please try this patch (it's against Xorg server).

Thanks,
Hong

Revision history for this message
In , Hong-liu (hong-liu) wrote :

Created an attachment (id=16095)
fix mplayer crashing X server

Sorry for attaching the wrong patch.

Revision history for this message
In , Chomber (chomber) wrote :

(In reply to comment #14)
> Created an attachment (id=16095) [details]
> fix mplayer crashing X server
>
> Sorry for attaching the wrong patch.
>

Hi,

This patch seems to be working and mplayer don't crash X window anymore. I will report any issues if found but for me it's ok to close this bug.

Big Thanks!

Lasse

Revision history for this message
mneagul (mneagul) wrote : Xorg crashes when using totem

Binary package hint: xorg

Xorg crashes when playing a file with totem.

The crash is always reproducible.

The symptoms of the crash are:
 - While running totem inside an active X session the display freezes, only the mouse is active.
 - While running from a console, with DISPLAY=:0.0, the X crashes completely.

Xorg crashes with any type of file (mp3, avi)

Revision history for this message
mneagul (mneagul) wrote :
Revision history for this message
mneagul (mneagul) wrote :

Additional data:
 - Ubuntu Version: Hardy
 - Platform: AMD64
 - Compiz: enabled

Revision history for this message
Marcus Asshauer (mcas) wrote :

Thank you for reporting this bug. Please add your /etc/X11/xorg.conf.

Changed in xorg:
status: New → Incomplete
Revision history for this message
mneagul (mneagul) wrote :

Added Xorg config file.

Revision history for this message
mneagul (mneagul) wrote :

I also want to mention that this crash also occurs on a second Hardy laptop (this time on x86).

Revision history for this message
mneagul (mneagul) wrote :

I have done some additional debugging. This time Xorg crashed while using VLC.
I want to mention that the only working part was the mouse/pointer. X was not reacting to any input.

I'm attaching the gdb backtrace.

Revision history for this message
mneagul (mneagul) wrote :

Additionally Xorg is ignoring TERM signals. I'm attaching also a backtrace generated when the signal was received by Xorg/gdb.

Revision history for this message
mneagul (mneagul) wrote :

Added `lspci -v` output.

mneagul (mneagul)
description: updated
Revision history for this message
mneagul (mneagul) wrote :
Revision history for this message
In , mneagul (mneagul) wrote :

This crash occurs only with mplayer ? I have a similar issue but with some players.

I have created a bug report on Ubuntu launchpad, https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/232275 but I don't seem to get any reply.

Revision history for this message
mneagul (mneagul) wrote :

The correct Xorg bug page is https://bugs.freedesktop.org/show_bug.cgi?id=15622

The crash occurred in similar circumstances, with same Xorg version (gentoo ebuild).

Revision history for this message
In , Hong-liu (hong-liu) wrote :

(In reply to comment #16)
> This crash occurs only with mplayer ? I have a similar issue but with some
> players.
>

This bug may happen on X client who use VidMode Extension (used mostly by video applications) for mode probe. Would you please try the latest Xserver git tip to see if the problem is fixed.

Changed in xorg-server:
status: Unknown → Confirmed
Revision history for this message
In , Hong-liu (hong-liu) wrote :

Adam Jackson has committed a patch (96111c154713600dd534dd82104ac18b91466202) which should fix this problem.

Mark this bug as fixed now.

Thanks,
Hong

Changed in xorg-server:
status: Confirmed → Fix Released
Revision history for this message
mneagul (mneagul) wrote :

Changing status to confirmed. It matches at least 3 conditions from Bugs/HowToTriage.

Changed in xorg:
status: Incomplete → Confirmed
Revision history for this message
Iulian Udrea (iulian) wrote :

I'm changing the status of this bug to 'Triaged' since we don't know exactly if this bug is fixed. If yes, the best status should be 'Fix Committed'. Also please have a look at https://wiki.ubuntu.com/Bugs/Status

Thank you.

Changed in xorg:
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Please try with intrepid alpha5 livecd which should be released shortly.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

..the commit from upstream bugzilla is included in intrepid, so it could work now.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

closing as fixed, reopen if still happens on jaunty.

Changed in xorg-server:
status: Triaged → Fix Released
Changed in xorg-server:
importance: Unknown → High
Changed in xorg-server:
importance: High → Unknown
Changed in xorg-server:
importance: Unknown → High
Revision history for this message
rafael moreira lima (fael-18) wrote :

I'm having this problem when playing a video in the player with Lubuntu 14.04!

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.