Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184718 Details for
Bug 256036
x11-base/xorg-server-1.5.3-r1: gets killed by app-emulation/basiliskII-jit when radeon AND !vesa
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
debug.txt
debug.txt (text/plain), 29.67 KB, created by
Martin Mokrejš
on 2009-03-11 17:29:18 UTC
(
hide
)
Description:
debug.txt
Filename:
MIME Type:
Creator:
Martin Mokrejš
Created:
2009-03-11 17:29:18 UTC
Size:
29.67 KB
patch
obsolete
>mmokrejs 1098 974 0 17:15 pts/1 00:00:00 /bin/sh /usr/bin/startx >mmokrejs 1114 1098 0 17:15 pts/1 00:00:00 xinit /home/mmokrejs/.xinitrc -- -nolisten tcp -br -auth /home/mmokrejs/.serverauth.1098 -def >root 1115 1114 35 17:15 tty8 00:00:01 X :0 -nolisten tcp -br -auth /home/mmokrejs/.serverauth.1098 -deferglyphs 16 >mmokrejs 1137 1114 0 17:15 pts/1 00:00:00 fvwm2 >mmokrejs 1138 1137 0 17:15 pts/1 00:00:00 /usr/lib/fvwm/2.5.26/FvwmPager 7 4 none 0 8 0 2 >mmokrejs 1139 1137 0 17:15 pts/1 00:00:00 xterm -fa +ls +mb -rw -aw -fn -misc-fixed-medium-r-normal-*-20-*-*-*-*-*-iso8859-2 -e bash > > ># gdb -p 1115 >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". >Attaching to process 1115 >Reading symbols from /usr/bin/Xorg...done. >Reading symbols from /usr/lib/libpciaccess.so.0...done. >Loaded symbols for /usr/lib/libpciaccess.so.0 >Reading symbols from /lib/libdl.so.2...done. >Loaded symbols for /lib/libdl.so.2 >Reading symbols from /usr/lib/libXfont.so.1...done. >Loaded symbols for /usr/lib/libXfont.so.1 >Reading symbols from /usr/lib/libfreetype.so.6...Reading symbols from /usr/lib/debug/usr/lib/libfreetype.so.6.3.19.debug...done. >done. >Loaded symbols for /usr/lib/libfreetype.so.6 >Reading symbols from /lib/libbz2.so.1...done. >Loaded symbols for /lib/libbz2.so.1 >Reading symbols from /usr/lib/libXau.so.6...done. >Loaded symbols for /usr/lib/libXau.so.6 >Reading symbols from /usr/lib/libfontenc.so.1...done. >Loaded symbols for /usr/lib/libfontenc.so.1 >Reading symbols from /lib/libz.so.1...done. >Loaded symbols for /lib/libz.so.1 >Reading symbols from /usr/lib/libpixman-1.so.0...done. >Loaded symbols for /usr/lib/libpixman-1.so.0 >Reading symbols from /usr/lib/libhal.so.1...done. >Loaded symbols for /usr/lib/libhal.so.1 >Reading symbols from /usr/lib/libdbus-1.so.3...Reading symbols from /usr/lib/debug/usr/lib/libdbus-1.so.3.4.0.debug...done. >done. >Loaded symbols for /usr/lib/libdbus-1.so.3 >Reading symbols from /usr/lib/libXdmcp.so.6...done. >Loaded symbols for /usr/lib/libXdmcp.so.6 >Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. >Loaded symbols for /usr/lib/libcrypto.so.0.9.8 >Reading symbols from /lib/libm.so.6...done. >Loaded symbols for /lib/libm.so.6 >Reading symbols from /lib/librt.so.1...done. >Loaded symbols for /lib/librt.so.1 >Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1...done. >Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1 >Reading symbols from /lib/libc.so.6...done. >Loaded symbols for /lib/libc.so.6 >Reading symbols from /lib/ld-linux.so.2...done. >Loaded symbols for /lib/ld-linux.so.2 >Reading symbols from /lib/libpthread.so.0...done. >[Thread debugging using libthread_db enabled] >[New Thread 0xb7a40a40 (LWP 1115)] >Loaded symbols for /lib/libpthread.so.0 >Reading symbols from /usr/lib/xorg/modules/extensions/libxtrap.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libxtrap.so >Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libglx.so >Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so >Reading symbols from /usr/lib/libdrm.so.2...done. >Loaded symbols for /usr/lib/libdrm.so.2 >Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so >Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so >Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.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/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/xorg/modules/multimedia/theatre_detect_drv.so...done. >Loaded symbols for /usr/lib/xorg/modules/multimedia//theatre_detect_drv.so >Reading symbols from /usr/lib/dri/radeon_dri.so...done. >Loaded symbols for /usr/lib/dri/radeon_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 >Reading symbols from /usr/lib/xorg/modules/input/evdev_drv.so...done. >Loaded symbols for /usr/lib/xorg/modules/input//evdev_drv.so >0xb7f3d424 in __kernel_vsyscall () >(gdb) c >Continuing. > > >Program received signal SIGSEGV, Segmentation fault. >[Switching to Thread 0xb7a40a40 (LWP 1115)] >0x00000000 in ?? () >(gdb) >Continuing. > >Program terminated with signal SIGSEGV, Segmentation fault. >The program no longer exists. >(gdb) where >No stack. >(gdb) > > ># gdb /usr/bin/X ./core.X.1115 >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"... >Reading symbols from /usr/lib/libpciaccess.so.0...done. >Loaded symbols for /usr/lib/libpciaccess.so.0 >Reading symbols from /lib/libdl.so.2...done. >Loaded symbols for /lib/libdl.so.2 >Reading symbols from /usr/lib/libXfont.so.1...done. >Loaded symbols for /usr/lib/libXfont.so.1 >Reading symbols from /usr/lib/libfreetype.so.6...Reading symbols from /usr/lib/debug/usr/lib/libfreetype.so.6.3.19.debug...done. >done. >Loaded symbols for /usr/lib/libfreetype.so.6 >Reading symbols from /lib/libbz2.so.1...done. >Loaded symbols for /lib/libbz2.so.1 >Reading symbols from /usr/lib/libXau.so.6...done. >Loaded symbols for /usr/lib/libXau.so.6 >Reading symbols from /usr/lib/libfontenc.so.1...done. >Loaded symbols for /usr/lib/libfontenc.so.1 >Reading symbols from /lib/libz.so.1...done. >Loaded symbols for /lib/libz.so.1 >Reading symbols from /usr/lib/libpixman-1.so.0...done. >Loaded symbols for /usr/lib/libpixman-1.so.0 >Reading symbols from /usr/lib/libhal.so.1...done. >Loaded symbols for /usr/lib/libhal.so.1 >Reading symbols from /usr/lib/libdbus-1.so.3...Reading symbols from /usr/lib/debug/usr/lib/libdbus-1.so.3.4.0.debug...done. >done. >Loaded symbols for /usr/lib/libdbus-1.so.3 >Reading symbols from /usr/lib/libXdmcp.so.6...done. >Loaded symbols for /usr/lib/libXdmcp.so.6 >Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. >Loaded symbols for /usr/lib/libcrypto.so.0.9.8 >Reading symbols from /lib/libm.so.6...done. >Loaded symbols for /lib/libm.so.6 >Reading symbols from /lib/librt.so.1...done. >Loaded symbols for /lib/librt.so.1 >Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1...done. >Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1 >Reading symbols from /lib/libc.so.6...done. >Loaded symbols for /lib/libc.so.6 >Reading symbols from /lib/ld-linux.so.2...done. >Loaded symbols for /lib/ld-linux.so.2 >Reading symbols from /lib/libpthread.so.0...done. >Loaded symbols for /lib/libpthread.so.0 >Reading symbols from /usr/lib/xorg/modules/extensions/libxtrap.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libxtrap.so >Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libglx.so >Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so >Reading symbols from /usr/lib/libdrm.so.2...done. >Loaded symbols for /usr/lib/libdrm.so.2 >Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so >Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so >Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.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/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/xorg/modules/multimedia/theatre_detect_drv.so...done. >Loaded symbols for /usr/lib/xorg/modules/multimedia//theatre_detect_drv.so >Reading symbols from /usr/lib/dri/radeon_dri.so...done. >Loaded symbols for /usr/lib/dri/radeon_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 >Reading symbols from /usr/lib/xorg/modules/input/evdev_drv.so...done. >Loaded symbols for /usr/lib/xorg/modules/input//evdev_drv.so >Core was generated by `X :0 -nolisten tcp -br -auth /home/mmokrejs/.serverauth.1098 -deferglyphs 16'. >Program terminated with signal 11, Segmentation fault. >[New process 1115] >#0 0x00000000 in ?? () >(gdb) where >#0 0x00000000 in ?? () >(gdb) bt full >#0 0x00000000 in ?? () >No symbol table info available. >(gdb) > > > >To convince you I really have the debug symbols: > ># ldd /usr/bin/X | awk '{print$3}' | grep -v '^$' | grep -v '(' | while read l; do file $l*; done >/usr/lib/libpciaccess.so.0: symbolic link to `libpciaccess.so.0.10.2' >/usr/lib/libpciaccess.so.0.10.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/lib/libdl.so.2: symbolic link to `libdl-2.9.so' >/usr/lib/libXfont.so.1: symbolic link to `libXfont.so.1.4.1' >/usr/lib/libXfont.so.1.4.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/usr/lib/libfreetype.so.6: symbolic link to `libfreetype.so.6.3.19' >/usr/lib/libfreetype.so.6.3.19: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped >/lib/libbz2.so.1: symbolic link to `libbz2.so.1.0.5' >/lib/libbz2.so.1.0: symbolic link to `libbz2.so.1.0.5' >/lib/libbz2.so.1.0.5: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped >/usr/lib/libXau.so.6: symbolic link to `libXau.so.6.0.0' >/usr/lib/libXau.so.6.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/usr/lib/libfontenc.so.1: symbolic link to `libfontenc.so.1.0.0' >/usr/lib/libfontenc.so.1.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/lib/libz.so.1: symbolic link to `libz.so.1.2.3' >/lib/libz.so.1.2.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped >/usr/lib/libpixman-1.so.0: symbolic link to `libpixman-1.so.0.14.0' >/usr/lib/libpixman-1.so.0.14.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/usr/lib/libhal.so.1: symbolic link to `libhal.so.1.0.0' >/usr/lib/libhal.so.1.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/usr/lib/libdbus-1.so.3: symbolic link to `libdbus-1.so.3.4.0' >/usr/lib/libdbus-1.so.3.4.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped >/usr/lib/libXdmcp.so.6: symbolic link to `libXdmcp.so.6.0.0' >/usr/lib/libXdmcp.so.6.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/usr/lib/libcrypto.so.0.9.8: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/lib/libm.so.6: symbolic link to `libm-2.9.so' >/lib/librt.so.1: symbolic link to `librt-2.9.so' >/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped >/lib/libc.so.6: symbolic link to `libc-2.9.so' >/lib/libpthread.so.0: symbolic link to `libpthread-2.9.so' ># > ># cd /var/dumps/ ># ls -lat *X* >-rw------- 1 root mmokrejs 11448320 Mar 11 17:19 core.X.1115 >-rw------- 1 root mmokrejs 6852608 Feb 1 12:51 core.X.28832 >-rw------- 1 root mmokrejs 6545408 Feb 1 11:35 core.X.3725 ># > > > > > >In another attempt I tried: > ># gdb /usr/bin/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"... >(gdb) run >Starting program: /usr/bin/X >[Thread debugging using libthread_db enabled] > >X.Org X Server 1.5.3 >Release Date: 5 November 2008 >X Protocol Version 11, Revision 0 >Build Operating System: Linux 2.6.29-rc7 i686 >Current Operating System: Linux vrapenec 2.6.29-rc7 #2 Wed Mar 4 14:15:54 MET 2009 i686 >Build Date: 11 March 2009 01:02:53PM > > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. >Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 11 17:35:03 2009 >(==) Using config file: "/etc/X11/xorg.conf" >[New Thread 0xb7a71a40 (LWP 4188)] >[tcsetpgrp failed in terminal_inferior: Operation not permitted] >(EE) Failed to load module "freetype" (module does not exist, 0) >NTSC PAL > XRANDR name: VGA-0 > Connector: VGA > CRT1: INTERNAL_DAC1 > DDC reg: 0x60 > XRANDR name: LVDS > Connector: LVDS > LCD1: INTERNAL_LVDS > DDC reg: 0x0 > XRANDR name: S-video > Connector: S-video > TV1: INTERNAL_DAC2 > DDC reg: 0x0 >finished output detect: 0 >finished output detect: 1 >finished output detect: 2 >finished all detect >before xf86InitialConfiguration >after xf86InitialConfiguration >Entering TV Save >Save TV timing tables >saveTimingTables: reading timing tables >TV Save done >disable LVDS >disable primary dac >disable LVDS >disable TV >disable LVDS >init memmap >init common >init crtc1 >init pll1 >restore memmap >restore common >restore crtc1 >restore pll1 >set RMX >set LVDS >enable LVDS >disable primary dac >disable TV > >disable LVDS >finished PLL2 >Entering Restore TV >Restore TV PLL >Restore TVHV >Restore TV Restarts >Restore Timing Tables >Restore TV standard >Leaving Restore TV >error setting MTRR (base = 0xd8000000, size = 0x02000000, type = 1) Invalid argument (22) >Entering TV Save >Save TV timing tables >saveTimingTables: reading timing tables >TV Save done >disable LVDS >disable primary dac >disable LVDS >disable TV >disable LVDS >init memmap >init common >init crtc1 >init pll1 >restore memmap >restore common >restore crtc1 >restore pll1 >set RMX >set LVDS >enable LVDS >disable primary dac >disable TV >[config/dbus] couldn't register object path >disable LVDS >finished PLL2 >Entering Restore TV >Restore TV PLL >Restore TVHV >Restore TV Restarts >Restore Timing Tables >Restore TV standard >Leaving Restore TV >error setting MTRR (base = 0xd8000000, size = 0x02000000, type = 1) Invalid argument (22) >Entering TV Save >Save TV timing tables >saveTimingTables: reading timing tables >TV Save done >disable LVDS >disable primary dac >disable LVDS >disable TV >disable LVDS >init memmap >init common >init crtc1 >init pll1 >restore memmap >restore common >restore crtc1 >restore pll1 >set RMX >set LVDS >enable LVDS >disable primary dac >disable TV >[config/dbus] couldn't register object path > >^C > > >^C > > > > >^Z >[1]+ Stopped gdb /usr/bin/X ># killall X ># fg >gdb /usr/bin/X > > > >Quit >(gdb) >(gdb) where >#0 0xb7f70424 in __kernel_vsyscall () >#1 0xb7b6f86d in ___newselect_nocancel () from /lib/libc.so.6 >#2 0x081214fc in WaitForSomething (pClientsReady=0x85f0778) at WaitFor.c:236 >#3 0x08087814 in Dispatch () at dispatch.c:375 >#4 0x0806f17d in main (argc=1, argv=0xbff91374, envp=0x0) at main.c:438 >(gdb) > > >From the above you see that my apps incluing /usr/bin/X have debug symbols. >Please realize the very first object read by gdb was /usr/bin/Xorg and >the second is libpciaccess.so! > > > > > > > > > >Lets go again and try to start Xserver using startx as a user: > >$ startx & >[1] 4379 >xauth: creating new authority file /home/mmokrejs/.serverauth.4379 > > >X.Org X Server 1.5.3 >Release Date: 5 November 2008 >X Protocol Version 11, Revision 0 >Build Operating System: Linux 2.6.29-rc7 i686 >Current Operating System: Linux vrapenec 2.6.29-rc7 #2 Wed Mar 4 14:15:54 MET 2009 i686 >Build Date: 11 March 2009 01:02:53PM > > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. >Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 11 17:53:32 2009 >(==) Using config file: "/etc/X11/xorg.conf" >(EE) Failed to load module "freetype" (module does not exist, 0) >NTSC PAL > XRANDR name: VGA-0 > Connector: VGA > CRT1: INTERNAL_DAC1 > DDC reg: 0x60 > XRANDR name: LVDS > Connector: LVDS > LCD1: INTERNAL_LVDS > DDC reg: 0x0 > XRANDR name: S-video > Connector: S-video > TV1: INTERNAL_DAC2 > DDC reg: 0x0 >finished output detect: 0 >finished output detect: 1 >finished output detect: 2 >finished all detect >before xf86InitialConfiguration >after xf86InitialConfiguration >Entering TV Save >Save TV timing tables >saveTimingTables: reading timing tables >TV Save done >disable LVDS >disable primary dac >disable LVDS >disable TV >disable LVDS >init memmap >init common >init crtc1 >init pll1 >restore memmap >restore common >restore crtc1 >restore pll1 >set RMX >set LVDS >enable LVDS >disable primary dac >disable TV >[FvwmPager][FlocaleGetFontSet]: (5x8) Missing font charsets: >JISX0208.1983-0, KSC5601.1987-0, GB2312.1980-0, JISX0201.1976-0, ISO10646-1 > > >From an xterm on the local console I started the application and it killed X as usually: > >xinit: connection to X server lost. > >waiting for X server to shut down xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" > > > > >$ ls -lat /var/dumps/*X* >-rw------- 1 root mmokrejs 8851456 Mar 11 17:53 /var/dumps/core.X.4396 >-rw------- 1 root mmokrejs 11448320 Mar 11 17:19 /var/dumps/core.X.1115 >-rw------- 1 root mmokrejs 6852608 Feb 1 12:51 /var/dumps/core.X.28832 >-rw------- 1 root mmokrejs 6545408 Feb 1 11:35 /var/dumps/core.X.3725 >$ > ># gdb /usr/bin/X /var/dumps/core.X.4396 >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"... > >warning: Can't read pathname for load map: Input/output error. >Reading symbols from /usr/lib/libpciaccess.so.0...done. >Loaded symbols for /usr/lib/libpciaccess.so.0 >Reading symbols from /lib/libdl.so.2...done. >Loaded symbols for /lib/libdl.so.2 >Reading symbols from /usr/lib/libXfont.so.1...done. >Loaded symbols for /usr/lib/libXfont.so.1 >Reading symbols from /usr/lib/libfreetype.so.6...Reading symbols from /usr/lib/debug/usr/lib/libfreetype.so.6.3.19.debug...done. >done. >Loaded symbols for /usr/lib/libfreetype.so.6 >Reading symbols from /lib/libbz2.so.1...done. >Loaded symbols for /lib/libbz2.so.1 >Reading symbols from /usr/lib/libXau.so.6...done. >Loaded symbols for /usr/lib/libXau.so.6 >Reading symbols from /usr/lib/libfontenc.so.1...done. >Loaded symbols for /usr/lib/libfontenc.so.1 >Reading symbols from /lib/libz.so.1...done. >Loaded symbols for /lib/libz.so.1 >Reading symbols from /usr/lib/libpixman-1.so.0...done. >Loaded symbols for /usr/lib/libpixman-1.so.0 >Reading symbols from /usr/lib/libhal.so.1...done. >Loaded symbols for /usr/lib/libhal.so.1 >Reading symbols from /usr/lib/libdbus-1.so.3...Reading symbols from /usr/lib/debug/usr/lib/libdbus-1.so.3.4.0.debug...done. >done. >Loaded symbols for /usr/lib/libdbus-1.so.3 >Reading symbols from /usr/lib/libXdmcp.so.6...done. >Loaded symbols for /usr/lib/libXdmcp.so.6 >Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. >Loaded symbols for /usr/lib/libcrypto.so.0.9.8 >Reading symbols from /lib/libm.so.6...done. >Loaded symbols for /lib/libm.so.6 >Reading symbols from /lib/librt.so.1...done. >Loaded symbols for /lib/librt.so.1 >Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1...done. >Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1 >Reading symbols from /lib/libc.so.6...done. >Loaded symbols for /lib/libc.so.6 >Reading symbols from /lib/ld-linux.so.2...done. >Loaded symbols for /lib/ld-linux.so.2 >Reading symbols from /lib/libpthread.so.0...done. >Loaded symbols for /lib/libpthread.so.0 >Reading symbols from /usr/lib/xorg/modules/extensions/libxtrap.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libxtrap.so >Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libglx.so >Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so >Reading symbols from /usr/lib/libdrm.so.2...done. >Loaded symbols for /usr/lib/libdrm.so.2 >Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so >Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so >Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.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/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/xorg/modules/multimedia/theatre_detect_drv.so...done. >Loaded symbols for /usr/lib/xorg/modules/multimedia//theatre_detect_drv.so >Reading symbols from /usr/lib/dri/radeon_dri.so...done. >Loaded symbols for /usr/lib/dri/radeon_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 >Reading symbols from /usr/lib/xorg/modules/input/evdev_drv.so...done. >Loaded symbols for /usr/lib/xorg/modules/input//evdev_drv.so >Core was generated by `X :0 -nolisten tcp -br -auth /home/mmokrejs/.serverauth.4379 -deferglyphs 16'. >Program terminated with signal 11, Segmentation fault. >[New process 4396] >#0 0x00000000 in ?? () >(gdb) where >#0 0x00000000 in ?? () >(gdb) > > >Probably, the SUID application does not dump full dump. Please note the line > >warning: Can't read pathname for load map: Input/output error. > >I suspect that is the culprit. Probably /usr/bin/Xorg should have been in place. > > > > > > > > >So I have started startx as a user and attached gdb as root to it: > ># gdb -p 4475 >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". >Attaching to process 4475 >Reading symbols from /usr/bin/Xorg...done. >[cut] >0xb7fe8424 in __kernel_vsyscall () >(gdb) c >Continuing. > >Program received signal SIGSEGV, Segmentation fault. >[Switching to Thread 0xb7ae9a40 (LWP 4475)] >0xb000b398 in ?? () >(gdb) where >#0 0xb000b398 in ?? () >(gdb) > > >Where are the debug symbols? > > >$ ls -lat /var/dumps/ >total 128456 >drwxrwxrwt 2 root root 4096 Mar 11 18:04 . >-rw------- 1 root mmokrejs 9408512 Mar 11 18:04 core.X.4475 >-rw------- 1 root mmokrejs 8851456 Mar 11 17:53 core.X.4396 >-rw------- 1 root mmokrejs 11448320 Mar 11 17:19 core.X.1115 > > ># gdb /usr/bin/X /var/dumps/core.X.4475 >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"... >Reading symbols from /usr/lib/libpciaccess.so.0...done. >Loaded symbols for /usr/lib/libpciaccess.so.0 >Reading symbols from /lib/libdl.so.2...done. >Loaded symbols for /lib/libdl.so.2 >Reading symbols from /usr/lib/libXfont.so.1...done. >Loaded symbols for /usr/lib/libXfont.so.1 >Reading symbols from /usr/lib/libfreetype.so.6...Reading symbols from /usr/lib/debug/usr/lib/libfreetype.so.6.3.19.debug...done. >done. >Loaded symbols for /usr/lib/libfreetype.so.6 >Reading symbols from /lib/libbz2.so.1...done. >Loaded symbols for /lib/libbz2.so.1 >Reading symbols from /usr/lib/libXau.so.6...done. >Loaded symbols for /usr/lib/libXau.so.6 >Reading symbols from /usr/lib/libfontenc.so.1...done. >Loaded symbols for /usr/lib/libfontenc.so.1 >Reading symbols from /lib/libz.so.1...done. >Loaded symbols for /lib/libz.so.1 >Reading symbols from /usr/lib/libpixman-1.so.0...done. >Loaded symbols for /usr/lib/libpixman-1.so.0 >Reading symbols from /usr/lib/libhal.so.1...done. >Loaded symbols for /usr/lib/libhal.so.1 >Reading symbols from /usr/lib/libdbus-1.so.3...Reading symbols from /usr/lib/debug/usr/lib/libdbus-1.so.3.4.0.debug...done. >done. >Loaded symbols for /usr/lib/libdbus-1.so.3 >Reading symbols from /usr/lib/libXdmcp.so.6...done. >Loaded symbols for /usr/lib/libXdmcp.so.6 >Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. >Loaded symbols for /usr/lib/libcrypto.so.0.9.8 >Reading symbols from /lib/libm.so.6...done. >Loaded symbols for /lib/libm.so.6 >Reading symbols from /lib/librt.so.1...done. >Loaded symbols for /lib/librt.so.1 >Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1...done. >Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcc_s.so.1 >Reading symbols from /lib/libc.so.6...done. >Loaded symbols for /lib/libc.so.6 >Reading symbols from /lib/ld-linux.so.2...done. >Loaded symbols for /lib/ld-linux.so.2 >Reading symbols from /lib/libpthread.so.0...done. >Loaded symbols for /lib/libpthread.so.0 >Reading symbols from /usr/lib/xorg/modules/extensions/libxtrap.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libxtrap.so >Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libglx.so >Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so >Reading symbols from /usr/lib/libdrm.so.2...done. >Loaded symbols for /usr/lib/libdrm.so.2 >Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so >Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so >Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...done. >Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.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/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/xorg/modules/multimedia/theatre_detect_drv.so...done. >Loaded symbols for /usr/lib/xorg/modules/multimedia//theatre_detect_drv.so >Reading symbols from /usr/lib/dri/radeon_dri.so...done. >Loaded symbols for /usr/lib/dri/radeon_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 >Reading symbols from /usr/lib/xorg/modules/input/evdev_drv.so...done. >Loaded symbols for /usr/lib/xorg/modules/input//evdev_drv.so >Core was generated by `X :0 -nolisten tcp -br -auth /home/mmokrejs/.serverauth.4458 -deferglyphs 16'. >Program terminated with signal 11, Segmentation fault. >[New process 4475] >#0 0xb000b398 in ?? () >(gdb) where >#0 0xb000b398 in ?? () >(gdb) quit ># > >Again, no debug symbols accessible.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 256036
:
179372
| 184718