Bug 680685 - [RV530] Null pointer dereference in radeon_r300_winsys_buffer_from_handle (ColorTiling off)
Summary: [RV530] Null pointer dereference in radeon_r300_winsys_buffer_from_handle (Co...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jérôme Glisse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-26 23:42 UTC by Ian Pilcher
Modified: 2018-04-11 13:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-07 19:14:16 UTC
Type: ---


Attachments (Terms of Use)
/etc/X11/xorg.conf.d/10-radeon.conf (98 bytes, text/plain)
2011-03-07 17:19 UTC, Ian Pilcher
no flags Details
/var/log/Xorg.0.log (55.04 KB, text/plain)
2011-03-07 17:19 UTC, Ian Pilcher
no flags Details
dmesg (120.64 KB, text/plain)
2011-03-07 17:21 UTC, Ian Pilcher
no flags Details
/var/log/Xorg.0.log (52.04 KB, text/plain)
2011-03-07 17:36 UTC, Ian Pilcher
no flags Details
dmesg (322.48 KB, text/plain)
2011-03-07 17:37 UTC, Ian Pilcher
no flags Details
/var/log/messages (258.95 KB, text/plain)
2011-03-07 17:43 UTC, Ian Pilcher
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 33036 0 None None None Never
FreeDesktop.org 35452 0 None None None Never

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


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