> If you have a checkout of /usr/xenocara ...
I have the cvsweb. I got the .core file with those instructions, run
gdb with my current X. I am not sure if snapshots X is compiled with
or without debug symbols.
Looking at some functions headers, I think I should mention that in
firefox the web page is loading a magnifier picture as a cursor as
soon as you hover on that image.
As for Xenocara recompile with debug symbols, is it hard to do it for
a novice like me?
$ gdb
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.4".
(gdb) file X
Reading symbols from /usr/X11R6/bin/X...done.
(gdb) core-file Xorg.core
Core was generated by `Xorg'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.26.1...done.
Loaded symbols for /usr/lib/libpthread.so.26.1
Loaded symbols for /usr/X11R6/bin/X
Symbols already loaded for /usr/lib/libpthread.so.26.1
Reading symbols from /usr/X11R6/lib/libpciaccess.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpciaccess.so.2.0
Reading symbols from /usr/X11R6/lib/libdrm.so.7.6...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.7.6
Reading symbols from /usr/X11R6/lib/libpixman-1.so.36.0...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.36.0
Reading symbols from /usr/X11R6/lib/libXfont2.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libXfont2.so.1.0
Reading symbols from /usr/X11R6/lib/libfontenc.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libfontenc.so.4.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.29.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.29.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libxshmfence.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libxshmfence.so.0.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/lib/libkvm.so.17.0...done.
Loaded symbols for /usr/lib/libkvm.so.17.0
Reading symbols from /usr/lib/libm.so.10.1...done.
Loaded symbols for /usr/lib/libm.so.10.1
Reading symbols from /usr/lib/libc.so.95.0...done.
Loaded symbols for /usr/lib/libc.so.95.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libglx.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libglx.so
Reading symbols from /usr/X11R6/lib/libGL.so.17.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.17.1
Reading symbols from /usr/lib/libexpat.so.12.0...done.
Loaded symbols for /usr/lib/libexpat.so.12.0
Reading symbols from /usr/X11R6/lib/libxcb-dri3.so.0.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri3.so.0.1
Reading symbols from /usr/X11R6/lib/libxcb-xfixes.so.1.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb-xfixes.so.1.2
Reading symbols from /usr/X11R6/lib/libxcb-present.so.0.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-present.so.0.1
Reading symbols from /usr/X11R6/lib/libxcb-sync.so.1.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb-sync.so.1.2
Reading symbols from /usr/X11R6/lib/libglapi.so.0.2...done.
Loaded symbols for /usr/X11R6/lib/libglapi.so.0.2
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb-glx.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-glx.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb-dri2.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri2.so.1.1
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.6.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libxcb.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.4.0
Reading symbols from /usr/X11R6/lib/modules/drivers/ati_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/drivers/ati_drv.so
Reading symbols from /usr/X11R6/lib/modules/drivers/radeon_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/drivers/radeon_drv.so
Reading symbols from /usr/X11R6/lib/libdrm_radeon.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libdrm_radeon.so.4.0
Reading symbols from /usr/X11R6/lib/libgbm.so.0.3...done.
Loaded symbols for /usr/X11R6/lib/libgbm.so.0.3
Reading symbols from /usr/X11R6/lib/modules/libfb.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libfb.so
Reading symbols from /usr/X11R6/lib/modules/libexa.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libexa.so
Reading symbols from /usr/X11R6/lib/modules/dri/r600_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/r600_dri.so
Reading symbols from /usr/lib/libelf.so.2.0...done.
Loaded symbols for /usr/lib/libelf.so.2.0
Reading symbols from /usr/lib/libc++.so.2.1...done.
Loaded symbols for /usr/lib/libc++.so.2.1
Reading symbols from /usr/lib/libc++abi.so.0.1...done.
Loaded symbols for /usr/lib/libc++abi.so.0.1
Reading symbols from /usr/X11R6/lib/modules/input/kbd_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/input/kbd_drv.so
Reading symbols from /usr/X11R6/lib/modules/input/ws_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/input/ws_drv.so
#0 0x00000c1fc33bc483 in drmmode_load_cursor_argb ()
from /usr/X11R6/lib/modules/drivers/radeon_drv.so
(gdb) bt
#0 0x00000c1fc33bc483 in drmmode_load_cursor_argb ()
from /usr/X11R6/lib/modules/drivers/radeon_drv.so
#1 0x00000c1fc33bc59d in drmmode_load_cursor_argb_check ()
from /usr/X11R6/lib/modules/drivers/radeon_drv.so
#2 0x00000c1d126f9b84 in xf86_load_cursor_argb () from /usr/X11R6/bin/X
#3 0x00000c1d12708923 in xf86ScreenSetCursor () from /usr/X11R6/bin/X
#4 0x00000c1d1270868a in xf86SetCursor () from /usr/X11R6/bin/X
#5 0x00000c1d12706b6f in xf86CursorSetCursor () from /usr/X11R6/bin/X
#6 0x00000c1d127fe0ac in miPointerUpdateSprite () from /usr/X11R6/bin/X
#7 0x00000c1d127fd46f in miPointerDisplayCursor () from /usr/X11R6/bin/X
#8 0x00000c1d1271c3b9 in CursorDisplayCursor () from /usr/X11R6/bin/X
#9 0x00000c1d1276f4a7 in AnimCurDisplayCursor () from /usr/X11R6/bin/X
#10 0x00000c1d12682865 in ChangeToCursor () from /usr/X11R6/bin/X
#11 0x00000c1d1267cd6e in WindowHasNewCursor () from /usr/X11R6/bin/X
#12 0x00000c1d126a7697 in ChangeWindowAttributes () from /usr/X11R6/bin/X
#13 0x00000c1d12666543 in ProcChangeWindowAttributes () from /usr/X11R6/bin/X
#14 0x00000c1d126659f1 in Dispatch () from /usr/X11R6/bin/X
#15 0x00000c1d1267196c in dix_main () from /usr/X11R6/bin/X
#16 0x00000c1d12657142 in ___start () from /usr/X11R6/bin/X
#17 0x0000000000000000 in ?? ()
(gdb) bt f
#0 0x00000c1fc33bc483 in drmmode_load_cursor_argb ()
from /usr/X11R6/lib/modules/drivers/radeon_drv.so
No symbol table info available.
#1 0x00000c1fc33bc59d in drmmode_load_cursor_argb_check ()
from /usr/X11R6/lib/modules/drivers/radeon_drv.so
No symbol table info available.
#2 0x00000c1d126f9b84 in xf86_load_cursor_argb () from /usr/X11R6/bin/X
No symbol table info available.
#3 0x00000c1d12708923 in xf86ScreenSetCursor () from /usr/X11R6/bin/X
No symbol table info available.
#4 0x00000c1d1270868a in xf86SetCursor () from /usr/X11R6/bin/X
No symbol table info available.
#5 0x00000c1d12706b6f in xf86CursorSetCursor () from /usr/X11R6/bin/X
No symbol table info available.
#6 0x00000c1d127fe0ac in miPointerUpdateSprite () from /usr/X11R6/bin/X
No symbol table info available.
#7 0x00000c1d127fd46f in miPointerDisplayCursor () from /usr/X11R6/bin/X
No symbol table info available.
#8 0x00000c1d1271c3b9 in CursorDisplayCursor () from /usr/X11R6/bin/X
No symbol table info available.
#9 0x00000c1d1276f4a7 in AnimCurDisplayCursor () from /usr/X11R6/bin/X
No symbol table info available.
#10 0x00000c1d12682865 in ChangeToCursor () from /usr/X11R6/bin/X
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#11 0x00000c1d1267cd6e in WindowHasNewCursor () from /usr/X11R6/bin/X
No symbol table info available.
#12 0x00000c1d126a7697 in ChangeWindowAttributes () from /usr/X11R6/bin/X
No symbol table info available.
#13 0x00000c1d12666543 in ProcChangeWindowAttributes () from /usr/X11R6/bin/X
No symbol table info available.
#14 0x00000c1d126659f1 in Dispatch () from /usr/X11R6/bin/X
No symbol table info available.
#15 0x00000c1d1267196c in dix_main () from /usr/X11R6/bin/X
No symbol table info available.
#16 0x00000c1d12657142 in ___start () from /usr/X11R6/bin/X
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
No comments:
Post a Comment