how to debug "segment fault" problem in kdevelop?
明覺
shi.minjue at gmail.com
Sat Apr 25 18:56:13 BST 2009
Greetings!
I download the k3dsurf project(a kdevelop project) and compiled it in
kdevelop successfully, but when i run it, it says "segment fault", how
could I debug it? thanks. here is the gdb info:
-------------------------------------------------------------------------
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) run
Starting program: /root/workspace/C++/k3dsurf/bin/k3dsurf
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5d74a60 in ?? () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff5d74a60 in ?? () from /lib/libc.so.6
#1 0x00007ffff6ec4651 in glXWaitX () from /usr/lib/libGL.so.1
#2 0x00007ffff790c2a1 in QGLWidget::resizeEvent(QResizeEvent*) ()
from /usr/lib/libqt-mt.so.3
#3 0x00007ffff772f07b in QWidget::event(QEvent*) ()
from /usr/lib/libqt-mt.so.3
#4 0x00007ffff76a8953 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/libqt-mt.so.3
#5 0x00007ffff76a962e in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libqt-mt.so.3
#6 0x00007ffff76aa03a in QApplication::sendPostedEvents(QObject*, int) ()
from /usr/lib/libqt-mt.so.3
#7 0x00007ffff773018d in QWidget::show() () from /usr/lib/libqt-mt.so.3
#8 0x00007ffff772e5d1 in QWidget::showChildren(bool) ()
from /usr/lib/libqt-mt.so.3
#9 0x00007ffff7730260 in QWidget::show() () from /usr/lib/libqt-mt.so.3
#10 0x00007ffff772e5d1 in QWidget::showChildren(bool) ()
from /usr/lib/libqt-mt.so.3
#11 0x00007ffff7730260 in QWidget::show() () from /usr/lib/libqt-mt.so.3
#12 0x00007ffff78193c9 in QWidgetStack::show() () from /usr/lib/libqt-mt.so.3
#13 0x00007ffff772e5d1 in QWidget::showChildren(bool) ()
from /usr/lib/libqt-mt.so.3
#14 0x00007ffff7730260 in QWidget::show() () from /usr/lib/libqt-mt.so.3
------------------
(the project source code is downloaded from
http://www.kde-apps.org/content/show.php?content=25049)
--
My platform is debian-sid-amd64 gnome kdevelop.
More information about the KDevelop
mailing list