https://bugs.freedesktop.org/show_bug.cgi?id=30188
Summary: X server crashes with a SIGBUS on Evergreen Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: critical Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: tomasz.figa@gmail.com
I have recently switched my desktop PC with Radeon HD 5770 from fglrx to xf86-video-ati and discovered a problem causing the X server to crash with a SIGBUS signal.
I can reproduce this bug by opening a PDF document in Okular and scrolling through several pages back and forth, then mouse cursor hangs and X server crashes. It happens regardless of kernel version.
Disabling RenderAccel helps, but it's not a solution since it turns off the acceleration.
It's not a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=29738 , because it still happens with pre-709ea97145c125b3811ff70429e90ebdb0e832e5 kernels.
My setup:
Linux 2.6.35.4, git drm-fixes or git drm-radeon-testing xorg-server git 09/13 xf86-video-ati git 09/13 libdrm git 09/13
Intel Core 2 Quad Q6600 Processor AMD Radeon HD 5770
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #1 from Tomasz Figa tomasz.figa@gmail.com 2010-09-14 10:13:03 PDT --- Created an attachment (id=38699) --> (https://bugs.freedesktop.org/attachment.cgi?id=38699) X server log
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #2 from Tomasz Figa tomasz.figa@gmail.com 2010-09-14 10:13:57 PDT --- Created an attachment (id=38700) --> (https://bugs.freedesktop.org/attachment.cgi?id=38700) dmesg log
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #3 from Tomasz Figa tomasz.figa@gmail.com 2010-09-14 10:44:52 PDT --- (From update of attachment 38700) drm-2.6 commit 7a6b2896f261894dde287d3faefa4b432cddca53
2.6.35.4, latest drm-fixes and drm-radeon-testing don't give any interesting output
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #4 from Jure Repinc jlp.bugs@gmail.com 2010-09-23 08:42:13 PDT --- I think I have the same bug, I also first noticed it while opening a PDF in Okular. Later I also got ceashes when switching the virtual desktop. This is with kernel 2.6.36 RC5 and eMachines E640G laptop with integrated ATI Mobility Radeon HD 5470.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #5 from Alex Deucher agd5f@yahoo.com 2010-09-24 10:35:13 PDT --- I still think this is a related bug 29738. The backtrace is just about the same.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #6 from Tomasz Figa tomasz.figa@gmail.com 2010-09-24 10:58:40 PDT --- I doubt that this issue shares with bug 29738 anything more than similar behavior.
Bug 29738 was related to a single commit and as I said, I have tested kernel revisions from before and after the problematic change and both options didn't work.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #7 from Francesco R maillist@pnpitalia.it 2010-09-26 06:25:31 PDT --- Created an attachment (id=38962) --> (https://bugs.freedesktop.org/attachment.cgi?id=38962) various; bt full, dmesg, sw version
me too, evergreen 1002:68f9.
The attach contain various things I've tried to inspect may be useful or not.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felixblanke@gmail.com
--- Comment #8 from Alex Deucher agd5f@yahoo.com 2010-09-30 15:42:04 PDT --- *** Bug 30517 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #9 from Felix Blanke felixblanke@gmail.com 2010-10-05 08:42:50 PDT --- Are there any kind of information I (we) can provide to help to solve this bug?
I'm getting this bug a lot and it is really frustrating losing some work etc. while X is crashing :/
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #10 from Maggioni Marcello hayarms@gmail.com 2010-10-05 17:47:06 PDT --- same problem here with similar backtrace. (I'll attach the backtrace)
The mouse freezes and X restarts. Okular is the only application that seems to trigger easily this bug.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #11 from Maggioni Marcello hayarms@gmail.com 2010-10-05 17:47:36 PDT --- Created an attachment (id=39200) --> (https://bugs.freedesktop.org/attachment.cgi?id=39200) Xorg backtrace
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #12 from Maggioni Marcello hayarms@gmail.com 2010-10-06 01:34:19 PDT --- I found another situation where xorg crashes. Bringing virtualbox fullscreen makes the x server crash immediatly, but this time not with a sigbus, but with a segfault.
another backtrace attached
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #13 from Maggioni Marcello hayarms@gmail.com 2010-10-06 01:35:18 PDT --- Created an attachment (id=39213) --> (https://bugs.freedesktop.org/attachment.cgi?id=39213) Xorg backtrace 2
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #14 from Felix Blanke felixblanke@gmail.com 2010-10-06 01:59:20 PDT --- Virtualbox triggers that bug a lot at my machine.
But I'm getting a sigbus, not a segfault. My backtrace is in the duplicate bug 30517.
Sometimes it happens when simply starting virtualbox, sometimes when switching to fullscreen,...
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #15 from Rafael Monica monraaf@gmail.com 2010-10-06 03:32:38 PDT --- Created an attachment (id=39218) --> (https://bugs.freedesktop.org/attachment.cgi?id=39218) xorg backtrace
Also getting a SIGBUS with Evergreen. For me it's triggered by browsing google image search with Firefox. Backtrace attached.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39213|application/x-trash |text/plain mime type| | Attachment #39213|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=30188
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39200|text/x-log |text/plain mime type| | Attachment #39200|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #16 from Alex Deucher agd5f@yahoo.com 2010-10-06 17:14:30 PDT --- This might be an issue with non-cpu accessible vram. Do you still see the issue with the drm-next or drm-radeon-testing branches of Dave's drm tree?
Specifically, make sure your kernel has this patch: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h...
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #17 from Felix Blanke felixblanke@gmail.com 2010-10-07 01:42:53 PDT --- Maybe it's a noob question but how do I apply that patch on top of 2.6.26-rc6?
Or do I have to use the newest git kernel for that?
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #18 from Tomasz Figa tomasz.figa@gmail.com 2010-10-07 03:58:48 PDT --- With current drm-radeon-testing, after some short testing I can say that I can't trigger the bug by Okular anymore.
Will see how it performs in normal use.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #19 from Felix Blanke felixblanke@gmail.com 2010-10-07 04:11:22 PDT --- Same for me. Can't trigger the bug with drm-testing @virtualbox.
Will that stuff be in 2.6.37?
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #20 from Jure Repinc jlp.bugs@gmail.com 2010-10-07 05:25:41 PDT --- Looks good so far for me too. No crash after several hours of use.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #21 from Alex Deucher agd5f@yahoo.com 2010-10-07 07:39:05 PDT --- The blit stuff will be in 2.6.37 and Jerome has a set of patches we need to try and get into stable to avoid this on older kernels.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #22 from Rafael Monica monraaf@gmail.com 2010-10-07 10:11:48 PDT --- Just a me too. Latest drm-radeon-testing seems to have fixed my bus errors also.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #23 from Maggioni Marcello hayarms@gmail.com 2010-10-07 14:47:22 PDT --- Hei, I tried the drm-radeon-testing kernel and now Okular works, but X still crashes with a segfault when going fullscreen with virtualbox.
Someone is having this problem? Do you think is related to this bug?
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #24 from Alex Deucher agd5f@yahoo.com 2010-10-07 16:09:43 PDT --- (In reply to comment #23)
Hei, I tried the drm-radeon-testing kernel and now Okular works, but X still crashes with a segfault when going fullscreen with virtualbox.
Someone is having this problem? Do you think is related to this bug?
That's a different issue. Please file a different bug for that.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #25 from Felix Blanke felixblanke@gmail.com 2010-10-08 03:12:10 PDT --- Virtualbox fullscreen with a Win7 guest works for me. This should be really a different issue.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #26 from Alex Deucher agd5f@yahoo.com 2010-10-12 09:19:50 PDT --- Created an attachment (id=39385) View: https://bugs.freedesktop.org/attachment.cgi?id=39385 Review: https://bugs.freedesktop.org/review?bug=30188&attachment=39385
fix for 2.6.35 and 2.6.36
This patch should fix the issue on stable kernels.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #27 from Alex Deucher agd5f@yahoo.com 2010-10-13 13:53:07 PDT --- This patch, scheduled hopefully for 2.6.36 should also fix the issue: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h...
https://bugs.freedesktop.org/show_bug.cgi?id=30188
--- Comment #28 from Alex Deucher agd5f@yahoo.com 2010-10-15 08:40:42 PDT --- (In reply to comment #27)
This patch, scheduled hopefully for 2.6.36 should also fix the issue: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h...
Linus pulled this into 2.6.36: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif...
I'd like to get something into 2.6.35 stable as well.
https://bugs.freedesktop.org/show_bug.cgi?id=30188
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #29 from Alex Deucher agd5f@yahoo.com 2010-11-11 17:08:18 PST --- fixes pushed.
dri-devel@lists.freedesktop.org