Bug 75066

Summary: KDevelop frequently crashes with SIGSEV on exit
Product: [Applications] kdevelop Reporter: Michael Nottebrock <lofi>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Nottebrock 2004-02-12 13:57:41 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    FreeBSD Ports

KDevelop crashes on exit when any kind of Project has been open before quitting. Generating a generic KDE application in KDevelop itself, then exiting reproduces the crash.

Backtrace follows:

#0  0x8072676 in QShared::deref (this=0x2f0072)
    at /usr/X11R6/include/qshared.h:50
#1  0x8072694 in QString::~QString (this=0x8e2b128, __in_chrg=2)
    at /usr/X11R6/include/qstring.h:846
#2  0x80836bc in HistoryEntry::~HistoryEntry (this=0x8e2b100, __in_chrg=3)
    at /usr/X11R6/include/qptrlist.h:150
#3  0x808363c in QPtrList<HistoryEntry>::deleteItem (this=0x89969bc,
    d=0x8e2b100) at /usr/X11R6/include/qptrlist.h:150
#4  0x29377ff5 in QGList::remove () from /usr/X11R6/lib/libqt-mt.so.3
#5  0x3287b551 in QPtrList<HistoryEntry>::remove (this=0x89969bc, d=0x8e2b100)
    at /usr/X11R6/include/qptrlist.h:85
#6  0x3287a6cb in HistoryPart::partRemoved (this=0x8996980, part=0x90cb400)
    at historypart.cpp:245
#7  0x3287a875 in HistoryPart::qt_invoke (this=0x8996980, _id=2, _o=0xbfbfede8)
    at historypart.moc:110
#8  0x29127b5a in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3
#9  0x28755ea9 in KParts::PartManager::partRemoved (this=0x8229a00,
    t0=0x90cb400) at partmanager.moc:143
#10 0x28755373 in KParts::PartManager::removePart (this=0x8229a00,
    part=0x90cb400) at partmanager.cpp:344
#11 0x807d7c4 in PartController::closePart (this=0x8229a00, part=0x90cb400)
    at partcontroller.cpp:625
#12 0x807e298 in PartController::closeWindows (this=0x8229a00,
    ignoreList=@0xbfbfeffc) at partcontroller.cpp:791
#13 0x807e315 in PartController::closeAllWindows (this=0x8229a00)
    at partcontroller.cpp:801
#14 0x8084b26 in ProjectManager::closeProject (this=0x8239c80)
    at projectmanager.cpp:326
#15 0x807a50d in Core::queryClose (this=0x826c740) at core.cpp:67
#16 0x80735e8 in MainWindow::queryClose (this=0x81cbc00) at mainwindow.cpp:332
#17 0x28b97344 in KMainWindow::closeEvent (this=0x81cbc00, e=0xbfbff37c)
    at kmainwindow.cpp:571
#18 0x29153d99 in QWidget::event () from /usr/X11R6/lib/libqt-mt.so.3
#19 0x291f3bf4 in QMainWindow::event () from /usr/X11R6/lib/libqt-mt.so.3
#20 0x285b7977 in KMdiMainFrm::event (this=0x81cbc00, e=0xbfbff37c)
    at kmdimainfrm.cpp:1009
#21 0x290d8775 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#22 0x290d83e0 in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#23 0x28d6b921 in KApplication::notify (this=0xbfbff6e8, receiver=0x81cbc00,
    event=0xbfbff37c) at kapplication.cpp:506
#24 0x29153362 in QWidget::close () from /usr/X11R6/lib/libqt-mt.so.3
#25 0x2908355b in QETWidget::translateCloseEvent ()
   from /usr/X11R6/lib/libqt-mt.so.3
#26 0x2907de9f in QApplication::x11ClientMessage ()
   from /usr/X11R6/lib/libqt-mt.so.3
#27 0x2907f6c2 in QApplication::x11ProcessEvent ()
   from /usr/X11R6/lib/libqt-mt.so.3
#28 0x29091b75 in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#29 0x290e9876 in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#30 0x290e97ba in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#31 0x290d890d in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#32 0x80722e6 in main (argc=1, argv=0xbfbff848) at main.cpp:128
Comment 1 Jens Dagerbo 2004-02-12 14:14:11 UTC
Dupe.

Workaround: disable the history plugin. 

*** This bug has been marked as a duplicate of 57902 ***