Bug 268386 - Playing some video file with VLC make KDE crash and return to login screen
Summary: Playing some video file with VLC make KDE crash and return to login screen
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.6
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-13 16:22 UTC by Robi
Modified: 2011-03-13 18:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robi 2011-03-13 16:22:08 UTC
Version:           4.6 (using KDE 4.6.1) 
OS:                Linux

As per title: playing some kind of video make Plasma or Kwin to crash as soon as the playback begins. The user gets kicked out of the desktop and returned at the KDM login screen.

These are two movies that trigger the crash:
- http://hvo.wr.usgs.gov/kilauea/update/archive/2011/Jan/20110306_0682_torr_small.mov
- http://hvo.wr.usgs.gov/kilauea/update/archive/2011/Mar/PuuOoCollapse_20110305_small.mov

Reproducible: Sometimes

Steps to Reproduce:
Reproducibility is about 90% of the time:

1. download the offending video
2. open and play it with VLC player

Actual Results:  
KDE crashes (Plasma? Kwin?) and returns to the KDM login screen

Sometimes VLC manages to play the video, but it displays two windows with two different video streams (screenshot → http://ompldr.org/vN3NnbA )

Expected Results:  
The video is played correctly

These videos are played without problems using different video players, such as mplayer and kaffeine.

Other users reported this behavior; additional info on this forum thread → http://forums.gentoo.org/viewtopic-t-868717-highlight-.html
Comment 1 Christoph Feck 2011-03-13 17:26:45 UTC
If you are taken back to the login screen, this means the X server has crashed, not the applications running within it. The very likely cause is a bug in the video drivers or one of other components of the graphics stack such as Mesa or DRI. Please report this bug to https://bugs.freedesktop.org/

You could check for error messages in /var/log/Xorg* files. For more help on debugging the X server read http://fedoraproject.org/wiki/Xorg/Debugging

If you are sure the bug is in VLC and not the graphics stack, please report the bug to VLC developers at http://www.videolan.org/support/
Comment 2 Robi 2011-03-13 18:34:14 UTC
Thanks for the suggestion Chris. Indeed, it was X server segfaulting:

Backtrace:
[ 15053.563] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a21c8]
[ 15053.563] 1: /usr/bin/X (0x400000+0x63a89) [0x463a89]
[ 15053.563] 2: /lib/libpthread.so.0 (0x7faab3594000+0xf120) [0x7faab35a3120]
[ 15053.563] 3: /lib/libc.so.6 (memcpy+0x2b0) [0x7faab257e3d0]
[ 15053.564] 4: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7faaafe1e000+0x81c8c) [0x7faaafe9fc8c]
[ 15053.564] 5: /usr/bin/X (0x400000+0x12d0b0) [0x52d0b0]
[ 15053.564] 6: /usr/lib64/xorg/modules/extensions/libextmod.so (0x7faab033e000+0x10093) [0x7faab034e093]
[ 15053.564] 7: /usr/bin/X (0x400000+0x2f2b9) [0x42f2b9]
[ 15053.564] 8: /usr/bin/X (0x400000+0x2496a) [0x42496a]
[ 15053.564] 9: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7faab251bbbd]
[ 15053.564] 10: /usr/bin/X (0x400000+0x24509) [0x424509]
[ 15053.564] Segmentation fault at address 0x7faaab530000
[ 15053.564] 
Fatal server error:
[ 15053.564] Caught signal 11 (Segmentation fault). Server aborting
[ 15053.564] 
[ 15053.564] 

Sorry for the noise here at KDE ...