Bug 680685

Summary: [RV530] Null pointer dereference in radeon_r300_winsys_buffer_from_handle (ColorTiling off)
Product: [Fedora] Fedora Reporter: Ian Pilcher <ipilcher>
Component: mesaAssignee: Jérôme Glisse <jglisse>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: ajax, jglisse, mcepl
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-07 19:14:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
/etc/X11/xorg.conf.d/10-radeon.conf
none
/var/log/Xorg.0.log
none
dmesg
none
/var/log/Xorg.0.log
none
dmesg
none
/var/log/messages none

Description Ian Pilcher 2011-02-26 23:42:34 UTC
Description of problem:
I have been seeing KWin crashes when exiting OpenGL screensavers.  The
patch in this bug fixes the crashes:

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

Version-Release number of selected component (if applicable):
mesa-dri-drivers-7.10-0.27.fc15.x86_64

Comment 1 Matěj Cepl 2011-03-06 23:52:00 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Ian Pilcher 2011-03-07 17:19:05 UTC
Created attachment 482734 [details]
/etc/X11/xorg.conf.d/10-radeon.conf

No xorg.conf, but I do have the attached file to turn color tiling off.
(See https://bugs.freedesktop.org/show_bug.cgi?id=33929.)

Comment 3 Ian Pilcher 2011-03-07 17:19:54 UTC
Created attachment 482735 [details]
/var/log/Xorg.0.log

Comment 4 Ian Pilcher 2011-03-07 17:21:59 UTC
Created attachment 482736 [details]
dmesg

Comment 5 Ian Pilcher 2011-03-07 17:36:43 UTC
Created attachment 482741 [details]
/var/log/Xorg.0.log

Comment 6 Ian Pilcher 2011-03-07 17:37:21 UTC
Created attachment 482742 [details]
dmesg

Comment 7 Ian Pilcher 2011-03-07 17:43:29 UTC
Created attachment 482745 [details]
/var/log/messages

Requested log and configuration files attached.  All of these were
gathered after a KWin crash which was caused by the NULL pointer
dereference.

(I can reliably reproduce this when unlocking an OpenGL screensaver,
such as GLMatrix, when running KDE.  It doesn't happen every time.  If
the unlock dialog is rendered correctly, then the crash will *not*
occur; if the unlock dialog is mostly invisible then I know that the
crash will occur after I unlock the screen saver.)

Comment 8 Matěj Cepl 2011-03-13 00:14:49 UTC
> Option		"ColorTiling"		"off"

Actually, Xserver 1.10 has landed in F15/updates-testing so you may be able to get rid off this configuration file as well.

However, we shouldn't crash anyway. Passing the bug to developers.

Comment 9 Ian Pilcher 2011-04-25 14:24:18 UTC
I suspect that the root cause will be addressed by the patch in https://bugs.freedesktop.org/show_bug.cgi?id=35452.

Comment 10 Ian Pilcher 2011-05-07 19:14:16 UTC
I don't have Fedora on this system anymore, but this should be fixed in
1.10.1-14:

* Thu Apr 28 2011 Dave Airlie <airlied> 1.10.1-14
- backport upstream DRI2 fixes that are being screwed around with upstream