[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KDevelop MDI bug? or is it qt or KDE?
From:       "Pascal A. Niklaus" <Pascal.Niklaus () unibas ! ch>
Date:       2001-03-18 0:46:58
[Download RAW message or body]

While porting code to the KDE MDI framework provided by KDevelop, I noticed 
that my app crashed *sometimes* when I quit. When I later tried to track 
down the bug I believed to be in my app, I finally noticed that it also 
occurred in the KDE MDI application framework as it is created 
automatically by KDevelop 1.4 (although it occurred more rarely, I had to 
start and quit the application up to 20 times to get the effect...).

Is this a known problem? I'd appreciate any help with this very much... the 
sooner I can continue to work on the project the better...

Thanks,

Pascal Niklaus
Institute of Botany
University of Basel
Schoenbeinstrasse 6
CH-4056 Basel

Tel. ++41 61 267 3511 / Fax. ++41 61 267 3504
e-mail: 
<mailto:Pascal.Niklaus@unibas.ch>Pascal.Niklaus@unibas.<mailto:Pascal.Niklaus@unibas.ch>ch 
or 
<mailto:Pascal.Niklaus@gmx.ch>Pascal.Niklaus@gmx.<mailto:Pascal.Niklaus@gmx.ch>ch
_________________________________________________________


------------ system related infos:

KDE 2.1, Qt 2.2.4, and KDevelop 1.4 were compiled from source with gcc 
2.95.2 on a SuSE7.0 linux system. Otherwise the installation is *very* 
stable... I'm therefore pretty confident that it is not a hardware (RAM) 
related issue.

The crash can be reproduced by starting the app with F9, and immediately 
quitting in with CTRL-Q. As I said, it does not crash every time...
Here's the backtrace (the crash is caused by a segment violation):

0x40c10019 in __wait4 () from /lib/libc.so.6
#0  0x40c10019 in __wait4 () from /lib/libc.so.6
#1  0x40c6d718 in __DTOR_END__ () from /lib/libc.so.6
#2  0x404a2d10 in KCrash::defaultCrashHandler ()
    from /usr/local/kde2/lib/libkdecore.so.3
#3  0x40bad9e8 in __restore ()
     at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#4  0x40be11cf in free () at malloc.c:2952
#5  0x405581c4 in __builtin_delete () at ./cp/new2.cc:55
#6  0x40685f7a in QStringData::deleteSelf () from /usr/local/qt/lib/libqt.so.2
#7  0x8055181 in QString::~QString (this=0x808fd58, __in_chrg=2)
     at /usr/local/qt/include/qstring.h:652
#8  0x805603c in QValueListNode<QString>::~QValueListNode (this=0x808fd50,
     __in_chrg=3) at /usr/local/qt/include/qvaluelist.h:209
#9  0x8055f1c in QValueListPrivate<QString>::~QValueListPrivate (
     this=0x808fcf8, __in_chrg=3) at /usr/local/qt/include/qvaluelist.h:209
#10 0x8055d1b in QValueListPrivate<QString>::derefAndDelete (this=0x808fcf8)
     at /usr/local/qt/include/qvaluelist.h:198
#11 0x8055ae9 in QValueList<QString>::~QValueList (this=0x808fce8, __in_chrg=3)
     at /usr/local/qt/include/qvaluelist.h:322
#12 0x8055698 in QStringList::~QStringList (this=0x808fce8, __in_chrg=3)
     at kcite.cpp:247
#13 0x404d895d in QDict<QStringList>::deleteItem ()
    from /usr/local/kde2/lib/libkdecore.so.3
#14 0x40679e2a in QGDict::clear () from /usr/local/qt/lib/libqt.so.2
#15 0x40418bec in KStandardDirs::~KStandardDirs ()
    from /usr/local/kde2/lib/libkdecore.so.3
#16 0x404b0068 in KInstance::~KInstance ()
    from /usr/local/kde2/lib/libkdecore.so.3
#17 0x40451eac in KApplication::~KApplication ()
    from /usr/local/kde2/lib/libkdecore.so.3
#18 0x80530ee in main (argc=1, argv=0xbffff734) at main.cpp:74

--------- end of back trace ------



[Attachment #3 (text/html)]

<html>
While porting code to the KDE MDI framework provided by KDevelop, I
noticed that my app crashed *sometimes* when I quit. When I later tried
to track down the bug I believed to be in my app, I finally noticed that
it also occurred in the KDE MDI application framework as it is created
automatically by KDevelop 1.4 (although it occurred more rarely, I had to
start and quit the application up to 20 times to get the 
effect...).<br>
<br>
Is this a known problem? I'd appreciate any help with this very much...
the sooner I can continue to work on the project the better...<br>
<br>
Thanks,<br>
<br>
<tt>Pascal Niklaus<br>
Institute of Botany<br>
University of Basel<br>
Schoenbeinstrasse 6<br>
CH-4056 Basel<br>
<br>
Tel. ++41 61 267 3511 / Fax. ++41 61 267 3504<br>
e-mail:
<a href="mailto:Pascal.Niklaus@unibas.ch">Pascal.</a>Niklaus@unibas.<a \
href="mailto:Pascal.Niklaus@unibas.ch">ch</a> or <a \
href="mailto:Pascal.Niklaus@gmx.ch">Pascal.</a>Niklaus@gmx.<a \
href="mailto:Pascal.Niklaus@gmx.ch">ch<br> \
</a>_________________________________________________________<br> <br>
<br>
</tt>------------ system related infos:<br>
<br>
KDE 2.1, Qt 2.2.4, and KDevelop 1.4 were compiled from source with gcc 2.95.2 on a \
SuSE7.0 linux system. Otherwise the installation is *very* stable... I'm therefore \
pretty confident that it is not a hardware (RAM) related issue.<br> <br>
The crash can be reproduced by starting the app with F9, and immediately quitting in \
with CTRL-Q. As I said, it does not crash every time...<br> Here's the backtrace (the \
crash is caused by a segment violation):<br> <br>
<tt>0x40c10019 in __wait4 () from /lib/libc.so.6<br>
#0&nbsp; 0x40c10019 in __wait4 () from /lib/libc.so.6<br>
#1&nbsp; 0x40c6d718 in __DTOR_END__ () from /lib/libc.so.6<br>
#2&nbsp; 0x404a2d10 in KCrash::defaultCrashHandler ()<br>
&nbsp;&nbsp; from /usr/local/kde2/lib/libkdecore.so.3<br>
#3&nbsp; 0x40bad9e8 in __restore ()<br>
&nbsp;&nbsp;&nbsp; at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127<br>
#4&nbsp; 0x40be11cf in free () at malloc.c:2952<br>
#5&nbsp; 0x405581c4 in __builtin_delete () at ./cp/new2.cc:55<br>
#6&nbsp; 0x40685f7a in QStringData::deleteSelf () from \
/usr/local/qt/lib/libqt.so.2<br> #7&nbsp; 0x8055181 in QString::~QString \
(this=0x808fd58, __in_chrg=2)<br> &nbsp;&nbsp;&nbsp; at \
/usr/local/qt/include/qstring.h:652<br> #8&nbsp; 0x805603c in \
QValueListNode&lt;QString&gt;::~QValueListNode (this=0x808fd50,<br> \
&nbsp;&nbsp;&nbsp; __in_chrg=3) at /usr/local/qt/include/qvaluelist.h:209<br> \
#9&nbsp; 0x8055f1c in QValueListPrivate&lt;QString&gt;::~QValueListPrivate (<br> \
&nbsp;&nbsp;&nbsp; this=0x808fcf8, __in_chrg=3) at \
/usr/local/qt/include/qvaluelist.h:209<br> #10 0x8055d1b in \
QValueListPrivate&lt;QString&gt;::derefAndDelete (this=0x808fcf8)<br> \
&nbsp;&nbsp;&nbsp; at /usr/local/qt/include/qvaluelist.h:198<br> #11 0x8055ae9 in \
QValueList&lt;QString&gt;::~QValueList (this=0x808fce8, __in_chrg=3)<br> \
&nbsp;&nbsp;&nbsp; at /usr/local/qt/include/qvaluelist.h:322<br> #12 0x8055698 in \
QStringList::~QStringList (this=0x808fce8, __in_chrg=3)<br> &nbsp;&nbsp;&nbsp; at \
kcite.cpp:247<br> #13 0x404d895d in QDict&lt;QStringList&gt;::deleteItem ()<br>
&nbsp;&nbsp; from /usr/local/kde2/lib/libkdecore.so.3<br>
#14 0x40679e2a in QGDict::clear () from /usr/local/qt/lib/libqt.so.2<br>
#15 0x40418bec in KStandardDirs::~KStandardDirs ()<br>
&nbsp;&nbsp; from /usr/local/kde2/lib/libkdecore.so.3<br>
#16 0x404b0068 in KInstance::~KInstance ()<br>
&nbsp;&nbsp; from /usr/local/kde2/lib/libkdecore.so.3<br>
#17 0x40451eac in KApplication::~KApplication ()<br>
&nbsp;&nbsp; from /usr/local/kde2/lib/libkdecore.so.3<br>
#18 0x80530ee in main (argc=1, argv=0xbffff734) at main.cpp:74<br>
<br>
--------- end of back trace ------<br>
<br>
<br>
</html>


>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic