Bug 18045

Summary: Crash with radeon driver
Product: Mesa Reporter: Mark van Rossum <mvanross>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Mark van Rossum 2008-10-13 09:54:31 UTC
Hi 

I get random crashes with the radeon driver.
Fedora 9, with kde4 and a ati FireGlt2 (9600) card
(recently updated from FC8).

tail of Xorg.0.log:


(II) RADEON(0): Adding Screen mode: 640x480
(II) RADEON(0): Total number of valid Screen mode(s) added: 7
(II) RADEON(0): Output: S-video, Detected Monitor Type: 0
FreeType: couldn't open face /usr/share/X11/fonts/Type1/cour.pfa: 1
FreeType: couldn't open face /usr/share/X11/fonts/Type1/cour.pfa: 1
FreeType: couldn't open face /usr/share/X11/fonts/Type1/cour.pfa: 1

Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x79) [0x80bc549]
1: [0x110400]
2: /usr/lib/dri/r300_dri.so(r300DestroyTexObj+0x69) [0x5c17e9]
3: /usr/lib/dri/r300_dri.so(driDestroyTextureObject+0x55) [0x5ac7c7]
4: /usr/lib/dri/r300_dri.so [0x5c33f9]
5: /usr/lib/dri/libdricore.so [0xd89b11]
6: /usr/lib/dri/libdricore.so(_mesa_HashDeleteAll+0x48) [0xdbc97a]
7: /usr/lib/dri/libdricore.so [0xd8a10d]
8: /usr/lib/dri/libdricore.so(_mesa_free_context_data+0x19f) [0xd8aad2]
9: /usr/lib/dri/libdricore.so(_mesa_destroy_context+0x20) [0xd8ab27]
10: /usr/lib/dri/r300_dri.so(radeonCleanupContext+0x1d) [0x5b1bd6]
11: /usr/lib/dri/r300_dri.so(r300DestroyContext+0x3c5) [0x5b6ed9]
12: /usr/lib/dri/r300_dri.so [0x5b088c]
13: /usr/lib/dri/r300_dri.so [0x5ad5ee]
14: /usr/lib/xorg/modules/extensions//libglx.so [0x1b7559]
15: /usr/lib/xorg/modules/extensions//libglx.so(__glXFreeContext+0x89) [0x1ac3e9]
16: /usr/lib/xorg/modules/extensions//libglx.so [0x1ac437]
17: /usr/bin/Xorg(FreeClientResources+0xe6) [0x806dab6]
18: /usr/bin/Xorg(CloseDownClient+0x6f) [0x807fddf]
19: /usr/bin/Xorg(Dispatch+0x1e0) [0x8085c40]
20: /usr/bin/Xorg(main+0x47d) [0x806b63d]
21: /lib/libc.so.6(__libc_start_main+0xe6) [0x3cc5d6]
22: /usr/bin/Xorg(FontFileCompleteXLFD+0x22d) [0x806aa21]

How to debug further?
Comment 1 Michel Dänzer 2008-10-13 17:56:07 UTC
> I get random crashes with the radeon driver.

The backtrace you pasted indicates the crash happened when cleaning up GLX resources for an indirect rendering context. Unless you're intentionally running 3D apps with indirect rendering, this could indicate a configuration problem preventing direct rendering, or that kwin crashed.

> How to debug further?

A more useful backtrace could be obtained with gdb (making sure debugging symbols are available).
Comment 2 Mark van Rossum 2008-10-14 08:34:45 UTC
I have been able to pinpoint this a bit further.

I can reliably crash X11 (both under gnome and KDE) using Mathematica 6.0.
I do a Plot3D (which calls 3d rendering), and then quit the application.
This crashes X11.

Interestingly, it only happens in XAA but not in EXA mode.
Comment 3 Maciej Cencora 2009-10-10 03:12:55 UTC
Can you reproduce it with newest mesa and xf86-video-ati?
Comment 4 Maciej Cencora 2010-03-07 13:21:07 UTC
Closing due to lack of user feedback.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.