[Bug 25326] the radeon driver crash when resuming from changing vt

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 29 08:00:54 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25326


roberto previdi <hariseldon78 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG




--- Comment #4 from roberto previdi <hariseldon78 at gmail.com>  2009-11-29 08:00:53 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > is there a way to obtain a
> > more useful stack trace? maybe using gdb?
> > 
> 
> http://wiki.x.org/wiki/Development/Documentation/ServerDebugging
> 

ok! i followed the wiki and finally solved the problem. i put here the details
for the benefit of google searches:

roby-laptop ~ # gdb /usr/bin/Xorg $(pidof X)
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
Attaching to program: /usr/bin/Xorg, process 14287
Reading symbols from /usr/lib/libpciaccess.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpciaccess.so.0
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb79576e0 (LWP 14287)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libXfont.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfont.so.1
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libfontenc.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontenc.so.1
Reading symbols from /usr/lib/libpixman-1.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpixman-1.so.0
Reading symbols from /usr/lib/libhal.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libhal.so.1
Reading symbols from /usr/lib/libdbus-1.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libdbus-1.so.3
Reading symbols from /usr/lib/libXdmcp.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libz.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/librt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libfreetype.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /lib/libbz2.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1
Reading symbols from /usr/lib/libgssapi_krb5.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /lib/libcom_err.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libresolv.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so
Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libglx.so
Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so
Reading symbols from /usr/local/lib/libdrm.so.2...done.
Loaded symbols for /usr/local/lib/libdrm.so.2
Reading symbols from /usr/lib/xorg/modules/extensions/libdri2.so...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdri2.so
Reading symbols from /usr/lib/xorg/modules/drivers/radeon_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/drivers//radeon_drv.so
Reading symbols from /usr/lib/xorg/modules/input/mouse_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input//mouse_drv.so
Reading symbols from /usr/lib/xorg/modules/input/kbd_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input//kbd_drv.so
Reading symbols from /usr/lib/xorg/modules/libvgahw.so...done.
Loaded symbols for /usr/lib/xorg/modules//libvgahw.so
Reading symbols from /usr/lib/xorg/modules/libint10.so...done.
Loaded symbols for /usr/lib/xorg/modules//libint10.so
Reading symbols from /usr/lib/xorg/modules/libfb.so...done.
Loaded symbols for /usr/lib/xorg/modules//libfb.so
Reading symbols from /usr/lib/xorg/modules/libxaa.so...done.
Loaded symbols for /usr/lib/xorg/modules//libxaa.so
Reading symbols from /usr/lib/dri/r300_dri.so...done.
Loaded symbols for /usr/lib/dri/r300_dri.so
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/xorg/modules/input/synaptics_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input//synaptics_drv.so
0xb7ee6424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

[ctrl+alt+f1 on the server]

Program received signal SIGUSR1, User defined signal 1.
[Switching to Thread 0xb79576e0 (LWP 14287)]
0xb7ee6424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

[ctrl+alt+f7 on the server]

Program received signal SIGUSR1, User defined signal 1.
0xb7ee6424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0810f558 in xf86_reload_cursors ()
(gdb) bt f
#0  0x0810f558 in xf86_reload_cursors ()
No symbol table info available.
#1  0xb7866dd2 in ?? () from /usr/lib/xorg/modules/drivers//radeon_drv.so
No symbol table info available.
#2  0x08281888 in ?? ()
No symbol table info available.
#3  0x00000001 in ?? ()
No symbol table info available.
#4  0xbfe04318 in ?? ()
No symbol table info available.
#5  0x081090bd in xf86CrtcSetModeTransform ()
No symbol table info available.
Backtrace stopped: frame did not save the PC
(gdb) cont
Continuing.

Program received signal SIGABRT, Aborted.
0xb7ee6424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) quit

---------------------------------------------------------------

so searching google for xf86_reload_cursors () i found this page: 
http://lists.x.org/archives/xorg-driver-ati/2009-May/009609.html
.

so i removed the SWCursor option and the bug is gone!

thank you for the link and sorry for the duplication, but maybe someone will
come across this from a search and it can save some debug time...


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


More information about the xorg-driver-ati mailing list