Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Please help with GDB - trying to provide backtrace.
Hi.
I am trying to provide a backtrace to the KDE developers for KDE4.
Kwin has a few nasty bugs that crash the system.
I have been asked to provide a backtrace, I have managed to get a backtrace with certain apps , however when I use gdb with opengl effects enabled it locks the system and I am unable to get to the konsole window, I have to go to a console window out of X and kill the gdb process.
Can anyone help me to get a backtrace of kwin ?
Cheers !
This post has been edited 1 times, last edit by "yossarianuk" (Apr 3rd 2008, 6:48pm)
RE: Can someone help me use gdb with kwin (trying to provide a backtrace)
I have now got gdb to continue however no output ever appears.
Please will somebody provide example lines so I can provide a backtrace and hopefully start solving this very serious bug (i have tried asking at various forums with no response..)
This is what i am doing
From console in kde (as root)
# ps aux | grep kwin (to find kwin pid)
# gdb kwin (pid)
I turn logging on by
# set logging on
I then try to debug by using
# continue
- after using continue I can start to use kde (kwin) again, however no more output is created.
Can someone please point me in the right direction I must be doing something wrong............
Cheers
i.e - here is (one of many) attempts
-------------------------------------------------------------
suse64:/home/morgan # cat /home/kde4user/gdb-kwin.txt
GNU gdb 6.6.50.20070726-cvs
Copyright (C) 2007 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 "x86_64-suse-linux".
(gdb) attach 13394
Attaching to process 13394
Reading symbols from /usr/bin/kwin...Reading symbols from /usr/lib/debug/usr/bin/kwin.debug...done.
Using host libthread_db library "/lib64/libthread_db.so.1".
done.
Reading symbols from /usr/lib64/libkdeinit4_kwin.so...Reading symbols from /usr/lib/debug/usr/lib64/libkdeinit4_kwin.so.debug...done.
done.
Loaded symbols for /usr/lib64/libkdeinit4_kwin.so
Reading symbols from /usr/lib64/libSM.so.6...done.
Loaded symbols for /usr/lib64/libSM.so.6
Reading symbols from /usr/lib64/libICE.so.6...done.
Loaded symbols for /usr/lib64/libICE.so.6
Reading symbols from /usr/lib64/libX11.so.6...done.
Loaded symbols for /usr/lib64/libX11.so.6
Reading symbols from /usr/lib64/libXext.so.6...done.
Loaded symbols for /usr/lib64/libXext.so.6
Reading symbols from /usr/lib64/libXft.so.2...done.
Loaded symbols for /usr/lib64/libXft.so.2
Reading symbols from /usr/lib64/libXau.so.6...done.
Loaded symbols for /usr/lib64/libXau.so.6
Reading symbols from /usr/lib64/libXdmcp.so.6...done.
Loaded symbols for /usr/lib64/libXdmcp.so.6
Reading symbols from /usr/lib64/libXpm.so.4...done.
Loaded symbols for /usr/lib64/libXpm.so.4
Reading symbols from /usr/lib64/libXfixes.so.3...done.
Loaded symbols for /usr/lib64/libXfixes.so.3
Reading symbols from /usr/lib64/libXrender.so.1...done.
Loaded symbols for /usr/lib64/libXrender.so.1
Reading symbols from /usr/lib64/libkdecorations.so.4...Reading symbols from /usr/lib/debug/usr/lib64/libkdecorations.so.4.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libkdecorations.so.4
Reading symbols from /usr/lib64/libkwineffects.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libkwineffects.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libkwineffects.so.1
Reading symbols from /usr/lib64/libQtSvg.so.4...done.
Loaded symbols for /usr/lib64/libQtSvg.so.4
Reading symbols from /usr/lib64/libkdecore.so.5...Reading symbols from /usr/lib/debug/usr/lib64/libkdecore.so.5.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libkdecore.so.5
Reading symbols from /usr/lib64/libQtCore.so.4...done.
Loaded symbols for /usr/lib64/libQtCore.so.4
Reading symbols from /lib64/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x2b7009a99ec0 (LWP 13394)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/lib64/libQtNetwork.so.4...done.
Loaded symbols for /usr/lib64/libQtNetwork.so.4
Reading symbols from /usr/lib64/libQtDBus.so.4...done.
Loaded symbols for /usr/lib64/libQtDBus.so.4
Reading symbols from /lib64/libz.so.1...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libbz2.so.1...done.
Loaded symbols for /lib64/libbz2.so.1
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /usr/lib64/libQtGui.so.4...done.
Loaded symbols for /usr/lib64/libQtGui.so.4
Reading symbols from /usr/lib64/libQtXml.so.4...done.
Loaded symbols for /usr/lib64/libQtXml.so.4
Reading symbols from /usr/lib64/libXtst.so.6...done.
Loaded symbols for /usr/lib64/libXtst.so.6
Reading symbols from /usr/lib64/libXcursor.so.1...done.
Loaded symbols for /usr/lib64/libXcursor.so.1
Reading symbols from /usr/lib64/libkdeui.so.5...Reading symbols from /usr/lib/debug/usr/lib64/libkdeui.so.5.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libkdeui.so.5
Reading symbols from /usr/lib64/libGL.so.1...done.
Loaded symbols for /usr/lib64/libGL.so.1
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libkwinnvidiahack.so.4...Reading symbols from /usr/lib/debug/usr/lib64/libkwinnvidiahack.so.4.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libkwinnvidiahack.so.4
Reading symbols from /usr/lib64/libXrandr.so.2...done.
Loaded symbols for /usr/lib64/libXrandr.so.2
Reading symbols from /usr/lib64/libXcomposite.so.1...done.
Loaded symbols for /usr/lib64/libXcomposite.so.1
Reading symbols from /usr/lib64/libXdamage.so.1...done.
Loaded symbols for /usr/lib64/libXdamage.so.1
Reading symbols from /usr/lib64/libstdc++.so.6...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libgcc_s.so.1...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /usr/lib64/libxcb-xlib.so.0...done.
Loaded symbols for /usr/lib64/libxcb-xlib.so.0
Reading symbols from /usr/lib64/libxcb.so.1...done.
Loaded symbols for /usr/lib64/libxcb.so.1
Reading symbols from /usr/lib64/libfontconfig.so.1...done.
Loaded symbols for /usr/lib64/libfontconfig.so.1
Reading symbols from /usr/lib64/libfreetype.so.6...done.
Loaded symbols for /usr/lib64/libfreetype.so.6
Reading symbols from /usr/lib64/libpng12.so.0...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/lib64/libXi.so.6...done.
Loaded symbols for /usr/lib64/libXi.so.6
Reading symbols from /usr/lib64/libXinerama.so.1...done.
Loaded symbols for /usr/lib64/libXinerama.so.1
Reading symbols from /usr/lib64/libgthread-2.0.so.0...done.
Loaded symbols for /usr/lib64/libgthread-2.0.so.0
Reading symbols from /lib64/librt.so.1...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/lib64/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib64/libglib-2.0.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libdbus-1.so.3...done.
Loaded symbols for /lib64/libdbus-1.so.3
Reading symbols from /usr/lib64/libGLcore.so.1...done.
Loaded symbols for /usr/lib64/libGLcore.so.1
Reading symbols from /usr/lib64/tls/libnvidia-tls.so.1...done.
Loaded symbols for /usr/lib64/tls/libnvidia-tls.so.1
Reading symbols from /lib64/libexpat.so.1...done.
Loaded symbols for /lib64/libexpat.so.1
Reading symbols from /usr/lib64/libpcre.so.0...done.
Loaded symbols for /usr/lib64/libpcre.so.0
Reading symbols from /usr/lib64/gconv/UTF-16.so...done.
Loaded symbols for /usr/lib64/gconv/UTF-16.so
Reading symbols from /usr/lib64/kde4/plugins/styles/oxygen.so...done.
Loaded symbols for /usr/lib64/kde4/plugins/styles/oxygen.so
Reading symbols from /usr/lib64/kde4/kwin3_oxygen.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/kwin3_oxygen.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/kwin3_oxygen.so
Reading symbols from /usr/lib64/kde4/kwin4_effect_builtins.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/kwin4_effect_builtins.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/kwin4_effect_builtins.so
Reading symbols from /usr/lib64/qt4/plugins/imageformats/libqgif.so...done.
Loaded symbols for /usr/lib64/qt4/plugins/imageformats/libqgif.so
Reading symbols from /usr/lib64/qt4/plugins/imageformats/libqjpeg.so...done.
Loaded symbols for /usr/lib64/qt4/plugins/imageformats/libqjpeg.so
Reading symbols from /usr/lib64/libjpeg.so.62...done.
Loaded symbols for /usr/lib64/libjpeg.so.62
Reading symbols from /usr/lib64/qt4/plugins/imageformats/libqmng.so...done.
Loaded symbols for /usr/lib64/qt4/plugins/imageformats/libqmng.so
Reading symbols from /usr/lib64/libmng.so.1...done.
Loaded symbols for /usr/lib64/libmng.so.1
Reading symbols from /usr/lib64/liblcms.so.1...done.
Loaded symbols for /usr/lib64/liblcms.so.1
Reading symbols from /usr/lib64/qt4/plugins/imageformats/libqsvg.so...done.
Loaded symbols for /usr/lib64/qt4/plugins/imageformats/libqsvg.so
Reading symbols from /usr/lib64/qt4/plugins/imageformats/libqtiff.so...done.
Loaded symbols for /usr/lib64/qt4/plugins/imageformats/libqtiff.so
Reading symbols from /usr/lib64/libtiff.so.3...done.
Loaded symbols for /usr/lib64/libtiff.so.3
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_dds.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_dds.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_dds.so
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_eps.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_eps.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_eps.so
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_exr.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_exr.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_exr.so
Reading symbols from /usr/lib64/libImath.so.4...done.
Loaded symbols for /usr/lib64/libImath.so.4
Reading symbols from /usr/lib64/libIlmImf.so.4...done.
Loaded symbols for /usr/lib64/libIlmImf.so.4
Reading symbols from /usr/lib64/libIex.so.4...done.
Loaded symbols for /usr/lib64/libIex.so.4
Reading symbols from /usr/lib64/libHalf.so.4...done.
Loaded symbols for /usr/lib64/libHalf.so.4
Reading symbols from /usr/lib64/libIlmThread.so.4...done.
Loaded symbols for /usr/lib64/libIlmThread.so.4
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_ico.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_ico.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_ico.so
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_jp2.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_jp2.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_jp2.so
Reading symbols from /usr/lib64/libjasper.so.1...done.
Loaded symbols for /usr/lib64/libjasper.so.1
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_pcx.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_pcx.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_pcx.so
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_psd.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_psd.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_psd.so
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_rgb.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_tga.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_tga.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_tga.so
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_xcf.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_xcf.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_xcf.so
Reading symbols from /usr/lib64/kde4/plugins/imageformats/kimg_xview.so...Reading symbols from /usr/lib/debug/usr/lib64/kde4/plugins/imageformats/kimg_xview.so.debug...done.
done.
Loaded symbols for /usr/lib64/kde4/plugins/imageformats/kimg_xview.so
0x00002b7006f0d9af in poll () from /lib64/libc.so.6
(gdb) continue
Continuing.