Bug 97831 - crash when calling dcop kdevelop MainApplication-Interface quit
Summary: crash when calling dcop kdevelop MainApplication-Interface quit
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kmdi (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Matt Rogers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 21:46 UTC by Rainer Wirtz
Modified: 2008-02-10 17:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The backtrace (1.50 KB, text/plain)
2005-01-24 21:48 UTC, Rainer Wirtz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Wirtz 2005-01-24 21:46:13 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

The subject says it more or less. This may or may not be related to bug 82311, so I open a new one. kdelibs and kdevelop are CVS-Head, about a week old.
I tested the same command with a few other apps (konsole, kate, kppp) without crash.
Comment 1 Rainer Wirtz 2005-01-24 21:48:21 UTC
Created attachment 9270 [details]
The backtrace
Comment 2 Matt Rogers 2005-01-24 21:51:47 UTC
Can confirm with HEAD from yesterday. Looks like it tries to recreate an iconview on destruction.

#6  0x00000041 in ?? ()
#7  0xb7628669 in KFileIconView (this=0x8641118, parent=0xb7405b88, 
    name=0xbfffee20 "\bSV\b
Comment 3 Jens Dagerbo 2005-01-26 21:04:43 UTC
I have no idea what's going on, but I can reproduce it.

It's not the FileSelectors fault, I disabled it and got a crash in the Documentation plugin. When I disabled all optional plugins I crashed with this backtrace:

#0  0x4021e0e4 in typeinfo for Qt () from /home/jens/dev/source/HEAD/kdevelop/lib/widgets/.libs/libkdevwidgets.so.0
#1  0x40cd7264 in KXMLGUI::ActionList::unplug () from /usr/kde/3.3/lib/libkdeui.so.4
#2  0x40cdb065 in QMapPrivate<QString, KXMLGUI::ActionList>::find () from /usr/kde/3.3/lib/libkdeui.so.4
#3  0x40d8ef20 in ?? () from /usr/kde/3.3/lib/libkdeui.so.4
#4  0x081db808 in ?? ()
#5  0x081db640 in ?? ()
#6  0x40cd8164 in KXMLGUI::ContainerNode::unplugActionList () from /usr/kde/3.3/lib/libkdeui.so.4

No idea what to make of it, really. :(
Comment 4 wenqiang song 2005-03-20 21:57:51 UTC
when I run 'ldd -r /usr/lib/libkdevwidgets.so.0' I got tons of undefined symbols. It may be the reason but don't know why it happens. 
Comment 5 Alexander Dymo 2005-03-20 23:11:13 UTC
I've checked. No, undefined symbols are not a problem.
I've tried running kdevelop with an empty profile (no plugins at all). It doesn't crash.
After adding FileSelector to a profile, the whole thing started to crash with the backtrace you can see below. The only thing frightens me a bit in the backtrace is that KMDI classes are mentioned...
Are there other KMDI applications that mix several kxmlgui clients to create an application GUI? We need to check whether they crash.

[New Thread 1103863744 (LWP 26005)]
...
#4  0x41ab5e63 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#5  0x40ff3862 in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#6  <signal handler called>
#7  0x402d0c57 in typeinfo for Qt () from /opt/kde3/lib/libkdevwidgets.so.0
#8  0x40d41874 in KXMLGUI::ActionList::unplug ()
   from /opt/kde3/lib/libkdeui.so.4
#9  0x40d865ca in KXMLGUI::ContainerNode::unplugActionList ()
   from /opt/kde3/lib/libkdeui.so.4
#10 0x40d86753 in KXMLGUI::ContainerNode::unplugActionList ()
   from /opt/kde3/lib/libkdeui.so.4
#11 0x40d8678b in KXMLGUI::ContainerNode::unplugActionList ()
   from /opt/kde3/lib/libkdeui.so.4
#12 0x40d8678b in KXMLGUI::ContainerNode::unplugActionList ()
   from /opt/kde3/lib/libkdeui.so.4
#13 0x40d8692b in KXMLGUIFactory::unplugActionList ()
   from /opt/kde3/lib/libkdeui.so.4
#14 0x40d869cc in KXMLGUIClient::unplugActionList ()
   from /opt/kde3/lib/libkdeui.so.4
#15 0x400ef57c in KMDIPrivate::KMDIGUIClient::setupActions (this=0x8262530)
    at ../../../lib/qextmdi/kmdiguiclient.cpp:198
#16 0x400ef8dc in KMDIPrivate::KMDIGUIClient::actionDeleted (this=0x8262530, 
    a=0x8302d48) at ../../../lib/qextmdi/kmdiguiclient.cpp:255
#17 0x400efd98 in KMDIPrivate::KMDIGUIClient::qt_invoke (this=0x8262530, 
    _id=5, _o=0xbfffe900) at kmdiguiclient.moc:141
#18 0x413e8e5e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x41727d43 in QObject::destroyed () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x413ec691 in QObject::~QObject () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40e2cc42 in KAction::~KAction () from /opt/kde3/lib/libkdeui.so.4
#22 0x40e2db60 in KToggleAction::~KToggleAction ()
   from /opt/kde3/lib/libkdeui.so.4
#23 0x400eed20 in ~ToggleToolViewAction (this=0x8302d48)
    at ../../../lib/qextmdi/kmdiguiclient.cpp:73
#24 0x400ee2e5 in ~KMdiToolViewAccessorPrivate (this=0x82ff878)
    at kmditoolviewaccessor_p.h:39
#25 0x400edf01 in ~KMdiToolViewAccessor (this=0x82ff830)
    at ../../../lib/qextmdi/kmditoolviewaccessor.cpp:78
#26 0x400cf792 in KMdiMainFrm::deleteToolWindow (this=0x821a5b0, 
    accessor=0x82ff830) at ../../../lib/qextmdi/kmdimainfrm.cpp:541
#27 0x400dd5af in KMdiMainFrm::deleteToolWindow (this=0x821a5b0, 
    pWnd=0x82fb048) at ../../../lib/qextmdi/kmdimainfrm.cpp:535
#28 0x40099c46 in NewMainWindow::removeView (this=0x821a5b0, view=0x82fb048)
    at ../../src/newmainwindow.cpp:622
#29 0x420f77af in ~FileSelectorPart (this=0x82ecd98)
    at ../../../parts/fileselector/fileselector_part.cpp:58
#30 0x4010a1ca in QPtrList<QObject>::deleteItem (this=0x82ed2b8, d=0x82ecd98)
    at qptrlist.h:150
#31 0x416a3424 in QGList::clear () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40fab551 in KLibrary::~KLibrary () from /opt/kde3/lib/libkdecore.so.4
#33 0x40fabbbb in KLibLoader::close_pending ()
   from /opt/kde3/lib/libkdecore.so.4
#34 0x40fabe38 in KLibLoader::~KLibLoader () from /opt/kde3/lib/libkdecore.so.4
#35 0x40f560b8 in KLibLoader::cleanUp () from /opt/kde3/lib/libkdecore.so.4
#36 0x40fd4c2b in KApplication::~KApplication ()
   from /opt/kde3/lib/libkdecore.so.4
#37 0x0804efb5 in main (argc=3, argv=0xbfffefc4) at ../../src/main.cpp:139
Comment 6 Matt Rogers 2008-02-10 17:29:44 UTC
kmdi has been removed in KDE 4 and no more fixes will be made for KDE 3.5.x. The
apps that were using kmdi in the KDE SVN repository have moved to their own
multi-document implementations