Bug 4010 - 2_a2: xserver segfaults in fglrx when viewing a video when XV is enabled
Summary: 2_a2: xserver segfaults in fglrx when viewing a video when XV is enabled
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: http://ati.cchtml.com/show_bug.cgi?id...
Whiteboard: Errata
Keywords: Triaged, UPSTREAM, USABILITY
Depends on:
Blocks:
 
Reported: 2012-01-03 14:09 CET by Bit Twister
Modified: 2012-03-13 01:49 CET (History)
2 users (show)

See Also:
Source RPM: fglrx
CVE:
Status comment:


Attachments
Xorg log (40.30 KB, text/plain)
2012-01-03 14:11 CET, Bit Twister
Details
Xorg.log (38.99 KB, text/plain)
2012-02-09 07:01 CET, Bit Twister
Details
requested gdb results (8.30 KB, text/plain)
2012-02-14 20:27 CET, Bit Twister
Details
Requested gdb results (1.05 KB, text/plain)
2012-02-15 12:46 CET, Bit Twister
Details

Description Bit Twister 2012-01-03 14:09:22 CET
Description of problem:

xserver segfaults when viewing a mythtv video
default runlevel 3
Radeon HD RS880 Module: Card:ATI Radeon HD 2000 and later (radeon/fglrx)
teapot gives 196 Frames Per Second

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Configured mythfrontend playback to use cpu++ with liner blend.
2. click any recording audio just starts and it segfaults.
Comment 1 Bit Twister 2012-01-03 14:11:04 CET
Created attachment 1324 [details]
Xorg log
Comment 2 Manuel Hiebel 2012-01-03 19:51:28 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Assignee: bugsquad => thierry.vignaud
Keywords: (none) => Triaged

Comment 3 Bit Twister 2012-01-03 22:48:10 CET
segfault also occurs when viewing a .flv or .mpg video with dragon player.

Summary: 2_a2: xserver segfaults when viewing a mythtv video => 2_a2: xserver segfaults when viewing a video

Comment 4 Bit Twister 2012-01-13 06:38:36 CET
Clean install of Alpha3, Dragon Player plays videos.
Installed proprietary Radeon driver and get the xserver crash. :(
Thierry Vignaud 2012-01-13 10:49:09 CET

Summary: 2_a2: xserver segfaults when viewing a video => 2_a2: xserver segfaults when viewing a video with fglrx
CC: (none) => anssi.hannula

Bit Twister 2012-01-22 22:16:49 CET

Source RPM: x11-server-1.11.2-3.mga2.src.rpm => x11-server-1.11.3.902-1.mga2.src.rpm

Comment 5 Bit Twister 2012-02-09 07:01:07 CET
Created attachment 1512 [details]
Xorg.log

Attachment 1324 is obsolete: 0 => 1

Bit Twister 2012-02-09 07:08:58 CET

Source RPM: x11-server-1.11.3.902-1.mga2.src.rpm => x11-server-1.11.4-1.mga2.src.rpm

Bit Twister 2012-02-11 17:27:28 CET

Severity: normal => major

Comment 6 Thierry Vignaud 2012-02-14 14:21:00 CET
We would need a GDB trace in order to know what happen (GDB is a debugger).
Could you

1) enable the core debug medium, then

2) install at least the following packages: gcc-debug, glibc-debug, 
x11-server-debug, gdb

3) go to a text console (eg: press Ctrl-Alt-F2), log in as root
   (not in an X11 terminal)

4) run "pidof X" or "pidof Xorg" in order to get the
    Process ID of the x11 server

5) attach gdb to the X11 server thanks to the PID you just got.
   just run: gdb -q /usr/bin/Xorg <PID>

6) type the follwing commands:
handle SIGUSR1 nostop
handle SIGUSR2 nostop
handle SIGPIPE nostop
cont

7) return back to X11 (press Ctrl+F7)

8) play your video; once X11 crashed, return back to the console (Ctrl+Alt+F2)
   then type "bt" in gdb and copy the stack trace in a file you will
   attach here

Keywords: (none) => NEEDINFO

Comment 7 Bit Twister 2012-02-14 20:27:51 CET
Created attachment 1556 [details]
requested gdb results
Bit Twister 2012-02-15 08:41:52 CET

Keywords: NEEDINFO => (none)

Comment 8 Thierry Vignaud 2012-02-15 11:56:20 CET
You forgot to type the "cont" command thus GDB didn't enable the X server to continue its execution and x11 just remained paused

Keywords: (none) => NEEDINFO

Thierry Vignaud 2012-02-15 11:56:24 CET

Attachment 1556 is obsolete: 0 => 1

Comment 9 Bit Twister 2012-02-15 12:46:23 CET
Created attachment 1561 [details]
Requested gdb results
Comment 10 Bit Twister 2012-02-15 12:47:23 CET
(In reply to comment #8)
> You forgot to type the "cont" command thus GDB didn't enable the X server to
> continue its execution and x11 just remained paused

Sorry, gotta quit these 3am debugging sessions.

Keywords: NEEDINFO => (none)

Comment 11 Thierry Vignaud 2012-02-15 15:01:09 CET
It's a proprietary driver bug...

Source RPM: x11-server-1.11.4-1.mga2.src.rpm => fglrx
Summary: 2_a2: xserver segfaults when viewing a video with fglrx => 2_a2: xserver segfaults in fglrx when viewing a video
Assignee: thierry.vignaud => bugsquad

Comment 12 Thierry Vignaud 2012-02-15 15:02:53 CET
Debian suggests disabling XV...
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649346)

CC: (none) => thierry.vignaud
Keywords: (none) => UPSTREAM
URL: (none) => http://ati.cchtml.com/show_bug.cgi?id=337

Comment 13 Bit Twister 2012-02-15 17:07:04 CET
Yea, appending the following to /etc/X11/xorg.conf solves the problem.

Section "Extensions"
         Option "XVideo" "Disable"
EndSection


Solution needs to go into the errata document for fglrx users, unless you want to tack it onto a post scriptlet to the fglrx rpm.

Thank you for your time. That was one of four of my blockers for converting to Mageia 2 from Mandriva 2011.
Thierry Vignaud 2012-02-15 17:17:35 CET

Summary: 2_a2: xserver segfaults in fglrx when viewing a video => 2_a2: xserver segfaults in fglrx when viewing a video when XV is enabled

Manuel Hiebel 2012-02-15 17:42:25 CET

Whiteboard: (none) => Errata
Keywords: (none) => USABILITY

Comment 14 Anssi Hannula 2012-03-13 00:05:15 CET
Can you test with current cauldron, there is now fglrx 8.950 which I think should fix this issue?
Comment 15 Bit Twister 2012-03-13 01:49:40 CET
x11-driver-video-fglrx-8.950-1.mga2.nonfree does fix the problem on my old single core cpu and quad cpu system.

Guessing you will change the errata document.

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


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