Skip to contentSkip to conversation

New: X server crashes with a SIGBUS on Evergreen

Bug 30188 [email protected] 1 participant 32 messages Sep 14, 2010 – Nov 12, 2010

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #1 from Tomasz Figa <[email protected]> 2010-09-14 10:13:03 PDT --- Created an attachment (id=38699)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38699)
X server log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #2 from Tomasz Figa <[email protected]> 2010-09-14 10:13:57 PDT --- Created an attachment (id=38700)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38700)
dmesg log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #3 from Tomasz Figa <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #4 from Jure Repinc <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #5 from Alex Deucher <[email protected]> 2010-09-24 10:35:13 PDT --- I still think this is a related bug 29738. The backtrace is just about the same.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #6 from Tomasz Figa <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #7 from Francesco R <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from Alex Deucher <[email protected]> 2010-09-30 15:42:04 PDT --- *** Bug 30517 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #9 from Felix Blanke <[email protected]> 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 :/

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #10 from Maggioni Marcello <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #11 from Maggioni Marcello <[email protected]> 2010-10-05 17:47:36 PDT --- Created an attachment (id=39200)
--> (https://bugs.freedesktop.org/attachment.cgi?id=39200)
Xorg backtrace

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #12 from Maggioni Marcello <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #13 from Maggioni Marcello <[email protected]> 2010-10-06 01:35:18 PDT --- Created an attachment (id=39213)
--> (https://bugs.freedesktop.org/attachment.cgi?id=39213)
Xorg backtrace 2

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #14 from Felix Blanke <[email protected]> 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,...

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #15 from Rafael Monica <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #39213|application/x-trash         |text/plain
          mime type|                            |
  Attachment #39213|0                           |1
           is patch|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #39200|text/x-log                  |text/plain
          mime type|                            |
  Attachment #39200|0                           |1
           is patch|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #16 from Alex Deucher <[email protected]> 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=d7ccd8fc11700502b5a104b7bad595b492a3aa1b

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #17 from Felix Blanke <[email protected]> 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?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#20 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #18 from Tomasz Figa <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#21 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #19 from Felix Blanke <[email protected]> 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?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#22 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #20 from Jure Repinc <[email protected]> 2010-10-07 05:25:41 PDT --- Looks good so far for me too. No crash after several hours of use.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#23 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #21 from Alex Deucher <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#24 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #22 from Rafael Monica <[email protected]> 2010-10-07 10:11:48 PDT --- Just a me too. Latest drm-radeon-testing seems to have fixed my bus errors also.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#25 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #23 from Maggioni Marcello <[email protected]> 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?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#26 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #24 from Alex Deucher <[email protected]> 2010-10-07 16:09:43 PDT --- (In reply to comment #23)

Quoted 4 lines

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#27 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #25 from Felix Blanke <[email protected]> 2010-10-08 03:12:10 PDT --- Virtualbox fullscreen with a Win7 guest works for me. This should be really a different issue.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#28 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #26 from Alex Deucher <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#29 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #27 from Alex Deucher <[email protected]> 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=c919b371cb734f42b1130e706ecee262f8d9261d

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#30 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

--- Comment #28 from Alex Deucher <[email protected]> 2010-10-15 08:40:42 PDT --- (In reply to comment #27)

Quoted 2 lines

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=c919b371cb734f42b1130e706ecee262f8d9261d

Linus pulled this into 2.6.36:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c919b371cb734f42b1130e706ecee262f8d9261d

I'd like to get something into 2.6.35 stable as well.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#31 lore raw

[Bug 30188] X server crashes with a SIGBUS on Evergreen

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30188

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #29 from Alex Deucher <[email protected]> 2010-11-11 17:08:18 PST --- fixes pushed.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.