kdevelop crash while debugging

Roland Krause rokrau at yahoo.com
Thu Feb 22 20:27:05 GMT 2001


--- John Birch <jbb at kdevelop.org> wrote:
> What _do_ you see? I have no problems here at all. It really helps if
> you are 
> more informative with what is happening.

THere is no value for the string next to the name. 
Here is what I do: 

Set a breakpoint in GrepDialog::slotSearch (line 294 in the file)
Run kdevelop in kdevelops internal debugger, go someplace and right
click to grep something. 
Breakpoint is reached, then step through GrepDialog::slotSearch until 
files and files_temp should be initialized and have values. 

Now according to what you say there should be a value next to the name
in the debugger tab but there isnt.

Here is some of the debugger output that I get: 

(gdb) #0  GrepDialog::slotSearch (this=0x412040) at grepdialog.cpp:310
#1  0xee5d60f4 in QObject::activate_signal () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#2  0xee6ea8e0 in QButton::clicked () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#3  0xee63cab4 in QButton::mouseReleaseEvent () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#4  0xee6213c8 in QWidget::event () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#5  0xee5821e0 in QApplication::notify () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#6  0xeebfd5a4 in KApplication::notify () from
/devl/rkrause/kde2/lib/libkdecore.so.3
#7  0xee55026c in QETWidget::translateMouseEvent () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#8  0xee54d37c in QApplication::x11ProcessEvent () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#9  0xee54bf7c in QApplication::processNextEvent () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#10 0xee584284 in QApplication::enter_loop () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#11 0xee54bef0 in QApplication::exec () from
/devl/rkrause/qt-2.2.4/lib/libqt.so.2
#12 0x98758 in main (argc=1, argv=0xeffff00c) at main.cpp:117

(gdb) set prompt L
info local
set prompt i

(gdb) 
(gdb) files = {static null = {static null = <same as static member of
an already seen type>, d = 0x2b87a0, static shared_null = 0x2b87a0}, d
= 0xae4408, static shared_null = 0x2b87a0}
files_temp = {static null = {static null = <same as static member of an
already seen type>, d = 0x2b87a0, static shared_null = 0x2b87a0}, d =
0xade830, static shared_null = 0x2b87a0}
tokens = {<QValueList<QString>> = {sh = 0xb10868}, <No data fields>}
it = {node = 0xb10aa8}
pattern = {static null = {static null = <same as static member of an
already seen type>, d = 0x2b87a0, static shared_null = 0x2b87a0}, d =
0xb10910, static shared_null = 0x2b87a0}
filepattern = {static null = {static null = <same as static member of
an already seen type>, d = 0x2b87a0, static shared_null = 0x2b87a0}, d
= 0x4f, static shared_null = 0x2b87a0}



> What system are you running on? Self compiled? rpm?

Sun Solaris6, gcc-2.95.2, gdb-5.0, kde-2.1beta2, kdevelop-1.4cvs from
the day before yesterday. 
Everything self compiled. 

> 
> > Also kdevelop crashes when using the debugger after some time.
> 
> Why does it crash? Could you be running out of memory? 

No, I have about 500 Megs and about infinite swap space, i.e.i dont
even now. 

> gdb debugging kde2 
> apps uses lots of memory, especially if the kde2 libs have debugging
> symbols.

they dont. 

> 
> > Kdevelop is not exactly bootstrapping itself, is it?
> 
> Works really well for me.

I must be doing something really wrong, maybe its gdb-5.0. 
Appreciate your help though. 

Roland



=====
Roland Krause



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list