Bug 22607 - wizard-created KDE MDI application crashes on quit
Summary: wizard-created KDE MDI application crashes on quit
Status: CLOSED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-18 00:18 UTC by Pascal Niklaus
Modified: 2002-10-23 19:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Niklaus 2001-03-18 00:16:06 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           KDE 2.1.0 
Severity:          normal
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.2
OS:                Linux
OS/Compiler notes: Not Specified

1) Create a KDE MDI application with the KDevelop wizard.
2) start it from the IDE with F9 and quit it immediately with CTRL-Q.
3) *sometimes* the application crashes. I needed to repeat the run-quit cycles 10-20 times.

The backtrace is as follows:
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


(Submitted via bugs.kde.org)
Comment 1 John Firebaugh 2002-08-31 02:25:43 UTC
Thank you for your bug report.
The bug that your reported no longer applies to the latest development (CVS) 
version of KDE. This is most probably because the bug has been fixed the 
application has been substantially modified or the application no longer 
exists. The bug report will be closed.
Comment 2 Roger Larsson 2002-10-23 19:57:54 UTC
Hmm... 
 
I see something that really resembles of the one reported here - but with 
CVS from 2002-10-22 
Note the this pointer for "derefAndDelete" 0x1 - not OK. 
Problem from somewhere earlier... (this is the kind of bug that can appear/ 
dissappear depending on pure chance...) 
 
- - - uninteresting stuff deleted - - - 
#5  <signal handler called> 
#6  QShared::deref (this=0x1) at /opt/qt-copy/include/qshared.h:50 
#7  0x080522f3 in QValueListPrivate<QString>::derefAndDelete (this=0x1) 
    at /opt/qt-copy/include/qvaluelist.h:234 
#8  0x080521d7 in QValueList<QString>::operator= (this=0x8448224,  
    l=@0xbfffe9a8) at /opt/qt-copy/include/qvaluelist.h:449 
#9  0x08051928 in QStringList::operator= (this=0x8448224,  
    _ctor_arg=@0xbfffe9a8) at kinit.cpp:315 
#10 0x40a63fe7 in QProcess::setArguments (this=0x84481d8, args=@0xbfffe9a8) 
    at kernel/qprocess.cpp:301 
#11 0x40a7cb5b in QWidget::event (this=0x84481d8, e=0xbfffe9a8) 
    at kernel/qwidget.cpp:4308 
#12 0x409fb179 in QApplication::internalNotify (this=0xbfffef58,  
    receiver=0x84481d8, e=0xbfffe9a8) at kernel/qapplication.cpp:2288 
#13 0x409fa870 in QApplication::notify (this=0xbfffef58, receiver=0x84481d8,  
    e=0xbfffe9a8) at kernel/qapplication.cpp:2096 
#14 0x40665e54 in KApplication::notify (this=0xbfffef58, receiver=0x84481d8,  
    event=0xbfffe9a8) at kapplication.cpp:440 
#15 0x40ddb4f4 in QApplication::sendSpontaneousEvent (receiver=0x84481d8,  
    event=0xbfffe9a8) at .moc/debug-shared-mt/../../kernel/qapplication.h:480 
#16 0x409a7c9d in QETWidget::translateMouseEvent (this=0x84481d8,  
    event=0xbfffed00) at kernel/qapplication_x11.cpp:4235 
#17 0x409a54b5 in QApplication::x11ProcessEvent (this=0xbfffef58,  
    event=0xbfffed00) at kernel/qapplication_x11.cpp:3383 
#18 0x409b7b4c in QEventLoop::processEvents (this=0x80b07f0, flags=4) 
    at kernel/qeventloop_x11.cpp:167 
#19 0x40a0dc00 in QEventLoop::enterLoop (this=0x80b07f0) 
    at kernel/qeventloop.cpp:188 
#20 0x40a0db45 in QEventLoop::exec (this=0x80b07f0) 
    at kernel/qeventloop.cpp:138 
#21 0x409fb375 in QApplication::exec (this=0xbfffef58) 
    at kernel/qapplication.cpp:2409 
#22 0x41357e94 in main (argc=3, argv=0x805f2a8) at konq_main.cc:130 
#23 0x0804dcc7 in launch (argc=3, _name=0x805f3bc "konqueror",  
- - - uninteresting stuff deleted - - -