Bug 73346 - kdevelop crashes when opening or creating a second project
Summary: kdevelop crashes when opening or creating a second project
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
: 74454 74659 74860 75574 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-23 19:02 UTC by Sean Harmer
Modified: 2006-02-08 18:56 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The backtrace (7.25 KB, text/plain)
2006-02-08 18:56 UTC, greatbunzinni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Harmer 2004-01-23 19:02:27 UTC
Version:           3.0.0 (using KDE 3.2.0, Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux (i686) release 2.6.0-gentoo

Kdevelop 3.0.0rc1 opens or creates the first project without a problem. However, if you have already been working on a project and you then either try to open a different project or create a new one, kdevelop crashes. I have tried this on 2 separate machines running gentoo with kdevelop compiled from sources. The crash occurs whether you close the first project or not. As an example, the following backtrace was generated when trying to create a new KDE project:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 22567)]
[New Thread 32769 (LWP 22572)]
0x415fdf88 in waitpid ()
   from /lib/libpthread.so.0
#0  0x415fdf88 in waitpid () from /lib/libpthread.so.0
#1  0x40ddf4ce in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/cvs/lib/libkdecore.so.4
#2  0x415fcdfa in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40beadfc in KDockWidget::mayBeHide() const ()
   from /usr/kde/cvs/lib/libkdeui.so.4
#5  0x404ddbac in KMDIPrivate::ToggleToolViewAction::anDWChanged() ()
   from /usr/kde/cvs/lib/libkmdi.so.1
#6  0x404dd7ca in KMDIPrivate::ToggleToolViewAction::qt_invoke(int, QUObject*)
    () from /usr/kde/cvs/lib/libkmdi.so.1
#7  0x411a2188 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#8  0x411a2044 in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#9  0x40be8685 in KDockWidget::event(QEvent*) ()
   from /usr/kde/cvs/lib/libkdeui.so.4
#10 0x411473a5 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#11 0x41146795 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#12 0x40d3b65c in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/cvs/lib/libkdecore.so.4
#13 0x411d5995 in QWidget::show() () from /usr/qt/3/lib/libqt-mt.so.3
#14 0x40be84c9 in KDockWidget::show() () from /usr/kde/cvs/lib/libkdeui.so.4
#15 0x411d5efd in QWidget::showChildren(bool) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#16 0x411d589e in QWidget::show() () from /usr/qt/3/lib/libqt-mt.so.3
#17 0x412da720 in QWidgetStack::show() () from /usr/qt/3/lib/libqt-mt.so.3
#18 0x404d606b in KMdiDockContainer::tabClicked(int) ()
   from /usr/kde/cvs/lib/libkmdi.so.1
#19 0x404d517b in KMdiDockContainer::showWidget(KDockWidget*) ()
   from /usr/kde/cvs/lib/libkmdi.so.1
#20 0x40beb028 in KDockWidget::makeDockVisible() ()
   from /usr/kde/cvs/lib/libkdeui.so.4
#21 0x40be43a3 in KDockMainWindow::makeDockVisible(KDockWidget*) ()
   from /usr/kde/cvs/lib/libkdeui.so.4
#22 0x08065a23 in QGListIterator::~QGListIterator() ()
#23 0x4d485d39 in MakeWidget::startNextJob() ()
   from /usr/lib/kde3/libkdevoutputviews.so
#24 0x4d485715 in MakeWidget::queueJob(QString const&, QString const&) ()
   from /usr/lib/kde3/libkdevoutputviews.so
#25 0x4d483a13 in MakeViewPart::queueCommand(QString const&, QString const&) ()
   from /usr/lib/kde3/libkdevoutputviews.so
#26 0x4d529812 in AppWizardDialog::accept() ()
   from /usr/lib/kde3/libkdevappwizard.so
#27 0x414e246b in QDialog::qt_invoke(int, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#28 0x414e61f3 in QWizard::qt_invoke(int, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0x4d5376ba in AppWizardDialogBase::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/libkdevappwizard.so
#30 0x4d52c374 in AppWizardDialog::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/libkdevappwizard.so
#31 0x411a2210 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#32 0x411a2044 in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#33 0x414c27ae in QButton::clicked() () from /usr/qt/3/lib/libqt-mt.so.3
#34 0x4122e0aa in QButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#35 0x411d69ac in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#36 0x411473a5 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#37 0x41146888 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#38 0x40d3b65c in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/cvs/lib/libkdecore.so.4
#39 0x410dfdb8 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#40 0x410dd549 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#41 0x410f3e77 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#42 0x4115a606 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#43 0x41147651 in QApplication::enter_loop() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#44 0x4131f541 in QDialog::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#45 0x4d524484 in AppWizardPart::slotNewProject() ()
   from /usr/lib/kde3/libkdevappwizard.so
#46 0x4d524c86 in AppWizardPart::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/libkdevappwizard.so
#47 0x411a2210 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#48 0x411a2044 in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#49 0x40acfc7b in KAction::slotActivated() ()
   from /usr/kde/cvs/lib/libkdeui.so.4
#50 0x40ad0712 in KAction::qt_invoke(int, QUObject*) ()
   from /usr/kde/cvs/lib/libkdeui.so.4
#51 0x411a2210 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#52 0x414bc262 in QSignal::signal(QVariant const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#53 0x411bc148 in QSignal::activate() () from /usr/qt/3/lib/libqt-mt.so.3
#54 0x412a0e9d in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#55 0x411d69ac in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#56 0x411473a5 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#57 0x41146888 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#58 0x40d3b65c in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/cvs/lib/libkdecore.so.4
#59 0x410df99d in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#60 0x410dd549 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#61 0x410f3e77 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#62 0x4115a606 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#63 0x4115a4a8 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#64 0x411475f1 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#65 0x080622ba in QGListIterator::~QGListIterator() ()
#66 0x4174c90b in __libc_start_main () from /lib/libc.so.6

The expected behaviour is for kdevelop to close the already open project and to open/create a new project without crashing.

Sean Harmer
Comment 1 Jens Dagerbo 2004-01-23 19:16:56 UTC
>>>I have tried this on 2 separate machines running gentoo with kdevelop compiled from sources.<<<

Meaning you are not using the gentoo ebuild?

>>>The crash occurs whether you close the first project or not.<<<

Meaning closing the project doesn't crash, but opening a new one thereafter does?

Comment 2 Sean Harmer 2004-01-23 19:58:19 UTC
Subject: Re:  kdevelop crashes when opening or creating a second project

Hi,

On Friday 23 January 2004 18:16, Jens Dagerbo wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=73346
>
>
>
>
> ------- Additional Comments From jens.dagerbo@swipnet.se  2004-01-23 19:16
> -------
>
> >>>I have tried this on 2 separate machines running gentoo with kdevelop
> >>> compiled from sources.<<<
>
> Meaning you are not using the gentoo ebuild?

Yes, I am using the gentoo rc1 ebuild. I thought the gentoo packages option 
referred to the precompiled gentoo binary packages.

>
> >>>The crash occurs whether you close the first project or not.<<<
>
> Meaning closing the project doesn't crash, but opening a new one thereafter
> does?

That is correct. No kdevelop does not crash when you close an opened project. 
It is when you try to then open or create one.

Sean

Comment 3 Jarkko Haapalainen 2004-01-23 21:06:26 UTC
Yeah, same problem here. Is this duplicate of bug 69906 http://bugs.kde.org/show_bug.cgi?id=69906 ?
Comment 4 Jens Dagerbo 2004-01-23 21:48:30 UTC
No, I doubt it is a dupe of bug #69906, but it might be related to bug #73045.
Comment 5 Mark Saward 2004-02-04 03:49:11 UTC
I think I have the same crash, my backtrace is in this comment.  When I open kdevelop, it automatically opens a project.  If I then try to open another project, start a new project (when I hit "finish"), or if I close the project then quit.
The backtrace is from trying to create a new SDL project, after I hit "finish":
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17686)]
[New Thread 32769 (LWP 17819)]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17686)]
[New Thread 32769 (LWP 17819)]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17686)]
[New Thread 32769 (LWP 17819)]
0x4165b89a in waitpid () from /lib/libpthread.so.0
#0  0x4165b89a in waitpid () from /lib/libpthread.so.0
#1  0x40d366bd in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#2  0x4165a635 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40b674dc in KDockWidget::mayBeHide() const ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#5  0x404dd6bc in KMDIPrivate::ToggleToolViewAction::anDWChanged() ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#6  0x404dd368 in KMDIPrivate::ToggleToolViewAction::qt_invoke(int, QUObject*)
    () from /usr/kde/3.2/lib/libkmdi.so.1
#7  0x410ee3d9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#8  0x410ee28c in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#9  0x40b751db in KDockManager::change() () from /usr/kde/3.2/lib/libkdeui.so.4
#10 0x40b65941 in KDockWidget::manualDock(KDockWidget*, KDockWidget::DockPosition, int, QPoint, bool, int) () from /usr/kde/3.2/lib/libkdeui.so.4
#11 0x404dc4c5 in KMdiToolViewAccessor::place(KDockWidget::DockPosition, QWidget*, int) () from /usr/kde/3.2/lib/libkmdi.so.1
#12 0x404c6284 in KMdiMainFrm::addToolWindow(QWidget*, KDockWidget::DockPosition, QWidget*, int, QString const&, QString const&) ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#13 0x08064efd in MainWindow::embedSelectView(QWidget*, QString const&, QString const&) ()
#14 0x427357bb in FileCreatePart::setWidget(FileCreate::TypeChooser*) ()
   from /usr/lib/kde3/libkdevfilecreate.so
#15 0x42735646 in FileCreatePart::selectWidget(int) ()
   from /usr/lib/kde3/libkdevfilecreate.so
#16 0x4273514e in FileCreatePart::FileCreatePart(QObject*, char const*, QStringList const&) () from /usr/lib/kde3/libkdevfilecreate.so
#17 0x42739cc7 in KGenericFactory<FileCreatePart, QObject>::createObject(QObject*, char const*, char const*, QStringList const&) ()
   from /usr/lib/kde3/libkdevfilecreate.so
#18 0x40d4f481 in KLibFactory::create(QObject*, char const*, char const*, QStringList const&) () from /usr/kde/3.2/lib/libkdecore.so.4
#19 0x080780aa in KDevCreateFile* KParts::ComponentFactory::createInstanceFromFactory<KDevCreateFile>(KLibFactory*, QObject*, char const*, QStringList const&)
    ()
#20 0x08077f17 in KDevCreateFile* KParts::ComponentFactory::createInstanceFromLibrary<KDevCreateFile>(char const*, QObject*, char const*, QStringList const&, int*) ()
#21 0x08077d29 in KDevCreateFile* KParts::ComponentFactory::createInstanceFromService<KDevCreateFile>(KSharedPtr<KService> const&, QObject*, char const*, QStringList const&, int*) ()
#22 0x08076a4b in ProjectManager::loadCreateFileSupport() ()
#23 0x080748ab in ProjectManager::loadProject(KURL const&) ()
#24 0x080779a3 in ProjectManager::qt_invoke(int, QUObject*) ()
#25 0x410ee463 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#26 0x40a8c7d2 in KRecentFilesAction::urlSelected(KURL const&) ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#27 0x40a84a00 in KRecentFilesAction::itemSelected(QString const&) ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#28 0x40a8c987 in KRecentFilesAction::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#29 0x410ee463 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#30 0x410ee8ec in QObject::activate_signal(int, QString) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#31 0x40a8be55 in KSelectAction::activated(QString const&) ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#32 0x40a84f25 in KRecentFilesAction::slotActivated() ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#33 0x40a8ca05 in KRecentFilesAction::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#34 0x410ee463 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#35 0x413e7267 in QSignal::signal(QVariant const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#36 0x411068b5 in QSignal::activate() () from /usr/qt/3/lib/libqt-mt.so.3
#37 0x4110d80c in QSingleShotTimer::event(QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#38 0x410958fd in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#39 0x41094ce9 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#40 0x40ca7b4c in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#41 0x4108507e in QEventLoop::activateTimers() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#42 0x41044b98 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#43 0x410a7cdb in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#44 0x410a7b84 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#45 0x41095b70 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#46 0x08062567 in main ()
Comment 6 cjacker 2004-02-08 01:44:50 UTC
I fixed it like this in kdelibs/kmdi, my system is:

qt-3.2.3
kde-3.2
kdevelop-3.0.0

diff -Nur kdelibs-3.2.0/kmdi/kmdiguiclient.cpp kdelibs-3.2.0new/kmdi/kmdiguiclient.cpp
--- kdelibs-3.2.0/kmdi/kmdiguiclient.cpp        2004-01-17 07:53:20.000000000 -0500
+++ kdelibs-3.2.0new/kmdi/kmdiguiclient.cpp     2004-02-08 08:40:36.464098040 -0500
@@ -61,7 +61,7 @@
 {
   if (m_dw) {
     connect(this,SIGNAL(toggled(bool)),this,SLOT(slotToggled(bool)));
-    connect(m_dw->dockManager(),SIGNAL(change()),this,SLOT(anDWChanged()));
+    //connect(m_dw->dockManager(),SIGNAL(change()),this,SLOT(anDWChanged()));
     //connect(m_dw,SIGNAL(destroyed()),this,SLOT(slotWidgetDestroyed()));
     setChecked(m_dw->mayBeHide());
   }
Comment 7 cjacker 2004-02-08 01:45:48 UTC
I fixed it like this in kdelibs/kmdi, my system is:

qt-3.2.3
kde-3.2
kdevelop-3.0.0

diff -Nur kdelibs-3.2.0/kmdi/kmdiguiclient.cpp kdelibs-3.2.0new/kmdi/kmdiguiclient.cpp
--- kdelibs-3.2.0/kmdi/kmdiguiclient.cpp        2004-01-17 07:53:20.000000000 -0500
+++ kdelibs-3.2.0new/kmdi/kmdiguiclient.cpp     2004-02-08 08:40:36.464098040 -0500
@@ -61,7 +61,7 @@
 {
   if (m_dw) {
     connect(this,SIGNAL(toggled(bool)),this,SLOT(slotToggled(bool)));
-    connect(m_dw->dockManager(),SIGNAL(change()),this,SLOT(anDWChanged()));
+    //connect(m_dw->dockManager(),SIGNAL(change()),this,SLOT(anDWChanged()));
     //connect(m_dw,SIGNAL(destroyed()),this,SLOT(slotWidgetDestroyed()));
     setChecked(m_dw->mayBeHide());
   }
Comment 8 Mark Saward 2004-02-08 04:20:20 UTC
I'd like to confirm that the changes to kdelib worked for me, it no longer crashes.
Comment 9 Jens Dagerbo 2004-02-09 08:43:25 UTC
*** Bug 74659 has been marked as a duplicate of this bug. ***
Comment 10 Joern Ahrens 2004-02-09 22:48:17 UTC
I've just compiled the kdelibs with the patch from #7 and kdevelop doesn't crash anymore. My System:
gentoo
gcc-Version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
kde 3.2.0
kdevelop 3.0

Comment 11 Jens Dagerbo 2004-02-10 19:06:22 UTC
*** Bug 74860 has been marked as a duplicate of this bug. ***
Comment 12 richard 2004-02-10 19:18:38 UTC
Is this change a workaround or a fix? It looks to me like it's disabling some functionality...
Comment 13 cjacker 2004-02-11 02:02:19 UTC
I do not think it is a proper way. but just works:-)
Comment 14 Jens Dagerbo 2004-02-13 23:31:45 UTC
OK, I didn't believe this at first and then I tried it...

The following solves it for me: DO NOT APPLY THE GENTOO PATCH!!

As part of "src_unpack()" the gentoo ebuild applies a patch to KDevelop's mainwindow.cpp. If I comment out the patching and leave the KDevelop code intact (and remerge) I no longer have the crash problem.

Please, merge without the patch and report back the results.
Comment 15 Jens Dagerbo 2004-02-13 23:51:13 UTC
Seems it solved the problem for 4 people in this forum thread as well:

http://forums.gentoo.org/viewtopic.php?t=132392&highlight=kdevelop

I'm closing this one.



(Fabulous. I only spent two days trying to find a bug we didn't have...)
Comment 16 cjacker 2004-02-14 09:25:00 UTC
I am sorry to report this bug still exist, because I did not use gentoo.
All of KDE-3.2 and KDevelop-3.0 is compiled from source without any patch.

this is a bug.
Comment 17 Jens Dagerbo 2004-02-19 03:08:05 UTC
*** Bug 75574 has been marked as a duplicate of this bug. ***
Comment 18 Jens Dagerbo 2004-02-19 03:11:57 UTC
Sigh. It appears some ppl do still have this problem, even if it's far less common without the patch.

Has anyone seen it outside Gentoo?
Comment 19 Mark Saward 2004-02-19 03:15:56 UTC
Is it possible that the new bug reports are due to people who have tried it with the patch?
Comment 20 Jens Dagerbo 2004-02-19 21:17:44 UTC
*** Bug 74454 has been marked as a duplicate of this bug. ***
Comment 21 Jens Dagerbo 2004-02-20 16:27:28 UTC
*** Bug 75708 has been marked as a duplicate of this bug. ***
Comment 22 Jens Dagerbo 2004-02-20 16:28:27 UTC
Note bug #75708 for a "manual" way of triggering the crash.
Comment 23 Jens Dagerbo 2004-02-20 23:51:17 UTC
Ignore comment about bug #75708. It's unrelated.
Comment 24 Jens Dagerbo 2004-02-23 13:03:37 UTC
CVS commit by dagerbo: 

Finally managed to properly reproduce this crash.

Incredibly, this seems to fix it.

CCMAIL: 73346@bugs.kde.org
CCMAIL: kde@jowenn.at


  M +1 -1      kmdiguiclient.cpp   1.20


--- kdelibs/kmdi/kmdiguiclient.cpp  #1.19:1.20
@@ -63,5 +63,5 @@ ToggleToolViewAction::ToggleToolViewActi
     connect(this,SIGNAL(toggled(bool)),this,SLOT(slotToggled(bool)));
     connect(m_dw->dockManager(),SIGNAL(change()),this,SLOT(anDWChanged()));
-    //connect(m_dw,SIGNAL(destroyed()),this,SLOT(slotWidgetDestroyed()));
+    connect(m_dw,SIGNAL(destroyed()),this,SLOT(slotWidgetDestroyed()));
     setChecked(m_dw->mayBeHide());
   }


Comment 25 Jens Dagerbo 2004-02-24 23:19:36 UTC
Fixed in CVS, both HEAD and KDE_3_2_BRANCH. (Which means it should be available with KDE-3.2.1 )
Comment 26 quin 2004-03-11 20:57:28 UTC
kdevelop 3.0.2 which was released together with KDE 3.2.1 still has this bug (SuSE 8.2 RPMs).
Does that mean that the fix will be available in kdevelop 3.0.3?
Comment 27 quin 2004-03-11 21:01:43 UTC
Here is a backtrace for kdevelop3-3.0.2-9.i586.rpm (SuSE Linux 8.2 supplementary KDE packages):

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 2480)]
[New Thread 32769 (LWP 2482)]
[New Thread 32770 (LWP 2491)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x41790d2a in waitpid () from /lib/libpthread.so.0
#0  0x41790d2a in waitpid () from /lib/libpthread.so.0
#1  0x40d57cd9 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4178f895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40eb22a2 in KStyle::drawComplexControl(QStyle::ComplexControl, QPainter*, QWidget const*, QRect const&, QColorGroup const&, unsigned, unsigned, unsigned, QStyleOption const&) const () from /opt/kde3/lib/libkdefx.so.4
#5  0x41c91232 in PlastikStyle::drawComplexControl(QStyle::ComplexControl, QPainter*, QWidget const*, QRect const&, QColorGroup const&, unsigned, unsigned, unsigned, QStyleOption const&) const ()
   from /opt/kde3/lib/kde3/plugins/styles/plastik.so
#6  0x41218bce in QListViewItem::paintBranches(QPainter*, QColorGroup const&, int, int, int) () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x4121a4c9 in QListView::drawContentsOffset(QPainter*, int, int, int, int, int, int) () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x4124f5d6 in QScrollView::viewportPaintEvent(QPaintEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x40ac6064 in KListView::viewportPaintEvent(QPaintEvent*) ()
   from /opt/kde3/lib/libkdeui.so.4
#10 0x4124f10c in QScrollView::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x4121d506 in QListView::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x41134e8e in QObject::activate_filters(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x41134d62 in QObject::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x4116e0cf in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x410d92af in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x410d8560 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40cd2574 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#18 0x410a01c5 in QWidget::repaint(int, int, int, int, bool) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x4116f43b in QWidget::repaint(bool) () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x4121c504 in QListView::updateContents() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x4148f877 in QListView::qt_invoke(int, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40ac9aa3 in KListView::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkdeui.so.4
#23 0x411375e1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x411373b7 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x4147d659 in QTimer::timeout() () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x411595b3 in QTimer::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x410d92af in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x410d8560 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40cd2574 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#30 0x410c5ee6 in QEventLoop::activateTimers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x4107f3d8 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x410eb763 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x410eb656 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x410d94cf in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x080623e4 in main ()
#36 0x418ee8ae in __libc_start_main () from /lib/libc.so.6

Comment 28 Jens Dagerbo 2004-03-11 21:54:40 UTC
quin, not all bugs with the same description has the same cause. As you can see from your stacktrace, you are having a different problem. 

In fact, you're running into this: bug #69441 (and also reported as bug #76558)

For some reason, KDevelop triggers a crash down in Qt/kdelibs in the style implementation. If you have a system where this is perfectly reprocucible, it would be very helpful if you could help us debug the problem.
Comment 29 yfy002 2004-03-17 11:45:45 UTC
yes,i have too.when i open a qmake project,and open an other,it's crash
Comment 30 greatbunzinni 2006-02-08 18:54:59 UTC
KDevelop just crashed on me while I was trying to open a project. I'm running KDE 3.5.1 and kdevelop 3.3.1.
Comment 31 greatbunzinni 2006-02-08 18:56:27 UTC
Created attachment 14611 [details]
The backtrace