Bug 18694 - mplayer causes segfault in xorg (radeonsi)
Summary: mplayer causes segfault in xorg (radeonsi)
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2016-06-12 23:05 CEST by Herbert Poetzl
Modified: 2018-04-25 03:34 CEST (History)
5 users (show)

See Also:
Source RPM: x11-server-xorg-1.16.4-2.1.mga5, mesa
CVE:
Status comment:


Attachments

Description Herbert Poetzl 2016-06-12 23:05:08 CEST
Description of problem:
Using mplayer to play a specific video causes xorg to segfault, which naturally kills the current session.

Version-Release number of selected component (if applicable):
x11-server-xorg-1.16.4-2.1.mga5
lib64glamor0-0.6.0-3.mga5
mplayer-1.1.1-12.r37337.3.mga5.tainted

How reproducible:
Always

Steps to Reproduce:
1. Log in, open terminal
2. mplayer y.mkv
3.

http://vserver.13thfloor.at/Stuff/MPLAYER/y.mkv
http://vserver.13thfloor.at/Stuff/MPLAYER/logout.log
Comment 1 Thierry Vignaud 2016-06-13 14:38:21 CEST
What xorg driver are you using?
What's the output of "lspcidrake -v|grep Card:" ?
Can you get a segfault trace?
Looks at ~/.local/share/xorg/Xorg.0.log* just after such a crash

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 2 Herbert Poetzl 2016-06-13 16:17:54 CEST
# lspcidrake -v|grep Card:
Card:ATI Radeon HD 5000 to HD 6300 (radeon/fglrx): Advanced Micro Devices, Inc. [AMD/ATI]|Cape Verde PRO [Radeon HD 7750/8740 / R7 250E] [DISPLAY_VGA] (vendor:1002 device:683f subv:1787 subd:7250)
Unable to read modalias from /sys/bus/usb/devices/6-1/6-1.1/modalias

I will probably reboot tonight so I can try to run gdb on Xorg for a trace, but I do not expect more details from that.

I've added two Xorg logs which contain the segfault here:
http://vserver.13thfloor.at/Stuff/MPLAYER/Xorg.1.log
http://vserver.13thfloor.at/Stuff/MPLAYER/Xorg.3.log

Thanks,
Herbert

CC: (none) => herbert

Rémi Verschelde 2016-06-16 13:39:25 CEST

Keywords: NEEDINFO => (none)

Comment 3 Marja Van Waes 2016-06-16 20:18:45 CEST
(In reply to Herbert Poetzl from comment #2)

> 
> I will probably reboot tonight so I can try to run gdb on Xorg for a trace,
> but I do not expect more details from that.
> 

Did you try?

CC: (none) => marja11, shlomif
Assignee: bugsquad => thierry.vignaud

Comment 4 Herbert Poetzl 2016-06-16 20:40:22 CEST
A few hours ago, I hit the same issue with Firefox instead of Mplayer but it wasn't really reproducible. The Mplayer check still works fine with the most recent packages.

Here is the gdb backtrace captured from another host:
http://vserver.13thfloor.at/Stuff/MPLAYER/xorg.trace

Best,
Herbert
Comment 5 Shlomi Fish 2016-06-16 20:57:47 CEST
on my Mageia 5 x86-64 live hardware Acer laptop with an ATI Mobility Radeon card and the open source 'radeon' drivers, I'm not getting this crash with 'mplayer y.mkv', being:

shlomif@telaviv1:~$ ls -l y.mkv 
-rw-r--r-- 1 shlomif shlomif 30339 Jun 12 19:39 y.mkv
shlomif@telaviv1:~$ sha256sum y.mkv 
b09d13e0adcf2b951347d00dd49510250885e5ed611d2d3e1dbfaab3f54120bb  y.mkv
shlomif@telaviv1:~$ 

which driver are you using?
Comment 6 Thierry Vignaud 2016-06-16 20:59:45 CEST
What's the output of the following command:
rpm -qa "*dri*driver"

Keywords: (none) => NEEDINFO
Summary: mplayer causes segfault in xorg => mplayer causes segfault in xorg (radeonsi)
Source RPM: x11-server-xorg-1.16.4-2.1.mga5 => x11-server-xorg-1.16.4-2.1.mga5, mesa

Comment 7 Herbert Poetzl 2016-06-16 21:30:50 CEST
(In reply to Shlomi Fish from comment #5)
> which driver are you using?

How can I tell?
The Xorg.log says RADEON.
Comment 8 Herbert Poetzl 2016-06-16 21:31:52 CEST
(In reply to Thierry Vignaud from comment #6)
> What's the output of the following command:
> rpm -qa "*dri*driver"

# rpm -qa "*dri*driver"
# rpm -qa "*dri*driver*"
libdri-drivers-10.5.9-3.mga5.tainted
lib64dri-drivers-10.5.9-3.mga5.tainted
Comment 9 Herbert Poetzl 2016-06-16 21:33:45 CEST
I also uploaded the xorg.conf here:
http://vserver.13thfloor.at/Stuff/MPLAYER/xorg.conf
Comment 10 Thierry Vignaud 2016-06-16 22:47:59 CEST
Thomas, what do you think about updating mesa to a newer branch in mga5?

CC: (none) => tmb

Comment 11 Marja Van Waes 2018-04-24 19:38:02 CEST
@ Herbert,

I suppose you don't have this problem in Mageia 6?

Please reopen this report and set Version: to 6 if you do still have it.

Closing as OLD, because Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
It only continued to get important security updates since then, but non-security bugs have no chance of still getting fixed.

Resolution: (none) => OLD
Status: NEW => RESOLVED

Comment 12 Herbert Poetzl 2018-04-25 03:34:27 CEST
@ Marja,

Nope.

Best,
Herbert

Note You need to log in before you can comment on or make changes to this bug.