[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logging out fails in KDE4 (debian testing)



Yeah, it looks good, looks like it is an Xorg/Intel problem from the trace, adding xorg@lists.freedesktop.org to the cc list to see if this report is sufficient or if they would like you to submit the bug somewhere specific (bug tracker, etc).

On Thu, 1 Oct 2009, ??????? ?????? wrote:

Justin Piszcz wrote:


On Thu, 1 Oct 2009, ??????? ?????? wrote:

Justin Piszcz wrote:


On Thu, 1 Oct 2009, ??????? ?????? wrote:

Justin Piszcz wrote:
I installed xserver-xorg-video-intel-dbg but I don't know what to do
now. I reproduced it, and both at dmesg and /var/log/Xorg.log I get
exactly the same things that I posted earlier. With dbg, should I do
something different? Where does it write its trace?

Giorgos



Run ulimit -a and see if you have core files set to 0 or unlimited.

You want to run gdb against the core and run bt full for a full
backtrace and include that along with the logs for your report.

$ gdb application core.Xorg

gdb> bt full

Send this & logs in the bug report.




ulimit -a gives me:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 16382
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Other than that, I do not understand your instructions... For my
case where the 'application' crashing is the Xserver, how will I
run gdb on it?



You need to enable core files.

In a console:
1. ulimit -c unlimited
2. then reproduce the problem in that console (it should generate a
core file)
3. find / -type f | grep -i core  (it is normally in the directory
where you run the program)
4. gdb /usr/bin/Xorg /path/to/core
5. bt full
6. Send that in a bug report.

Justin.



Sorry to bother you again (maybe this advanced stuff should be left
to the advanced users but I would like to help with this bug...), but
the second step troubles me.

This thread goes about the xserver crashing when the user is logging
out of X. So, how should I do it? How should I start the xserver from
a console (not in X), so that when it crashes it leaves a core file?

sorry for my ignorance...
G.


Either enable global core files and reboot or run startx from the
command line, then logout of KDE and you should have a core file.

Justin.

Thanks for the help!
Does this look like it should? Is it useful for a bugreport?

mordor:~/tmp/xcrash# gdb /usr/bin/Xorg ./core
GNU gdb (GDB) 6.8.50.20090628-cvs-debian
Copyright (C) 2009 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
"x86_64-linux-gnu".
For bug reporting instructions, please
see:
<http://www.gnu.org/software/gdb/bugs/>...

(no debugging symbols
found)

warning: Can't read pathname for load map: Input/output error.
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/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for
/lib/libdl.so.2
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 /lib/libdbus-1.so.3...(no debugging symbols
found)...done.
Loaded symbols for
/lib/libdbus-1.so.3
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for
/lib/libpthread.so.0
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/libgcrypt.so.11...(no debugging symbols
found)...done.
Loaded symbols for
/usr/lib/libgcrypt.so.11
Reading symbols from /lib/libaudit.so.0...(no debugging symbols
found)...done.
Loaded symbols for
/lib/libaudit.so.0
Reading symbols from /lib/libselinux.so.1...(no debugging symbols
found)...done.
Loaded symbols for
/lib/libselinux.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 /lib/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for
/lib/libc.so.6
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols
found)...done.
Loaded symbols for
/usr/lib/libz.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for
/lib64/ld-linux-x86-64.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 /usr/lib/libgpg-error.so.0...(no debugging symbols
found)...done.
Loaded symbols for
/usr/lib/libgpg-error.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...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/xorg/modules/extensions//libdri.so

Reading symbols from /usr/lib/libdrm.so.2...(no debugging symbols
found)...done.
Loaded symbols for
/usr/lib/libdrm.so.2

Reading symbols from /usr/lib/xorg/modules/extensions//libdri2.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/xorg/modules/extensions//libdri2.so

Reading symbols from
/usr/lib/xorg/modules/drivers//intel_drv.so...Reading symbols from
/usr/lib/debug/usr/lib/xorg/modules/drivers/intel_drv.so...done.
done.

Loaded symbols for
/usr/lib/xorg/modules/drivers//intel_drv.so

Reading symbols from
/usr/lib/libdrm_intel.so.1...done.

Loaded symbols for
/usr/lib/libdrm_intel.so.1

Reading symbols from
/usr/lib/xorg/modules/drivers//vesa_drv.so...done.

Loaded symbols for
/usr/lib/xorg/modules/drivers//vesa_drv.so

Reading symbols from
/usr/lib/xorg/modules/drivers//fbdev_drv.so...done.

Loaded symbols for
/usr/lib/xorg/modules/drivers//fbdev_drv.so

Reading symbols from
/usr/lib/xorg/modules/linux//libfbdevhw.so...done.

Loaded symbols for
/usr/lib/xorg/modules/linux//libfbdevhw.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//libfb.so...done.

Loaded symbols for
/usr/lib/xorg/modules//libfb.so

Reading symbols from
/usr/lib/xorg/modules/input//evdev_drv.so...done.

Loaded symbols for
/usr/lib/xorg/modules/input//evdev_drv.so

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
/lib/libgcc_s.so.1...done.

Loaded symbols for
/lib/libgcc_s.so.1

Core was generated by `/usr/bin/X -br -nolisten tcp :0 vt7 -auth
/var/run/xauth/A:0-427wD7'.

Program terminated with signal 11, Segmentation
fault.

#0  0x0000000000499ea2 in xf86SetDGAMode
()

(gdb) bt full
#0  0x0000000000499ea2 in xf86SetDGAMode ()
No symbol table info available.
#1  0x000000000049860c in DGAShutdown ()
No symbol table info available.
#2  0x000000000046c8f5 in ddxGiveUp ()
No symbol table info available.
#3  0x00000000004f77dd in AbortServer ()
No symbol table info available.
#4  0x00000000004f7e80 in FatalError ()
No symbol table info available.
#5  0x00000000004840c9 in xf86SigHandler ()
No symbol table info available.
#6  <signal handler called>
No symbol table info available.
#7  0x00007fbd0e71b9d3 in drm_intel_bo_alloc () from
/usr/lib/libdrm_intel.so.1
No symbol table info available.
#8  0x00007fbd0e958846 in i830_allocate_memory_bo (pScrn=0x26b7340,
name=0x7fbd0e994cea "HW cursors", size=<value optimized out>, pitch=0,
alignment=<value optimized out>,
   flags=32, tile_format=TILE_NONE) at ../../src/i830_memory.c:728
       __PRETTY_FUNCTION__ = "i830_allocate_memory_bo"
#9  i830_allocate_memory (pScrn=0x26b7340, name=0x7fbd0e994cea "HW
cursors", size=<value optimized out>, pitch=0, alignment=<value
optimized out>, flags=32,
   tile_format=TILE_NONE) at ../../src/i830_memory.c:847
       mem = <value optimized out>
       pI830 = <value optimized out>
#10 0x00007fbd0e959144 in i830_allocate_cursor_buffers (pScrn=0x26b7340)
at ../../src/i830_memory.c:1144
No locals.
#11 i830_allocate_2d_memory (pScrn=0x26b7340) at
../../src/i830_memory.c:1274
       pI830 = 0x26b9860
#12 0x00007fbd0e94ed57 in i830_try_memory_allocation (pScrn=0x26b7340)
at ../../src/i830_driver.c:2292
       pI830 = 0x26b9860
       tiled = 1
#13 0x00007fbd0e9533b8 in i830_memory_init (scrnIndex=0,
pScreen=0x5580700, argc=<value optimized out>, argv=<value optimized
out>) at ../../src/i830_driver.c:2339
No locals.
#14 I830ScreenInit (scrnIndex=0, pScreen=0x5580700, argc=<value
optimized out>, argv=<value optimized out>) at ../../src/i830_driver.c:2684
       pScrn = 0x26b7340
       hwp = 0x26bab30
       pI830 = 0x26b9860
       visual = <value optimized out>
       from = <value optimized out>
#15 0x0000000000432ac6 in AddScreen ()
No symbol table info available.
#16 0x000000000046d2a1 in InitOutput ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#17 0x00000000004331d0 in main ()
No symbol table info available.
(gdb)




Reply to: