Bug 69906

Summary: crash when opening existing project
Product: [Applications] kdevelop Reporter: Peter Hedlund <peter>
Component: file selectorAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: crash CC: achim.herwig, Alexandr.Kara, artur, baxas, giovanni, gsasha, ian, kdeveloper.megan, linus, o.sokol, pfeiffer, python, rudolph, slaout, tobivollebregt, tpr, wintermute101
Priority: NOR    
Version: 3.3.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: amd64 32 bit offset patch
patch fixing a crash on shutdown

Description Peter Hedlund 2003-12-09 04:10:06 UTC
Version:           3.0.0b2 cvs 2003-12-07 (using KDE KDE 3.1.4)
Installed from:    Mandrake RPMs
Compiler:          gcc 3.2.2 Mandrake Linux 9.1
OS:          Linux

When opening an existing project in KDevelop (continuosly updated from cvs, most recently 2003-12-07) the program appears to load fine and loads the project files, but when the updating progress bar reaches 100% KDevelop crashes. This behavior started to appear some weeks ago. I get the following backtrace:

[New Thread 16384 (LWP 5068)]
[New Thread 32769 (LWP 5102)]
[New Thread 16386 (LWP 5103)]
0x414c76ba in waitpid () from /lib/i686/libpthread.so.0
#0  0x414c76ba in waitpid () from /lib/i686/libpthread.so.0
#1  0x40bedf80 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  0x414c65ce in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  0x4162a3b8 in __libc_sigaction () from /lib/i686/libc.so.6
#4  0x40722c2a in KIO::stat(KURL const&, bool, short, bool) ()
   from /usr/lib/libkio.so.4
#5  0x40722be4 in KIO::stat(KURL const&, bool) () from /usr/lib/libkio.so.4
#6  0x407dada6 in KIO::PreviewJob::determineNextFile() ()
   from /usr/lib/libkio.so.4
#7  0x407daebb in KIO::PreviewJob::slotResult(KIO::Job*) ()
   from /usr/lib/libkio.so.4
#8  0x407d9833 in KIO::PreviewJob::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkio.so.4
#9  0x40f73eeb in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x4071ff32 in KIO::Job::emitResult() () from /usr/lib/libkio.so.4
#11 0x4072130b in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.4
#12 0x40723931 in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.4
#13 0x40733fa9 in KIO::TransferJob::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkio.so.4
#14 0x40f73eeb in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3

This behavior is not the same as 69423. Deleting the file MyProject.kdevelop.pcs prevents the crash, but the file is recreated when exiting KDevelop making it crash again next time.
Comment 1 Andy Neitzke 2003-12-10 23:42:49 UTC
I am seeing precisely the same symptoms.  My backtrace looks a little different though (this is with kdevelop and kdelibs compiled from CVS just now, with enable-debug=full):

[New Thread 16384 (LWP 6528)]
[New Thread 32769 (LWP 6567)]
[New Thread 16386 (LWP 6568)]
0x418a9686 in waitpid () from /lib/i686/libpthread.so.0
#0  0x418a9686 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40d4625f in KCrash::defaultCrashHandler(int) ()
   from /home/cvs/kde-installed/lib/libkdecore.so.4
#2  0x418a84ec in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  0x41a1bca8 in __libc_sigaction () from /lib/i686/libc.so.6
#4  0x080645da in MainWindow::embedPartView(QWidget*, QString const&, QString const&) ()
#5  0x404b1710 in KMdiMainFrm::qt_invoke(int, QUObject*) ()
   from /home/cvs/kde-installed/lib/libkmdi.so.1
#6  0x080685c9 in MainWindow::qt_invoke(int, QUObject*) ()
#7  0x4110f761 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x404a4419 in KMdiChildView::activate() ()
   from /home/cvs/kde-installed/lib/libkmdi.so.1
#9  0x404a4720 in KMdiChildView::eventFilter(QObject*, QEvent*) ()
   from /home/cvs/kde-installed/lib/libkmdi.so.1


The last few lines of console output before the crash are

kdevelop (cpp support): newly parsing...
kdevelop (cpp support): remove with references: /home/andy/bibliodb/src/entryviewwidget.cpp
kdevelop (cpp support): =======> compute current function definition
kdevelop (cpp support): updating sourceinfo
kdevelop: ClassViewPart::refresh
kdevelop: ClassViewPart::refresh
DCOP: unregister 'kdevelop-26610'
DCOP: register 'anonymous-26647' -> number of clients is now 5
DCOP:  'anonymous-26647' now known as 'drkonqi-26647'
Comment 2 Andy Neitzke 2003-12-11 01:12:34 UTC
Sorry, I'm an idiot:  after correctly updating my CVS version I don't see this bug anymore.
Comment 3 Jens Dagerbo 2003-12-13 16:42:40 UTC
This report comes in from all over the place, so it should be real enough..

http://www.kdevelop.org/forum/read.php?f=2&i=10127&t=10127
http://lists.kde.org/?l=kdevelop-devel&m=107083560503928&w=2

The common things we can see is that all reporters seem to be using Mandrake and KDE-3.1.x

Is anyone seeing this crash on a different setup? Also, what are your Berkeley DB versions?
Comment 4 Jens Dagerbo 2003-12-13 16:46:16 UTC
Ignore the Berkeley DB question, it should not be relevant. Qt version could be though.
Comment 5 Peter Hedlund 2003-12-13 22:05:11 UTC
I have Qt 3.1.2, it's the packages libqt3.1.2-9.2tex, libqt3-common-3.1.2-9.2tex, and libqt3-devel-3.1.2-9.2tex.

The Berkeley DB are stock for Mandrake 9.1:
Name: libdbcxx3.3
Version: 3.3.11-13mdk
Name: libdb3.3-devel
Version: 3.3.11-13mdk
Comment 6 Jens Dagerbo 2003-12-17 00:05:42 UTC
*** Bug 69630 has been marked as a duplicate of this bug. ***
Comment 7 Jens Dagerbo 2003-12-17 00:06:00 UTC
*** Bug 69420 has been marked as a duplicate of this bug. ***
Comment 8 Jens Dagerbo 2003-12-17 00:07:23 UTC
This crash seems quite common, but I have yet to see it reported from anything else than a Mandrake install.. 
Comment 9 Sebastien 2003-12-22 13:33:28 UTC
I have the same bug :

In past, I was have Mandrake 9.1 and then upgraded from KDevelop 2.5 to Gideon Alpha7.
I've resolved this bug by removing all the KDev config files.

Then, this week-end I've upgraded to Mandrake 9.2, and then to KDevelop beta2.
This bug have reappared and I've just created a new project and then open my old project : the bug has now dissapeared for me...
Comment 10 Mark 2003-12-30 23:23:46 UTC
I have fedora and 2.4.22-1.2135 

(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(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)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread -1085271904 (LWP 6170)]

(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)...
0x00109c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#0  0x00109c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x003b5a03 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#2  0x0380cda1 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
Comment 11 Jason Waldhelm 2004-01-03 05:30:06 UTC
i have reproduced this bug exactly on Gentoo - kdevelop-3.0.0b1 and 3.0.0b2, qt-3.2.3
Comment 12 Amilcar do Carmo Lucas 2004-01-06 17:49:36 UTC
Mark, Jason, how about updating to the latest KDevelop CVS HEAD ?
Comment 13 Jens Dagerbo 2004-01-17 13:51:32 UTC
*** Bug 72803 has been marked as a duplicate of this bug. ***
Comment 14 Andy Neitzke 2004-01-17 20:03:21 UTC
I'm still getting this crash with the latest Mandrake Cooker packages.  Running with gdb gives some information that might be useful to someone:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1109124960 (LWP 14501)]
0x40181bc6 in QString::length() const (this=Variable "this" is not available.
) at qstring.h:880
880     { return d->len; }
Current language:  auto; currently c++
(gdb) where
#0  0x40181bc6 in QString::length() const (this=Variable "this" is not available.
) at qstring.h:880
#1  0x40ecd0c1 in lazy_encode (segment=Could not find the frame base for "lazy_encode".
) at kurl.cpp:148
#2  0x40ed4368 in KURL::prettyURL(int) const (this=Variable "this" is not available.
) at kurl.cpp:1511
#3  0x408d0419 in KIO::stat(KURL const&, bool, short, bool) (url=Could not find the frame base for "KIO::stat(KURL const&, bool, short, bool)".
) at job.cpp:744
#4  0x408d03b6 in KIO::stat(KURL const&, bool) (url=Variable "url" is not available.
) at job.cpp:739
#5  0x40988ce8 in KIO::PreviewJob::determineNextFile() (this=Variable "this" is not available.
) at previewjob.cpp:250
#6  0x40988e8f in KIO::PreviewJob::slotResult(KIO::Job*) (this=Could not find the frame base for "KIO::PreviewJob::slotResult(KIO::Job*)".
) at previewjob.cpp:311
#7  0x40987b8b in KIO::PreviewJob::qt_invoke(int, QUObject*) (this=Could not find the frame base for "KIO::PreviewJob::qt_invoke(int, QUObject*)".
) at previewjob.moc:136
#8  0x412ebe52 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x084c9940 in ?? ()
#10 0x00000010 in ?? ()
#11 0x40f943c0 in spinlock () from /usr/lib/libkdecore.so.4
Comment 15 Sebastien 2004-01-21 19:30:06 UTC
I've donloaded KDevelop RC1 and this Crash is now systematic (It crash when a project is fully loaded (when create a project, it doesn't crash)) !!!
I've then browse the code to find what's wrong...

In projectmanager.cpp :
  Core::getInstance()->doEmitProjectOpened();
Seem to be the source of the crash because it Crash just after calling that.
So, it's crashing in one of the slots.
I've checked MainWindow::slotReactToProjectOpened()
but after the execution of it (juste before return) it doesn't crash !
So it's after...

I then have commented this line :
  Core::getInstance()->doEmitProjectOpened();
(just before "return true;")

Now, it don't crash anymore.
But if I change project, still incoherence...
It isn't grave because I have only one project with KDevelop.

* Is anyone can say what's crash (I've KDE 3.1.3 on Mdk9.2 : perhapse a resolved crash with HEAD KDE libs).
* For those who are in the same case, can you try to comment this line too?, to see if it's that.
* I don't see any projectOpened() reference in other source files... Strange (or perhapse it crash because of hidden tab ? hum)...
Comment 16 Jens Dagerbo 2004-01-22 01:43:57 UTC
No, comment #15 is using way too much dynamite.. ;)

I don't have an affected system here, but as a test, could someone try this:

change languages/cpp/cppsupportpart.cpp, line 799 from

 parseProject( );

to

 parseProject( true );

and report back if that helps or not?
Comment 17 Andy Neitzke 2004-01-22 07:27:16 UTC
The fix in comment #16 seems to work for me.  Thanks!
Comment 18 Jarkko Haapalainen 2004-01-23 04:58:54 UTC
I have same symptoms here with KDE 3.2-rc1 and I even tried 20042201 snapshots (kdelibs, kdebase, kdevelop). I tried that fix on comment #16, but it didn't help.

I can preproduce this always:
1. start kdevelop
2. open project
3. again, open project
4. -> crash!

And it crash when closing app too:
1. start kdevelop
2. open project
3. quit kdevelop
4. -> crash!

backtrace on this was:
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".
(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)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 4784)]
[New Thread 32769 (LWP 5388)]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 4784)]
[New Thread 32769 (LWP 5388)]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 4784)]
[New Thread 32769 (LWP 5388)]
[New Thread 16386 (LWP 5389)]
0x416919db in waitpid ()
   from /lib/libpthread.so.0
#0  0x416919db in waitpid () from /lib/libpthread.so.0
#1  0x40dfd0cc in __JCR_LIST__ () from /usr/kde/3.2/lib/libkdecore.so.4
Comment 19 James Gregory 2004-02-04 17:51:53 UTC
Identical crash here - the blue bar gets to 100% and it crashes.

I'm using Mandrake 9.2, although with KDE 3.2 + Kdevelop 3.0 rpms from Mandrake Cooker.

The KDE crash handler thing that pops up only has one thing on the stack, an error in "waitpid () from /lib/i686/libpthread.so.0".
Comment 20 James Gregory 2004-02-05 05:08:04 UTC
Hmmmm...it just stopped doing it.

I've been messing with my computer quite a lot today, so I'm not quite sure what I've done that has fixed it (at least for now).

The biggest change I've made to my computer today was probably when I found that I was lacking the non-development standard C++ libraries (not quite sure how that happened) and so I installed them from an rpm. But given I use urpmi and don't really pay much attention to what it's doing, it's quite possible I've changed/updated something else major without noticing. I find it hard to believe everyone here has managed to accidently not install libstdc++.
Comment 21 James Gregory 2004-02-05 07:24:52 UTC
And now it's started again, even though I haven't changed anything.
Comment 22 Jens Dagerbo 2004-02-08 09:40:18 UTC
*** Bug 74543 has been marked as a duplicate of this bug. ***
Comment 23 stephane martin 2004-02-14 03:38:03 UTC
I also have this bug with the same symptoms on Mandrake Cooker. I use Qt 3.2.3 and the KDE 3.2 mdk-packages from Cooker. The strange fact is that sometimes Kdevelop crashes when I open an existing project, sometimes it does not crash when opening the same project !?

I have tried to compile and install KDE3.2/Kdevelop from the sources on my mandrake, and the bug is not there anymore...
Comment 24 stephane martin 2004-02-16 02:34:43 UTC
The replacement in #16 has solved the problem for me. Thank you !!
Comment 25 Hendrik Kueck 2004-02-19 09:01:56 UTC
I had the same problem here, using Mandrake 10 Beta2 and the change in posting #16 fixed the problem for me as well.
Thanks. 
Comment 26 Jarkko Haapalainen 2004-02-19 09:05:59 UTC
I had same problems with 3.0, but not anymore with 3.0.1. This bug should be closed.
Comment 27 Peter Hedlund 2004-02-20 01:37:07 UTC
This bug is no longer present in KDE and KDevelop cvs under Mandrake 9.1. As the original reporter I agree that it should be closed.
Comment 28 Daniele Granata 2004-02-26 12:55:57 UTC
I have the same problem with the latest cooker-rpms on mandrake 10-rc1. KDevelop crashes when loads a project (after the progress bar gets 100%). I changed the editor to QEditor and the bug disappear. I hope will be useful for the mandrake users out there.
Comment 29 Jens Dagerbo 2004-02-26 13:25:14 UTC
"I changed the editor to QEditor and the bug disappear."

HUH!? That's not at all expected. Could people please try this out and report back if it is really true.

If it really only crashes with katepart ("embedded advance texteditor"), what happens if one closes all editor windows before closing the project? (The next time the project loads, no windows will then be opened (and no katepart editor plugin instantiated).)
Comment 30 James Gregory 2004-02-26 19:27:16 UTC
Closing all editor windows doesn't help, it still crashes.

I've been getting round the problem by deleting the pcs file of my project each time just before I load KDevelop, if anyone else is looking for a lazy workaround which doesn't involve playing with the source.
Comment 31 Jens Dagerbo 2004-02-26 22:59:24 UTC
*** Bug 76210 has been marked as a duplicate of this bug. ***
Comment 32 Rudolph Pienaar 2004-02-26 23:11:50 UTC
Bug should not be closed.

I get the same bug (same basic Mandrake 9.2 setup w / stock mdk-kde install). Built kdevelop-3.0.1 from source / QEditor.

The bug does not appear 100% of the time, on balance I'd say about 80% of startups with a *.kdevelop.pcs present will fail.

Note that in my case I am working on *legacy* projects, i.e. projects that were created with one of kdevelop-3 release candidates.
Comment 33 Sebastien 2004-02-27 17:13:33 UTC
I've installed KDE 3.2 packages for my Mandrake 9.2, with KDevelop 3.0.0.
My old project was opened well, without crash.
But "classes" side pannel was empty and so, Ctrl+J or Ctrl+Space won't work.
VERY ennoying.
Then, I've downloaded and installed KDevelop 3.0.1.
First start : crash after 100% loading.
I've even removed all config files and then set to QTEditor, and then reopen my project => crash yet exist.
For me, crash appends 100% times !!!

Note: the project load with this Classes working is slower, but it crash.
Perhapse it's the solution : perhapse a bug in the "resence classes and methodes" part (I work on C++/KDE project)...

I also have an error in console AT START OF THE LOADING :
"ASSERT: (part && parent) in partwidget.cpp (41)"
Then the project continue to load, and went to 100%... and crash :-(
Perhapse this Assert is another clue...
Comment 34 Daniele Granata 2004-02-28 17:10:34 UTC
I'm a lucky guy, my qmake project loads every time with no crash. I'm working with MDK10-RC1 kernel enterprise 2.6.3-3, kdevelop3.0.0-6 and the latest kde libs. I've tried to revert to kate editor with no crash.
I have disabled some secondary stuff like a pair of plugin and other tools.
I cannot be more specific because I use KDevelop at home and type this comment at work.
Try to use a "light" version without the complementary staff i.e uncheck all the plugins, some secondary tools and so on. If you will have no crash then add one plugin at once and the secondary staff at once. Maybe it will work as for me.
If this bug is related only to the mdk version, maybe the best place to add comments is the cooker-ML.
Comment 35 Sebastien 2004-02-28 19:12:23 UTC
Hey ! Cool :

I've deleted the file with extension .pcs, as said in #32, and it launch very well without crash :-D I can program, after all those months !!! ;-)

What's the purpose of this file ?
For a plugin, certainly (to join #34) ? ...
It contain a lot of sources paths of the project (old paths, because I've moved my project into another folder), classes names and stranges characters !

=> It could be the problem of my old bug (empty "Classes" side pannel and Ctrl+J or Ctrl+Space won't work ; see #33) : because I've moved my files it hasn't found my Classes/methodes, and haven't loaded them => so no crash (I think...).

I thinks it's the problem :
Which plugin recense classes and methods, and why it crash at 100%...
(But why only Mandrake ! ...)

I haven't restarted KDevelop. So I don't know if I will be obligated to redelete this file later.

Hope we will go forward.
Comment 36 nick smethurst 2004-03-01 09:29:11 UTC
I'm running KDevelop 3.0.1 on Mandrake 9.2 and the parseProject(true); fix suggested in comment 16 has stopped the crashing.
Comment 37 Chris Thompson 2004-03-01 19:32:31 UTC
I too am running KDevelop 3.0.1 on Mandrake 9.2.  The fix suggested in comment 16 also worked for me.
Comment 38 anton 2004-03-12 22:40:03 UTC
Still not fixed in a compiled from source 3.0.2, though I am also running a hybrid (9.2 with bits from cooker) MDK system. Is there any reason not to build the #16 fix into the next release (for us MDK lackies here)?
Comment 39 anton 2004-03-12 23:19:40 UTC
Now I have changed and reinstalled from the sources (sorry, still a newbie, I just edited the file with vi, then reran make and make install, if this is wrong then please hit me :-0). Still no joy, same message as before:

0x41905686 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41905686 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40d2fceb in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4

but this time it was when I clicked on the documentation manager panel (or maybe the file creation one...).
Is this the same bug?

ps. Sorry but I thought I had it fixed too...
Comment 40 Christian Fontana 2004-03-15 00:04:07 UTC
Also on my slackware 9.1 installation this crash appears. If I'm using a project and I have to load an other one I've to close the project, close Kdevelop, re-run kdevelop and open the other project.
 
Comment 41 Ertan Deniz 2004-03-18 12:01:46 UTC
I am using Mandrake 10 Community Edition.

I tried both KDevelop 3.0.0 that's default on Mandrake 10, and KDevelop 3.0.2 that I compiled...

They both crashed when I tried opening my existing projects.

I solved the problem just by disabling "File Selector" plugin.
Now everything works pretty good.
Comment 42 Igal Ore 2004-03-22 21:09:41 UTC
Here at use Mandrake 10 Community edition ( downloaded ) with Kdev 3.0.1 (default install) had reproduced bug as described : or by marking project to be reloaded automatically next time , or by simply  close/open combination . 

Both solutions from 41 and 30 had worked for me , of cause 41 is better
Comment 43 Jens Dagerbo 2004-03-25 09:48:07 UTC
*** Bug 78430 has been marked as a duplicate of this bug. ***
Comment 44 toussis manolis 2004-03-29 12:52:33 UTC
I use Mandrake 10 community fresh installed with kernel 2.6.3-4 smp .
kdevelop 3.0.1 kde3.2
I had the same problem. I was making a new project (kde-framework) and then I exited kdevelop. When I open it again kde was crashing when It was ready to give focus... (after all the loading stuff).
I could reproduce the bug consistently.
The solution for #41 has worked for me. I removed file selector from the plugins and now kdevelop works fine.
Comment 45 Jens Dagerbo 2004-03-29 13:15:12 UTC
OK, that makes three successful reports about removing the FileSelector. I believe it's real now. No wonder we couldn't find it.. something completely unrelated to the PCS system crashes as a result of a filesystem event. And ONLY on Mandrake!

Changing component to FileSelector.
Comment 46 Thomas Aynaud 2004-03-29 19:46:12 UTC
idem #44, the solution for #41 has worked for me.
Comment 47 Alexandre Beaulieu 2004-04-26 01:41:01 UTC
I'm using KDevelop 3.0.3 with Mandrake 10.0 Official and KDE 3.2.0. I had the same problem and #41 corrected the crash but led to another bug. Now, all child windows may it be the editor or the tabs do not appear has child windows but as independant windows. All windows are not shown by default even though they are checked in the menu. Removing $HOME/.kde/share/config/kdeveloprc solves this problem but gets back to the crash problem.
Comment 48 Jens Dagerbo 2004-05-05 19:30:13 UTC
Link to Mandrake bugzilla entry: http://qa.mandrakesoft.com/show_bug.cgi?id=6907
Comment 49 Rutger ter Borg 2004-06-22 18:22:59 UTC
I am experiencing similar crashes with kdevelop-3.0.4, kde-3.2.2, linux-2.6.7-gentoo-r3 on an amd64. Kdevelop crashes systematically, one of every two startups.  I've compiled it in debug mode and ran it through gdb. The behaviour is consistent and can be reproduced.

(gdb) run

-- a lot of output --

develop (filecreate part): Found global template info info /usr/share/apps/kdevfilecreate/template-info.xml
kdevelop (filecreate part): Reading global template info...
kdevelop (filecreate part): node: Blank file

--- more of this ---

kdevelop (filecreate part): node: Qt Linguist translation
kdevelop (filecreate part): subnode: descr

Program received signal SIG41, Real-time event 41.
0x0000002a9a15a7cf in ?? ()
(gdb)
Comment 50 Rutger ter Borg 2004-06-22 18:27:35 UTC
Forgot to mention: If kdevelop does get through, gdb shows the following. The crash seems to reside between the filecreate part and cpp support.

kdevelop (filecreate part): node: Qt Linguist translation
kdevelop (filecreate part): subnode: descr
kdevelop (cpp support): newly parsing(foobar.h)...
kdevelop (cpp support): newly parsing(foobar.h)...
kdevelop (cpp support): newly parsing(foobar.h)...

Comment 51 Paul Fotheringham 2004-06-27 02:34:32 UTC
I had a simlar problem in Mandrake 9.0. It also appeared in Mandrake 10.0 OE PowerPack. I fixed it by removing ~/.kde/share/config/kdeveloprc which was from my old Mandrake 9.0 install and letting kdevelop create a new one.

I can't remember enough details about it though to say for sure whether it's the same bug but it sounds like it.
Comment 52 Rutger ter Borg 2004-06-28 09:48:29 UTC
Not preventing crash:  comments #41, #51
Successful workaround: comment #30

Comment 53 Brendan 2004-07-01 15:36:33 UTC
Neither #16, #30, #41, or #51 were able to fix this for me in anyway.

I started noticing the problem with 3.0.1 which I got from a Mandrake 10 RPM (from Mandrake), and which continued from the 3.0.4 source which I built from.

Thinking along the lines of #41, after the disabling of the File Selector plugin did not solve this, I ended up trying it with all plugins disabled which sadly did not solve my problem either.
Comment 54 Rutger ter Borg 2004-07-01 16:49:53 UTC
I spent some time looking at the code, bearing in mind that the presence of the .pcs file prevents a crash. I'm using the code of kdevelop-3.0.4, and discussing the file languages/cpp/cppsupportpart.cpp. I'm indicating line numbers.

(847) QDataStream stream;

only if a pcs file does not exist (conditional):
(854) stream.setDevice( &f );

later on (either with or without 854 executed):
(904) stream.device()->at( pcs[absFilePath].second );

This (904) occurs without a check for a valid stream, i.e. it could also be unset. I am not familiar enough with Qt to known whether this statement will cause a crash, nor am I able to recompile right now. 
Comment 55 Rutger ter Borg 2004-07-01 16:56:18 UTC
I meant the other way around, "bearing in mind that the absence of a .pcs file prevents a crash"
Comment 56 jtwatson 2004-08-20 04:13:39 UTC
I am running Mandrake 10.0 Official.  I can confirm that Kdevelop will crash when opening a exiting project that contains a .pcs file.  If this file is deleted it will open the project again.  I have reproduced this on 3.0.0 (mandrake rpm), 3.0.4 (mandrake rpm), and 3.0.92 (compiled from src). 

Comment 41 disabling "File Selector" plugin definitely fixes this for me.  It has never crashed on startup when opening a project that contains a .pcs since.

I can still make it crash by using the Project Menu to Close and Open projects, but I think this is a different problem and seams unrelated to the .pcs files.
Comment 57 Ray Glover 2004-08-22 13:49:18 UTC
Using Mandrake 10.0 as #56. I get the following console messages if these mean something to anyone:

[ray@gnipper ray]$ kdevelop
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
QObject::connect: No such slot subversionPart::slotActionAdd()
QObject::connect:  (sender name:   'subversion_add')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemove()
QObject::connect:  (sender name:   'subversion_remove')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionAddToIgnoreList()
QObject::connect:  (sender name:   'subversion_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemoveFromIgnoreList()
QObject::connect:  (sender name:   'subversion_donot_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotStopButtonClicked(KDevPlugin*
)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'Subversion')
QMetaObject::findSignal:KFileDetailView: Conflict with QListView::doubleClicked(
QListViewItem*,const QPoint&,int)
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *paren
t, const char *name, KInstance *instance )
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
ASSERT: "part && parent" in partwidget.cpp (41)
KCrash: Application 'kdevelop' crashing...

Deleting *.pcs fixes for me.
Comment 58 Jens Dagerbo 2004-08-29 02:52:49 UTC
I've seen reports that this problem has disappeared in KDevelop-3.1. Can anyone here confirm?
Comment 59 Hendrik Kueck 2004-08-29 03:07:21 UTC
Yes, I can confirm that. I had the problem with previous versions and fixed it with the patch you proposed in comment #16 at the time. 
Kdevelop 3.1 worked right out of the box for me. 
Comment 60 Jens Dagerbo 2004-09-02 21:46:01 UTC
*** Bug 88721 has been marked as a duplicate of this bug. ***
Comment 61 James Gregory 2004-09-07 20:19:27 UTC
Nope, sorry, 3.1 did not fix it for me. #16 and #30 both continue to work. Although #16 now refers to line 917.

Would it be possible to add an option to ./configure that automatically compiles with #16 using #ifdefs? This seems to effect enough people that an automatic workaround for now might be nice.
Comment 62 David Lindsey 2004-09-15 12:10:37 UTC
I can confirm #61 (partially). Using Mandrake 10 I had the problem with Mandrake rpms. I downlowded and compiled 3.1.0 from kdevelop.org and still have the problem. #30 works. Have not yet tried #16.
Comment 63 Rutger ter Borg 2004-09-28 20:42:29 UTC
I can confirm #61 as well, compiled on gentoo on an amd64. #30 still works.
Comment 64 Rutger ter Borg 2004-10-01 14:07:05 UTC
Version info: kdevelop 3.1.0, kde 3.3, qt 3.3.3, gcc 3.3.4, amd64

Kdevelop 3.1.0 keeps crashing very regularly on exact the same places as kdevelop 3.0.4. The first type is once in every two times of starting the program, which is the bug discussed here. However, kdevelop also crashes when closing a tab of a loaded project, and starting recompile. In both occasions, the "Updating..." is the last visual feedback. 

I've recompiled kdevelop with debug enabled to find more details. Unfortunately, tracebacks keep to be too corrupt to be useful. Anyway, the last debug statements of the startup-type crash are

kdevelop (cpp support): CppSupportPart::parseProject 1
kdevelop (cpp support): CppSupportPart::parseProject 2
kdevelop (cpp support): CppSupportPart::parseProject 3
kdevelop (cpp support): CppSupportPart::parseProject 4
kdevelop (cpp support): CppSupportPart::parseProject 5
kdevelop (cpp support): CppSupportPart::customEvent(2000)
kdevelop (gcc options): ProblemReporter::removeAllProblems()/src/somesource.h
kdevelop: Navigator::addFile
kdevelop: Navigator::addFile, processing active file
kdevelop: Navigator::refreshNavBars
kdevelop: leave list: (<snip>some function</snip>)
kdevelop: leave list: ()
kdevelop (cpp support): CppCodeCompletion::computeRecoveryPoints
kdevelop (cpp support): found 0 recovery points
bar2 called
KCrash: Application 'kdevelop' crashing...

and those of after closing a tab and building project:

kdevelop (cpp support): CppSupportPart::slotProjectCompiled()
kdevelop (cpp support): CppSupportPart::parseProject 1
kdevelop (cpp support): CppSupportPart::parseProject 2
kdevelop (cpp support): CppSupportPart::parseProject 3
kdevelop (cpp support): CppSupportPart::parseProject 4
kdevelop (cpp support): CppSupportPart::parseProject 5
bar2 called
KCrash: Application 'kdevelop' crashing...















Comment 65 Rutger ter Borg 2004-10-01 17:36:21 UTC
I have found the bug causing the crashes. In short: the kdevelop gets stuck in an infinite recursive loop in ClassModel::read where it calls that same function over and over again from line 932 of codebase 3.1.0. By adding debug statements, I tracked the path of the crash down to the following:

bool CppSupportPart::parseProject( bool force )    
void CppSupportPart::slotParseFiles() called from cppsupportpart.cpp #995
void FileModel::read( QDataStream & stream ) called from cppsupportpart.cpp #1025
void NamespaceModel::read( QDataStream & stream )  
void ClassModel::read( QDataStream & stream )
*CRASH*

Below some (maybe not so useful) backtraces. This first one is without added debug statements in the classmodel::read, the single-shot timer in #21 is the one at the end (last statement) of the parseProject() code.

#0  0x0000002a9a6ebf85 in raise () from /lib/libc.so.6
#1  0x0000002a9a6ed5ef in abort () from /lib/libc.so.6
#2  0x0000002a95b9fe56 in __cxa_call_unexpected () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so.5
#3  0x0000002a95b9fe7b in std::terminate() () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so.5
#4  0x0000002a95ba0013 in __cxa_throw () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so.5
#5  0x0000002a95ba0276 in operator new(unsigned long) () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so.5
#6  0x0000002a95ba0395 in operator new[](unsigned long) () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so.5
#7  0x0000002a989e025f in QString::setLength(unsigned) () from /usr/qt/3/lib/libqt-mt.so.3
#8  0x0000002a989e7f4b in operator>>(QDataStream&, QString&) () from /usr/qt/3/lib/libqt-mt.so.3
#9  0x000000000048d42f in CodeModelItem::read(QDataStream&) (this=0x1467530, stream=@0x146a3a8) at codemodel.cpp:899
#10 0x000000000048d51e in ClassModel::read(QDataStream&) (this=0x1467530, stream=@0x146a3a8) at codemodel.cpp:923
#11 0x000000000048d59e in ClassModel::read(QDataStream&) (this=0x1472f00, stream=@0x146a3a8) at codemodel.cpp:933
#12 0x000000000048dc44 in NamespaceModel::read(QDataStream&) (this=0x1472f00, stream=@0x146a3a8) at codemodel.cpp:1018
#13 0x000000000048dda1 in FileModel::read(QDataStream&) (this=0x1472f00, stream=@0x146a3a8) at codemodel.cpp:1043
#14 0x0000002a9d80b289 in ?? ()
#15 0x0000000000000018 in ?? ()
#16 0x0000002a9d810449 in ?? ()
#17 0x000000000000001a in ?? ()
#18 0x0000002a9877c303 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3
#19 0x0000002a98a38a12 in QSignal::signal(QVariant const&) () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x0000002a98791d9a in QSignal::activate() () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x0000002a987980e8 in QSingleShotTimer::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#22 0x0000002a9872bbe2 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#23 0x0000002a9872b2cc in QApplication::notify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#24 0x0000002a979d9995 in KApplication::notify(QObject*, QEvent*) () from /usr/kde/3.3/lib/libkdecore.so.4
#25 0x0000002a9871d3dd in QEventLoop::activateTimers() () from /usr/qt/3/lib/libqt-mt.so.3
#26 0x0000002a986e06d1 in QEventLoop::processEvents(unsigned) () from /usr/qt/3/lib/libqt-mt.so.3
#27 0x0000002a9873b2e4 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#28 0x0000002a9873b1b2 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#29 0x0000002a9872bd85 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#30 0x000000000047345d in main (argc=1, argv=0x7fbffff0d8) at main.cpp:132


with added debug statements in the classmodel::read

#0  0x0000002a9a7260c9 in mallopt () from /lib/libc.so.6
#1  0x0000002a9a72542e in malloc () from /lib/libc.so.6
#2  0x0000002a95ba0229 in operator new(unsigned long) () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so.5
#3  0x0000002a989c3b5e in QGArray::newData() () from /usr/qt/3/lib/libqt-mt.so.3
#4  0x0000002a989c2d52 in QGArray::QGArray(int) () from /usr/qt/3/lib/libqt-mt.so.3
#5  0x0000002a989b7422 in QCString::QCString(int) () from /usr/qt/3/lib/libqt-mt.so.3
#6  0x0000002a979fb9f4 in KConfigBase::readEntryUtf8(char const*) const () from /usr/kde/3.3/lib/libkdecore.so.4
#7  0x0000002a979fcf39 in KConfigBase::readNumEntry(char const*, int) const () from /usr/kde/3.3/lib/libkdecore.so.4
#8  0x0000002a979fcee3 in KConfigBase::readNumEntry(QString const&, int) const () from /usr/kde/3.3/lib/libkdecore.so.4
#9  0x0000002a979eb350 in QMemArray<char>::detach() () from /usr/kde/3.3/lib/libkdecore.so.4
#10 0x0000002a979ebb32 in kdbgstream::flush() () from /usr/kde/3.3/lib/libkdecore.so.4
#11 0x0000000000452d23 in kdbgstream::operator<<(char const*) (this=0x7fbf801440, string=0x4a1392 "\n") at kdebug.h:231
#12 0x0000000000452db6 in endl (s=@0x7fbf801440) at kdebug.h:429
#13 0x0000000000452d92 in kdbgstream::operator<<(kdbgstream& (*)(kdbgstream&)) (this=0x7fbf801440, f=0x452d9c <endl>) at kdebug.h:259
#14 0x000000000048d53e in ClassModel::read(QDataStream&) (this=0x7c5c180, stream=@0x1458b18) at codemodel.cpp:923
#15 0x000000000048d5d4 in ClassModel::read(QDataStream&) (this=0x7c5bca0, stream=@0x1458b18) at codemodel.cpp:935
#16 0x000000000048d5d4 in ClassModel::read(QDataStream&) (this=0x7c5b7c0, stream=@0x1458b18) at codemodel.cpp:935
#54 0x000000000048d5d4 in ClassModel::read(QDataStream&) (this=0x7c4fe80, stream=@0x1458b18) at codemodel.cpp:935
#55 0x000000000048d5d4 in ClassModel::read(QDataStream&) (this=0x7c4f9a0, stream=@0x1458b18) at codemodel.cpp:935
<repeat last line too many times>


Comment 66 Rutger ter Borg 2004-10-01 19:26:48 UTC
Maybe I experience frequent crashes because of the native 64 bit environment. FWIW, I think all offsets (JobData::pcs::second) in cppsupportpart.cpp and cppsupportpart.h should be of type QIODevice::Offset, and not Q_LONG or Q_ULONG (which is clearly undesirable). I.e. in cppsupportpart.h 

QMap< QString, QPair<uint, QIODevice::Offset> > pcs;

and at several places in cppsupportpart.cpp.

As a second note, the value of
_jd->pcs[absFilePath].second

in 

~line 1025: _jd->stream.device()->at( _jd->pcs[absFilePath].second );

gives an offset of 27676769255424 at the time of the crash. The filename is valid, as is the timestamp. Perhaps the offset isn't stored correctly at the time of creation of the .pcs file?





Comment 67 Rutger ter Borg 2004-10-02 12:04:26 UTC
Created attachment 7759 [details]
amd64 32 bit offset patch


This is a quick fix for the crashes on amd64. Q_LONG and Q_ULONG offsets in
cppsupportpart are replaced by 32-bit unsigned ints in this hack.
Comment 68 Brian Martin 2004-10-25 23:56:17 UTC
Please take a look at #85374 to see why this crash happens.
Comment 69 Jens Dagerbo 2004-10-26 08:59:55 UTC
Sigh. Please ignore comment #68, it's plain wrong. That bug is a different problem.
Comment 70 Luboš Doležel 2004-10-30 17:13:26 UTC
Switching to QEditor has solved my problem.
Comment 71 Harry 2004-11-13 13:45:04 UTC
KDevelop 3.3.1 or KDevelop 3.3.0, KDE 3.0,SuSE 9.2, x86_64
starting Kdevelop -> loading an C++ project -> KDevelop crashes
starting KDevelop once more and loading the same project, everything works fine.

i can reproduse this behavior several times - on every "odd" start KDevelop crashes, on every "even" start loading an project succeeds.

switch to QEditor has no effect.

sounds funny but is the truth.
Comment 72 Harry 2004-11-14 09:35:28 UTC
to comment #71: sorry there is a mistake, it's KDE 3.3 
Comment 73 Jens Dagerbo 2004-12-13 19:14:51 UTC
*** Bug 95069 has been marked as a duplicate of this bug. ***
Comment 74 Andrew Lees 2004-12-14 08:11:55 UTC
Various versions of kdevelop have shown this problem for me on varous versions of Mandrake.  It appears that enabling background parsing at least somewhat improved things, and comment #16 also *may* have resolved things - only did that a litle while ago, and time will tell.
Comment 75 Ty Tower 2005-01-10 23:37:27 UTC
Same on Mandrake 10.1  Kdevelop 3.0.1  KDE 3.2.3
Comment 76 John Ellin 2005-02-12 17:33:01 UTC
I'm getting this on Mandrake 10.1 PowerPack+ Official, occasionally on one machine and consistently on another. Both machines are identical install sets.

(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)...
[...]
...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 1102190560 (LWP 6931)]
[New Thread 1125260208 (LWP 6940)]
[Thread debugging using libthread_db enabled]
[New Thread 1102190560 (LWP 6931)]
[New Thread 1125260208 (LWP 6940)]
[Thread debugging using libthread_db enabled]
[New Thread 1102190560 (LWP 6931)]
[New Thread 1125260208 (LWP 6940)]
(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)...0xffffe410 in ?? ()
#0  0xffffe410 in ?? ()
#1  0xbfffe624 in ?? ()
#2  0x00000000 in ?? ()
#3  0x00000000 in ?? ()
#4  0x418d52db in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#5  0x40d83b5e in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#6  <signal handler called>
#7  0x4143a56e in operator== () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0xbfffea90 in ?? ()
[...]
#13 0xbfffea68 in ?? ()
#14 0x4143d5f3 in operator!= () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40e3ac44 in kde_kiosk_exception () from /usr/lib/libkdecore.so.4
#16 0x40e36f54 in ?? () from /usr/lib/libkdecore.so.4
#17 0x40ceeb52 in KURL::isLocalFile () from /usr/lib/libkdecore.so.4
#18 0x408393e6 in KMimeType::findByURL () from /usr/lib/libkio.so.4
#19 0x4083a2b7 in KFileItem::determineMimeType () from /usr/lib/libkio.so.4
#20 0x4083af08 in KFileItem::mimetype () from /usr/lib/libkio.so.4
#21 0x40852322 in KIO::PreviewJob::startPreview () from /usr/lib/libkio.so.4
#22 0x40852c0b in KIO::PreviewJob::qt_invoke () from /usr/lib/libkio.so.4
#23 0x41141708 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x0809fbd8 in ?? ()
[...]
#30 0x08aa1330 in ?? ()
#31 0x410d677c in QUType_QVariant::set () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x08aba090 in ?? ()
#33 0x081a0178 in ?? ()
#34 0x081a0150 in ?? ()
#35 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0xbfffeed8 in ?? ()
#37 0xbfffeeb0 in ?? ()
#38 0x08aa1330 in ?? ()
#39 0x414858bd in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x081a0150 in ?? ()
#41 0x08aa1330 in ?? ()
#42 0xbfffeeb0 in ?? ()
#43 0xbfffeeb0 in ?? ()
#44 0x0809c7fc in typeinfo for KDevDiffFrontend ()
#45 0x00000000 in ?? ()
#46 0x00000000 in ?? ()
#47 0x4113eff7 in QObject::QObject () from /usr/lib/qt3/lib/libqt-mt.so.3
#48 0x414cbf8a in typeinfo name for QDict<QStringList> ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#49 0x0809c440 in typeinfo for QGArray ()
#50 0x08aba090 in ?? ()
#51 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#52 0x08a70a08 in ?? ()
#53 0x081a0150 in ?? ()
#54 0x081a0128 in ?? ()
#55 0x41485920 in QSignal::intSignal () from /usr/lib/qt3/lib/libqt-mt.so.3
#56 0x00000003 in ?? ()
#57 0x00000000 in ?? ()
#58 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#59 0x081a0150 in ?? ()
#60 0x081a0150 in ?? ()
#61 0x081a0128 in ?? ()
#62 0x4115cee4 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#63 0x081a0150 in ?? ()
#64 0x081a0178 in ?? ()
#65 0x000001fc in ?? ()
#66 0x410ce5a2 in qKillTimer () from /usr/lib/qt3/lib/libqt-mt.so.3
#67 0x08a70a08 in ?? ()
#68 0x00000000 in ?? ()
#69 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#70 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#71 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#72 0x081a0128 in ?? ()
#73 0x081a0150 in ?? ()
#74 0x41164b14 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#75 0x081a0150 in ?? ()
#76 0x00000002 in ?? ()
#77 0xbfffef70 in ?? ()
#78 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#79 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#80 0x0819c4f8 in ?? ()
#81 0xbffff280 in ?? ()
#82 0x410dc015 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#83 0x081a0128 in ?? ()
#84 0xbffff280 in ?? ()
#85 0xbffff280 in ?? ()
#86 0x418a7bac in ?? () from /usr/X11R6/lib/libX11.so.6
#87 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#88 0xbffff280 in ?? ()
[...]
#93 0xbfffefb0 in ?? ()
#94 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#95 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#96 0x0819c4f8 in ?? ()
#97 0xbffff280 in ?? ()
#98 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#99 0x081a0128 in ?? ()
#100 0x00000001 in ?? ()
#101 0xbffff208 in ?? ()
#102 0x410dc1e3 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#103 0x081a0128 in ?? ()
[...]
#108 0x0882a92c in ?? ()
#109 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#110 0xbffff3e0 in ?? ()
#111 0x415b2c4c in QApplication::active_window ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#112 0xbffff078 in ?? ()
#113 0x415a7aa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#114 0x081d1000 in ?? ()
#115 0x081af1a0 in ?? ()
#116 0xbffff248 in ?? ()
#117 0x410dc1e3 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#118 0x081d1000 in ?? ()
#119 0xbffff280 in ?? ()
#120 0x40cea329 in KAccelEventHandler::x11Event ()
   from /usr/lib/libkdecore.so.4
#121 0x00000020 in ?? ()
[...]
#137 0x080a7b00 in ?? ()
#138 0x40e2e384 in vtable for KApplication () from /usr/lib/libkdecore.so.4
#139 0x0811cd60 in ?? ()
#140 0x0811cbc8 in ?? ()
#141 0x08176008 in ?? ()
#142 0x41587be8 in vtable for QCString () from /usr/lib/qt3/lib/libqt-mt.so.3
#143 0x0811c7a0 in ?? ()
[...]
#148 0x000000ff in ?? ()
#149 0x414e1e83 in typeinfo name for QGDItList ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#150 0x00000000 in ?? ()
#151 0x0809efc0 in ?? ()
#152 0x40e3c901 in kde_kiosk_exception () from /usr/lib/libkdecore.so.4
#153 0x41579a68 in vtable for QPixmap () from /usr/lib/qt3/lib/libqt-mt.so.3
#154 0x04600024 in ?? ()
[...]
#158 0x081b62f0 in ?? ()
#159 0x41579a68 in vtable for QPixmap () from /usr/lib/qt3/lib/libqt-mt.so.3
#160 0x04600029 in ?? ()
[...]
#166 0x0809efc0 in ?? ()
#167 0x41a2a501 in exit () from /lib/tls/libc.so.6
Comment 77 David Faure 2005-02-23 22:16:26 UTC
> 1. start kdevelop 
> 2. open project 
> 3. again, open project 
> 4. -> crash! 

As confirmed by PreviewJob in the backtrace, this was due to a KFileDialog bug which would let PreviewJob use a deleted KFileItem [so it only happened when activating icon mode and previews in the file dialog].
I just fixed this in kfileiconview.cpp 1.100, hopefully just in time for 3.4.
Comment 78 David Faure 2005-02-23 22:18:13 UTC
Forgot to close the bug
Comment 79 Giovanni Venturi 2005-07-06 23:03:41 UTC
Opening my KDevelop Project KDevelop crashes. This happened after the KDE 3.4.2/KDevelop 3.2.1 SVN installed. This doesn't happened with KDE 3.4.1/KDevelop 3.2.2.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1240278816 (LWP 4075)]
[New Thread -1253499984 (LWP 4076)]
[Thread debugging using libthread_db enabled]
[New Thread -1240278816 (LWP 4075)]
[New Thread -1253499984 (LWP 4076)]
[Thread debugging using libthread_db enabled]
[New Thread -1240278816 (LWP 4075)]
[New Thread -1253499984 (LWP 4076)]
[KCrash handler]
#3  0xb6b64371 in QString::operator= ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#4  0xb6f23ba2 in KURL::operator= () from /opt/kde34/lib/libkdecore.so.4
#5  0xb6f20262 in KURL::KURL () from /opt/kde34/lib/libkdecore.so.4
#6  0xb76219f7 in KFileTreeBranch::parentKFTVItem ()
   from /opt/kde34/lib/libkio.so.4
#7  0xb7621e93 in KFileTreeBranch::addItems () from /opt/kde34/lib/libkio.so.4
#8  0xb7625a4e in KFileTreeBranch::qt_invoke ()
   from /opt/kde34/lib/libkio.so.4
#9  0xb68a3733 in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#10 0xb753bf5a in KDirLister::newItems () from /opt/kde34/lib/libkio.so.4
#11 0xb753af9d in KDirLister::emitItems () from /opt/kde34/lib/libkio.so.4
#12 0xb7534d1c in KDirListerCache::slotUpdateResult ()
   from /opt/kde34/lib/libkio.so.4
#13 0xb753cc43 in KDirListerCache::qt_invoke ()
   from /opt/kde34/lib/libkio.so.4
#14 0xb68a3733 in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#15 0xb746d907 in KIO::Job::result () from /opt/kde34/lib/libkio.so.4
#16 0xb745308a in KIO::Job::emitResult () from /opt/kde34/lib/libkio.so.4
#17 0xb7454bd9 in KIO::SimpleJob::slotFinished ()
   from /opt/kde34/lib/libkio.so.4
#18 0xb745e49f in KIO::ListJob::slotFinished ()
   from /opt/kde34/lib/libkio.so.4
#19 0xb747096c in KIO::ListJob::qt_invoke () from /opt/kde34/lib/libkio.so.4
#20 0xb68a3733 in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#21 0xb68a355c in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#22 0xb7446279 in KIO::SlaveInterface::finished ()
   from /opt/kde34/lib/libkio.so.4
#23 0xb7442f79 in KIO::SlaveInterface::dispatch ()
   from /opt/kde34/lib/libkio.so.4
#24 0xb7442057 in KIO::SlaveInterface::dispatch ()
   from /opt/kde34/lib/libkio.so.4
#25 0xb743ee27 in KIO::Slave::gotInput () from /opt/kde34/lib/libkio.so.4
#26 0xb7441589 in KIO::Slave::qt_invoke () from /opt/kde34/lib/libkio.so.4
#27 0xb68a3733 in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#28 0xb68a386c in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#29 0xb6bc8458 in QSocketNotifier::activated ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#30 0xb68be65d in QSocketNotifier::event ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#31 0xb6848f3d in QApplication::internalNotify ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#32 0xb684851d in QApplication::notify ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#33 0xb6e6ea6b in KApplication::notify () from /opt/kde34/lib/libkdecore.so.4
#34 0xb683872e in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#35 0xb67f4b99 in QEventLoop::processEvents ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#36 0xb685a4db in QEventLoop::enterLoop ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#37 0xb685a384 in QEventLoop::exec () from /usr/lib/qt-copy/lib/libqt-mt.so.3
#38 0xb6849190 in QApplication::exec ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#39 0x0804e48c in main ()
Comment 80 Jens Dagerbo 2005-07-25 22:33:39 UTC
*** Bug 108445 has been marked as a duplicate of this bug. ***
Comment 81 Giovanni Venturi 2005-08-05 10:20:35 UTC
Maybe it's not the same king of bug the crash I got.
Comment 82 Giovanni Venturi 2005-08-05 10:24:42 UTC
mmm... Sorry. It's the same indentical bug... Sorry, I reopen It.
I got it with SVN BRANCH KDE 3.4 on the 5th August 2005.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1240831776 (LWP 3834)]
[New Thread -1254028368 (LWP 3835)]
[Thread debugging using libthread_db enabled]
[New Thread -1240831776 (LWP 3834)]
[New Thread -1254028368 (LWP 3835)]
[Thread debugging using libthread_db enabled]
[New Thread -1240831776 (LWP 3834)]
[New Thread -1254028368 (LWP 3835)]
[KCrash handler]
#3  0xb6ade371 in QString::operator= ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#4  0xb6e9dba2 in KURL::operator= () from /opt/kde34/lib/libkdecore.so.4
#5  0xb6e9a262 in KURL::KURL () from /opt/kde34/lib/libkdecore.so.4
#6  0xb759bb97 in KFileTreeBranch::parentKFTVItem ()
   from /opt/kde34/lib/libkio.so.4
#7  0xb759c033 in KFileTreeBranch::addItems () from /opt/kde34/lib/libkio.so.4
#8  0xb759fbee in KFileTreeBranch::qt_invoke ()
   from /opt/kde34/lib/libkio.so.4
#9  0xb681d733 in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#10 0xb74b60fa in KDirLister::newItems () from /opt/kde34/lib/libkio.so.4
#11 0xb74b513d in KDirLister::emitItems () from /opt/kde34/lib/libkio.so.4
#12 0xb74a9cdc in KDirListerCache::slotEntries ()
   from /opt/kde34/lib/libkio.so.4
#13 0xb74b6d94 in KDirListerCache::qt_invoke ()
   from /opt/kde34/lib/libkio.so.4
#14 0xb681d733 in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#15 0xb73ea831 in KIO::ListJob::entries () from /opt/kde34/lib/libkio.so.4
#16 0xb73d7cf3 in KIO::ListJob::slotListEntries ()
   from /opt/kde34/lib/libkio.so.4
#17 0xb73eaae0 in KIO::ListJob::qt_invoke () from /opt/kde34/lib/libkio.so.4
#18 0xb681d733 in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#19 0xb73c054a in KIO::SlaveInterface::listEntries ()
   from /opt/kde34/lib/libkio.so.4
#20 0xb73bd1cf in KIO::SlaveInterface::dispatch ()
   from /opt/kde34/lib/libkio.so.4
#21 0xb73bc167 in KIO::SlaveInterface::dispatch ()
   from /opt/kde34/lib/libkio.so.4
#22 0xb73b8f37 in KIO::Slave::gotInput () from /opt/kde34/lib/libkio.so.4
#23 0xb73bb699 in KIO::Slave::qt_invoke () from /opt/kde34/lib/libkio.so.4
#24 0xb681d733 in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#25 0xb681d86c in QObject::activate_signal ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#26 0xb6b42458 in QSocketNotifier::activated ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#27 0xb683865d in QSocketNotifier::event ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#28 0xb67c2f3d in QApplication::internalNotify ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#29 0xb67c251d in QApplication::notify ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#30 0xb6de8a6b in KApplication::notify () from /opt/kde34/lib/libkdecore.so.4
#31 0xb67b272e in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#32 0xb676eb99 in QEventLoop::processEvents ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#33 0xb67d44db in QEventLoop::enterLoop ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#34 0xb67d4384 in QEventLoop::exec () from /usr/lib/qt-copy/lib/libqt-mt.so.3
#35 0xb67c3190 in QApplication::exec ()
   from /usr/lib/qt-copy/lib/libqt-mt.so.3
#36 0x0804e48c in main ()
Comment 83 Jens Dagerbo 2005-08-25 05:52:59 UTC
*** Bug 111288 has been marked as a duplicate of this bug. ***
Comment 84 Randall Graham 2005-10-07 19:20:38 UTC
I have the same problem on a Debian-Sarge box.

Here is my console output and back trace:


console:

QLayout "unnamed" added to IndexView "unnamed", which already has a layout
kdevelop: SnippetWidget::initConfig()
kdevelop: Read group DEFAULT 1
kdevelop: Created group DEFAULT 1
kdevelop: Read item priority 1
kdevelop: Created item priority 1
kdevelop: Read item aaa 1
kdevelop: Created item aaa 1
ERROR: parse error
ERROR: parse error
QObject::connect: No such slot ClassViewPart::removeNamespace(const QString&)
QObject::connect:  (sender name:   'ClassViewWidget')
QObject::connect:  (receiver name: 'ClassViewPart')
ERROR: parse error
ERROR: parse error
ASSERT: "part && parent" in partwidget.cpp (40)
ERROR: parse error
ERROR: parse error
QGVector::insert: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
KCrash: Application 'kdevelop' crashing...


backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 23100)]
[New Thread 32769 (LWP 23101)]
[New Thread 16386 (LWP 23102)]
0x41a3526b in waitpid () from /lib/libpthread.so.0
#0  0x41a3526b in waitpid () from /lib/libpthread.so.0
#1  0x40ffe684 in ?? () from /usr/lib/libkdecore.so.4
#2  0x00000000 in ?? ()
#3  0x40f0cea0 in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#4  0x41a33fe1 in __pthread_sighandler () from /lib/libpthread.so.0
#5  0x41b8d668 in killpg () from /lib/libc.so.6
#6  0x41a30660 in raise () from /lib/libpthread.so.0
#7  0x41b8d616 in raise () from /lib/libc.so.6
#8  0x41b8e981 in abort () from /lib/libc.so.6
#9  0x41b0cda7 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#10 0x41b0cde4 in std::terminate () from /usr/lib/libstdc++.so.5
#11 0x41b0cf56 in __cxa_throw () from /usr/lib/libstdc++.so.5
#12 0x41b0d1af in operator new () from /usr/lib/libstdc++.so.5
#13 0x41b0d27f in operator new[] () from /usr/lib/libstdc++.so.5
#14 0x41625ae2 in QString::QString () from /usr/lib/libqt-mt.so.3
#15 0x4162a9e8 in QString::mid () from /usr/lib/libqt-mt.so.3
#16 0x4255329b in Parser::reportError () from /usr/lib/libkdevcppparser.so.0
#17 0x4255365b in Parser::syntaxError () from /usr/lib/libkdevcppparser.so.0
#18 0x4256ffeb in Parser::parseDeclarationInternal ()
   from /usr/lib/libkdevcppparser.so.0
#19 0x425555f3 in Parser::parseDeclaration ()
   from /usr/lib/libkdevcppparser.so.0
#20 0x42554aee in Parser::parseTranslationUnit ()
   from /usr/lib/libkdevcppparser.so.0
#21 0x4253f9ce in Driver::parseFile () from /usr/lib/libkdevcppparser.so.0
#22 0x423d99af in CppSupportPart::slotParseFiles ()
   from /usr/lib/kde3/libkdevcppsupport.so
#23 0x423e494f in CppSupportPart::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#24 0x4135271c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0x4169162a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#26 0x4136c91d in QSignal::activate () from /usr/lib/libqt-mt.so.3
#27 0x41374253 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#28 0x412f5e1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#29 0x412f541e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#30 0x40e82ec3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#31 0x412e5645 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#32 0x4129ecfb in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#33 0x413081d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#34 0x41308088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#35 0x412f6071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#36 0x0804e6bd in main ()
Comment 85 RADHIKA 2005-11-30 21:00:23 UTC
I get the same bug,  i am totally stuck with my work progress. As soon as I try to one of the exisiting project in which I have added my own files, kdevlop crashes.  I am using Fedora Core 4, I dont know the exact version of kdevlop but its the one which comes with fedorea core 4, I havent upgraded it yet.
The backtrack report is as follows:


(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208882720 (LWP 3168)]
[New Thread -1212421200 (LWP 3189)]
(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)
(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)
(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)
[KCrash handler]
#4  0x01633bb6 in Parser::parseTranslationUnit ()
   from /usr/lib/libkdevcppparser.so.0
#5  0x015fbdf5 in Driver::parseFile () from /usr/lib/libkdevcppparser.so.0
#6  0x010a12d0 in CppSupportPart::slotParseFiles ()
   from /usr/lib/kde3/libkdevcppsupport.so
#7  0x010a6e18 in CppSupportPart::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#8  0x0787ddb4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#9  0x07bf2796 in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#10 0x0789b633 in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#11 0x078a3f15 in QSingleShotTimer::event ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x0781908d in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x07819a0c in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x00c17661 in KApplication::notify () from /usr/lib/libkdecore.so.4
#15 0x0780d932 in QEventLoop::activateTimers ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x077c331a in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x07831732 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x07831656 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x07818a59 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x0804e5ed in ?? ()
#21 0x00578de6 in __libc_start_main () from /lib/libc.so.6
#22 0x0804d951 in ?? ()
Comment 86 Amilcar do Carmo Lucas 2005-11-30 21:12:40 UTC
Maybe it's time for you to update ....
Comment 87 Tim Harper 2006-01-28 01:03:52 UTC
when I load this file in ruby source in kdevelop, it crashes (must be when it is parseing the code?) :

#!/usr/bin/env ruby

class Foo
	attr_reader :name
	attr_writer :name
	
	
	def my_methood
	end
	
	def what_is_my_name
	@name = chris
	end
	
	def return_name
	return @name
	end
	
	self.my_public
	global_var = "foo"
	end
	
	private
	def private_methood
	end
end

Foo.what_is_my_name
Foo.name

Foo::my_public

puts "Hello world"

I=50
Comment 88 Tim Harper 2006-01-28 01:05:36 UTC
note:in my above comment
the crash occurs when I load the project with that code
the project is a ruby project, which contains but one file: buddybin.rb

Comment 89 Jason Taylor 2006-02-20 02:23:09 UTC
I was a Mandrake user and I had this problem, now use Fedora core 4 and the bug remains.

I am using KDE 3.5.1-0.1.fc4 and KDevelop 3.3.1

When I open an existing project the first time, kdevelop usually crashes. If I open it immediately again, it loads faster and does not crash.

It seems to me that it might be a timing issue. 

Backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
`shared object read from target memory' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1208666432 (LWP 26858)]
[New Thread -1212990544 (LWP 26860)]
[KCrash handler]
#6  0x05806770 in QString::operator= () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#7  0x00fde524 in KURL::operator= () from /usr/lib/libkdecore.so.4
#8  0x00fdf2a1 in KURL::KURL () from /usr/lib/libkdecore.so.4
#9  0x00618464 in KFileTreeBranch::parentKFTVItem () from /usr/lib/libkio.so.4
#10 0x006191fd in KFileTreeBranch::addItems () from /usr/lib/libkio.so.4
#11 0x00619c91 in KFileTreeBranch::qt_invoke () from /usr/lib/libkio.so.4
#12 0x054fbeb4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x0053e8c9 in KDirLister::newItems () from /usr/lib/libkio.so.4
#14 0x0053ebd9 in KDirLister::emitItems () from /usr/lib/libkio.so.4
#15 0x00544803 in KDirListerCache::slotUpdateResult ()
   from /usr/lib/libkio.so.4
#16 0x0054837b in KDirListerCache::qt_invoke () from /usr/lib/libkio.so.4
#17 0x054fbeb4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x004843ac in KIO::Job::result () from /usr/lib/libkio.so.4
#19 0x004894ee in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#20 0x0048fbba in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#21 0x0049702f in KIO::ListJob::slotFinished () from /usr/lib/libkio.so.4
#22 0x00496f51 in KIO::ListJob::qt_invoke () from /usr/lib/libkio.so.4
#23 0x054fbeb4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x054fc374 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#25 0x004764be in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#26 0x00478dd6 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#27 0x0047745d in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#28 0x004748f0 in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#29 0x00474a85 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#30 0x054fbeb4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#31 0x054fc4e8 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#32 0x05874fe6 in QSocketNotifier::activated ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x0551baf5 in QSocketNotifier::event ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#34 0x054970dd in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#35 0x05497a5c in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#36 0x00f52621 in KApplication::notify () from /usr/lib/libkdecore.so.4
#37 0x0548aaf9 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x05441340 in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#39 0x054af82b in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#40 0x054af736 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#41 0x05496aa9 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#42 0x0804def5 in main (argc=2, argv=0xbfe7b254) at main.cpp:145
#43 0x00125d5f in __libc_start_main () from /lib/libc.so.6
#44 0x0804d3c1 in _start ()
Comment 90 Nadeem Hasan 2006-03-12 22:18:02 UTC
For me it crashes a lot at startup and shutdown with the exact same backtrace as above. I am using 3.5.1+ with KDevelop 3.3.1 both compiled from source on SUSE10.
Comment 91 Randall Graham 2006-03-13 06:22:53 UTC
My suggestion, buy a fast machine and move to eclipse.
You won't look back.

-Randy
Comment 92 Jens Dagerbo 2006-04-18 23:54:44 UTC
*** Bug 120855 has been marked as a duplicate of this bug. ***
Comment 93 evdsande 2006-04-22 12:50:47 UTC
This problem still occurs in kdevelop 3.3.2 and is really anoying. In my case it looks related to having a html file open in the project. 
I'm running SuseLinux 10.0 with kdeupgraded to version 3.5.2 which includes kdevelop 3.3.2

Here's my backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(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)
[Thread debugging using libthread_db enabled]
[New Thread 1105294144 (LWP 8120)]
[New Thread 1122024368 (LWP 8181)]
[Thread debugging using libthread_db enabled]
[New Thread 1105294144 (LWP 8120)]
[New Thread 1122024368 (LWP 8181)]
[Thread debugging using libthread_db enabled]
[New Thread 1105294144 (LWP 8120)]
[New Thread 1122024368 (LWP 8181)]
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x40efe6c2 in QString::operator= () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x407edb88 in KURL::operator= () from /opt/kde3/lib/libkdecore.so.4
#8  0x408373df in KURL::KURL () from /opt/kde3/lib/libkdecore.so.4
#9  0x4037b28b in KFileTreeBranch::parentKFTVItem ()
   from /opt/kde3/lib/libkio.so.4
#10 0x403c13cf in KFileTreeBranch::addItems () from /opt/kde3/lib/libkio.so.4
#11 0x403c1ead in KFileTreeBranch::qt_invoke () from /opt/kde3/lib/libkio.so.4
#12 0x40c1a929 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x402b6f45 in KDirLister::newItems () from /opt/kde3/lib/libkio.so.4
#14 0x402b72cb in KDirLister::emitItems () from /opt/kde3/lib/libkio.so.4
#15 0x40320a8b in KDirListerCache::slotEntries ()
   from /opt/kde3/lib/libkio.so.4
#16 0x40320eea in KDirListerCache::qt_invoke () from /opt/kde3/lib/libkio.so.4
#17 0x40c1a929 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x402312ac in KIO::ListJob::entries () from /opt/kde3/lib/libkio.so.4
#19 0x402986d3 in KIO::ListJob::slotListEntries ()
   from /opt/kde3/lib/libkio.so.4
#20 0x40298950 in KIO::ListJob::qt_invoke () from /opt/kde3/lib/libkio.so.4
#21 0x40c1a929 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x4022da85 in KIO::SlaveInterface::listEntries ()
   from /opt/kde3/lib/libkio.so.4
#23 0x4029d379 in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#24 0x40241d97 in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#25 0x40246c9b in KIO::Slave::gotInput () from /opt/kde3/lib/libkio.so.4
#26 0x40246e4b in KIO::Slave::qt_invoke () from /opt/kde3/lib/libkio.so.4
#27 0x40c1a929 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40c1af11 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40f68750 in QSocketNotifier::activated ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40c39d30 in QSocketNotifier::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40bb9f41 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40bba8c9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x408be0de in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#34 0x40badb7d in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40b67632 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40bd0fd8 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40bd0ed6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40bb988f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x0804de16 in ?? ()
#40 0xbfc42970 in ?? ()
#41 0x08139b68 in ?? ()
#42 0xbfc42aec in ?? ()
#43 0x00000001 in ?? ()
#44 0x0805219d in vtable for QGList ()
#45 0x00000001 in ?? ()
#46 0x08052290 in vtable for QGList ()
#47 0x08052241 in vtable for QGList ()
#48 0x08051a79 in vtable for QGList ()
#49 0x08051a65 in vtable for QGList ()
#50 0x00000000 in ?? ()
#51 0xbfc429b0 in ?? ()
#52 0x40007ec4 in do_lookup_x () from /lib/ld-linux.so.2
#53 0x4118eea0 in __libc_start_main () from /lib/tls/libc.so.6
#54 0x0804d2a1 in ?? ()
Comment 94 Tobi Vollebregt 2006-05-02 16:09:08 UTC
Same bug here; crashes when opening project file if .pcs file does not exists. Does not crash when opening project file if .pcs file does exist.

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912603451664 (LWP 2341)]
0x00002aaaaac21d24 in QShared::ref (this=0x0) at qshared.h:49
49          void ref()          { count++; }
(gdb) bt
#0  0x00002aaaaac21d24 in QShared::ref (this=0x0) at qshared.h:49
#1  0x00002aaaac69b643 in QString::operator= () from /usr/lib/libqt-mt.so.3
#2  0x00002aaaabba8dc2 in KURL::operator= () from /usr/lib/libkdecore.so.4
#3  0x00002aaaacd40516 in KFileTreeBranch::parentKFTVItem () from /usr/lib/libkio.so.4
#4  0x00002aaaacd7d99a in KFileTreeBranch::addItems () from /usr/lib/libkio.so.4
#5  0x00002aaaacd7e31a in KFileTreeBranch::qt_invoke () from /usr/lib/libkio.so.4
#6  0x00002aaaac39d776 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#7  0x00002aaaacc9089e in KDirLister::newItems () from /usr/lib/libkio.so.4
#8  0x00002aaaacc90ca9 in KDirLister::emitItems () from /usr/lib/libkio.so.4
#9  0x00002aaaacccf50c in KDirListerCache::slotEntries () from /usr/lib/libkio.so.4
#10 0x00002aaaaccd822a in KDirListerCache::qt_invoke () from /usr/lib/libkio.so.4
#11 0x00002aaaac39d776 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0x00002aaaacc17d8b in KIO::ListJob::entries () from /usr/lib/libkio.so.4
#13 0x00002aaaacc77f65 in KIO::ListJob::slotListEntries () from /usr/lib/libkio.so.4
#14 0x00002aaaacc781bd in KIO::ListJob::qt_invoke () from /usr/lib/libkio.so.4
#15 0x00002aaaac39d776 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0x00002aaaacc149ae in KIO::SlaveInterface::listEntries () from /usr/lib/libkio.so.4
#17 0x00002aaaacc7730f in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#18 0x00002aaaacc2e118 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#19 0x00002aaaacc2a66a in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#20 0x00002aaaacc2a808 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#21 0x00002aaaac39d776 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0x00002aaaac39e15f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0x00002aaaac70b9a6 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#24 0x00002aaaac3bc97a in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#25 0x00002aaaac336c0c in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#26 0x00002aaaac336e7c in QApplication::notify () from /usr/lib/libqt-mt.so.3
#27 0x00002aaaabc64f6e in KApplication::notify () from /usr/lib/libkdecore.so.4
#28 0x00002aaaac2c836c in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#29 0x00002aaaac329299 in QEventLoop::activateSocketNotifiers () from /usr/lib/libqt-mt.so.3
#30 0x00002aaaac2dbb5b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#31 0x00002aaaac34eaa2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#32 0x00002aaaac34e9ab in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#33 0x00002aaaac335878 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#34 0x000000000040821c in main (argc=1, argv=0x7fffff8c5ce8) at /home/tobi/wd/soc/kdevelop3-3.3.2/./src/main.cpp:145
Comment 95 Jens 2006-06-29 23:22:19 UTC
Hello,

I am encountering this bug too, while working on Digikam 0.9-svn (KDE application). Here is a backtrace:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 1105314592 (LWP 13627)]
[New Thread 1123171248 (LWP 13631)]
[Thread debugging using libthread_db enabled]
[New Thread 1105314592 (LWP 13627)]
[New Thread 1123171248 (LWP 13631)]
[Thread debugging using libthread_db enabled]
[New Thread 1105314592 (LWP 13627)]
[New Thread 1123171248 (LWP 13631)]
[KCrash handler]
#6  0x40ed96d2 in QString::operator= () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x407c8cb6 in KURL::operator= () from /opt/kde3/lib/libkdecore.so.4
#8  0x4081252f in KURL::KURL () from /opt/kde3/lib/libkdecore.so.4
#9  0x403556bb in KFileTreeBranch::parentKFTVItem ()
   from /opt/kde3/lib/libkio.so.4
#10 0x4039b84f in KFileTreeBranch::addItems () from /opt/kde3/lib/libkio.so.4
#11 0x4039c32d in KFileTreeBranch::qt_invoke () from /opt/kde3/lib/libkio.so.4
#12 0x40bf5039 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x402919e5 in KDirLister::newItems () from /opt/kde3/lib/libkio.so.4
#14 0x40291d6b in KDirLister::emitItems () from /opt/kde3/lib/libkio.so.4
#15 0x402fa7c3 in KDirListerCache::slotUpdateResult ()
   from /opt/kde3/lib/libkio.so.4
#16 0x402fb17e in KDirListerCache::qt_invoke () from /opt/kde3/lib/libkio.so.4
#17 0x40bf5039 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40209762 in KIO::Job::result () from /opt/kde3/lib/libkio.so.4
#19 0x4025d94c in KIO::Job::emitResult () from /opt/kde3/lib/libkio.so.4
#20 0x4025dabe in KIO::SimpleJob::slotFinished ()
   from /opt/kde3/lib/libkio.so.4
#21 0x4025de4d in KIO::ListJob::slotFinished () from /opt/kde3/lib/libkio.so.4
#22 0x4027345e in KIO::ListJob::qt_invoke () from /opt/kde3/lib/libkio.so.4
#23 0x40bf5039 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40bf54f0 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x402043bc in KIO::SlaveInterface::finished ()
   from /opt/kde3/lib/libkio.so.4
#26 0x4027829c in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#27 0x4021cc47 in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#28 0x40221b4b in KIO::Slave::gotInput () from /opt/kde3/lib/libkio.so.4
#29 0x40221cfb in KIO::Slave::qt_invoke () from /opt/kde3/lib/libkio.so.4
#30 0x40bf5039 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40bf5621 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40f437e0 in QSocketNotifier::activated ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40c14450 in QSocketNotifier::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40b94351 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40b94cd9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x4089931e in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#37 0x40b87f8d in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40b418b2 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x40bab3a2 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x40bab286 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0x40b93c9f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x0804de26 in main ()
Comment 96 Sergei 2006-07-11 23:39:06 UTC
i am seeing this on FC5. gcc 4.1.0

bt is below...

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`shared object read from target memory' has disappeared; keeping its symbols.
(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)
[Thread debugging using libthread_db enabled]
[New Thread -1208469840 (LWP 12027)]
[New Thread -1212580960 (LWP 12029)]
(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)
(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)
(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)
[KCrash handler]
#6  0x008d6402 in __kernel_vsyscall ()
#7  0x00ceb159 in raise () from /lib/libc.so.6
#8  0x00cec6e3 in abort () from /lib/libc.so.6
#9  0x0227f550 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#10 0x0227cf75 in std::set_unexpected () from /usr/lib/libstdc++.so.6
#11 0x0227cfb2 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0x0227d0ea in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0x0227d52e in operator new () from /usr/lib/libstdc++.so.6
#14 0x0227d60d in operator new[] () from /usr/lib/libstdc++.so.6
#15 0x0744cd9f in QString::setLength ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#16 0x07453df5 in operator>> () from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#17 0x48513896 in CodeModelItem::read () from /usr/lib/libkdevelop.so.1
#18 0x48517486 in ClassModel::read () from /usr/lib/libkdevelop.so.1
#19 0x4851a086 in NamespaceModel::read () from /usr/lib/libkdevelop.so.1
#20 0x4851a1a4 in FileModel::read () from /usr/lib/libkdevelop.so.1
#21 0x00e48fc5 in CppSupportPart::slotParseFiles ()
   from /usr/lib/kde3/libkdevcppsupport.so
#22 0x00e4f361 in CppSupportPart::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#23 0x0713537a in QObject::activate_signal ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#24 0x074bcf1e in QSignal::signal () from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#25 0x07153787 in QSignal::activate ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#26 0x0715c353 in QSingleShotTimer::event ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#27 0x070cce2b in QApplication::internalNotify ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#28 0x070ce1a9 in QApplication::notify ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#29 0x479a7ac3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#30 0x070c0b8c in QEventLoop::activateTimers ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#31 0x070745ff in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#32 0x070e6225 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#33 0x070e60be in QEventLoop::exec () from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#34 0x070cc8af in QApplication::exec ()
   from /usr/lib/qt-3.3.5/lib/libqt-mt.so.3
#35 0x0804deda in ?? ()
#36 0x00cd87e4 in __libc_start_main () from /lib/libc.so.6
#37 0x0804d2b1 in ?? ()
Comment 97 Sergei 2006-08-29 00:38:08 UTC
It is seen again :(((

I have a kdevelop version 3.3.4



This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
Comment 98 Sergei 2006-08-29 00:39:55 UTC
Happens once again.

Very fast after the begining of the opening the project.
This time i have a trace....

---------------------------

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`shared object read from target memory' has disappeared; keeping its symbols.
(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)
[Thread debugging using libthread_db enabled]
[New Thread -1208334672 (LWP 13298)]
[New Thread -1212105824 (LWP 13311)]
(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)
(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)
(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)
[KCrash handler]
#6  0x47950715 in QWidget::mapFromGlobal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#7  0x00eef83d in QXIMInputContext::setMicroFocus ()
   from /usr/lib/qt-3.3/plugins/inputmethods/libqxim.so
#8  0x00463dcc in QMultiInputContext::setMicroFocus ()
   from /usr/lib/qt-3.3/plugins/inputmethods/libqimsw-multi.so
#9  0x47953973 in QWidget::setMicroFocusHint ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#10 0x0139e89a in KateViewInternal::updateMicroFocusHint ()
   from /usr/lib/kde3/libkatepart.so
#11 0x013a25bf in KateViewInternal::updateCursor ()
   from /usr/lib/kde3/libkatepart.so
#12 0x013a579b in KateView::setCursorPositionInternal ()
   from /usr/lib/kde3/libkatepart.so
#13 0x013d023b in KateView::setCursorPositionReal ()
   from /usr/lib/kde3/libkatepart.so
#14 0x4928484a in EditorProxy::setLineNumber ()
   from /usr/lib/libkdevshell.so.0
#15 0x4929c6d6 in PartController::editDocumentInternal ()
   from /usr/lib/libkdevshell.so.0
#16 0x492aaa32 in ProjectSession::loadDocument ()
   from /usr/lib/libkdevshell.so.0
#17 0x492aab52 in ProjectSession::qt_invoke () from /usr/lib/libkdevshell.so.0
#18 0x479f370a in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x47d7d52e in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x47a11dd7 in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x47a1a983 in QSingleShotTimer::event ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x4798abeb in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x4798c039 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x48163193 in KApplication::notify () from /usr/lib/libkdecore.so.4
#25 0x4797e9f2 in QEventLoop::activateTimers ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#26 0x4793305f in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x479a4090 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x479a3f56 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x4798a6ff in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#30 0x0804deda in ?? ()
#31 0x00cd87e4 in __libc_start_main () from /lib/libc.so.6
#32 0x0804d2b1 in ?? ()
Comment 99 Amilcar do Carmo Lucas 2006-08-29 15:05:54 UTC
Sergei, please update your KDE to 3.5.4 and your KDevelop to 3.3.4.
The bug you reported is not the one described in this thread and it is solved there.
Comment 100 András Manţia 2006-09-08 01:11:27 UTC
#98 is fixed for 3.4 (a different bug), for the rest I don't know.
Comment 101 Andreas Scherf 2006-09-20 20:46:05 UTC
Here is mine :

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(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)
(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)
[Thread debugging using libthread_db enabled]
[New Thread -1241344320 (LWP 7673)]
[New Thread -1256113232 (LWP 7676)]
(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)
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb677071e in QShared::ref () from /usr/lib/libqt-mt.so.3
#7  0xb6b6833d in QString::operator= () from /usr/lib/libqt-mt.so.3
#8  0xb6ea10ae in KURL::operator= () from /usr/lib/libkdecore.so.4
#9  0xb6edea31 in KURL::KURL () from /usr/lib/libkdecore.so.4
#10 0xb75b49cc in KFileTreeBranch::parentKFTVItem () from /usr/lib/libkio.so.4
#11 0xb75fda39 in KFileTreeBranch::addItems () from /usr/lib/libkio.so.4
#12 0xb76003c3 in KFileTreeBranch::qt_invoke () from /usr/lib/libkio.so.4
#13 0xb684aeb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#14 0xb74e420b in KDirLister::newItems () from /usr/lib/libkio.so.4
#15 0xb74e44a9 in KDirLister::emitItems () from /usr/lib/libkio.so.4
#16 0xb75508f7 in KDirListerCache::slotUpdateResult ()
   from /usr/lib/libkio.so.4
#17 0xb7550fa7 in KDirListerCache::qt_invoke () from /usr/lib/libkio.so.4
#18 0xb684aeb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0xb7452ade in KIO::Job::result () from /usr/lib/libkio.so.4
#20 0xb74affc4 in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#21 0xb74b0108 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#22 0xb74b0473 in KIO::ListJob::slotFinished () from /usr/lib/libkio.so.4
#23 0xb74b224f in KIO::ListJob::qt_invoke () from /usr/lib/libkio.so.4
#24 0xb684aeb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xb684b954 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#26 0xb744e118 in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#27 0xb74c319e in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#28 0xb7496620 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#29 0xb748b730 in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#30 0xb748fa87 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#31 0xb684aeb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#32 0xb684b7c8 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#33 0xb6bdf06f in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#34 0xb686b1fe in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#35 0xb67e0e56 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#36 0xb67e1052 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#37 0xb6f767ab in KApplication::notify () from /usr/lib/libkdecore.so.4
#38 0xb6772157 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#39 0xb67d2973 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#40 0xb6785f43 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#41 0xb67f9947 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#42 0xb67f986a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#43 0xb67df965 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#44 0x0804e037 in ?? ()
#45 0xbf9ff8c0 in ?? ()
#46 0x080ed300 in ?? ()
#47 0xbf9ffa3c in ?? ()
#48 0x00000001 in ?? ()
#49 0x0805221d in vtable for QGList ()
#50 0x00000001 in ?? ()
#51 0x08052310 in vtable for QGList ()
#52 0x080522c1 in vtable for QGList ()
#53 0x08051af9 in vtable for QGList ()
#54 0x08051ae5 in vtable for QGList ()
#55 0xb6064ab7 in ?? () from /lib/tls/i686/cmov/libc.so.6
#56 0x0804bc4f in ?? ()
#57 0xb617eadc in ?? () from /lib/tls/i686/cmov/libc.so.6
#58 0xb6180320 in __malloc_initialize_hook ()
   from /lib/tls/i686/cmov/libc.so.6
#59 0x08062eb8 in ?? ()
#60 0x00000000 in ?? ()

KDevekop crashes after starting up with a project. The app never recieves the keynoard focus and couldn't be controled . ...
Comment 102 Carsten Pfeiffer 2006-09-28 12:36:39 UTC
Created attachment 17953 [details]
patch fixing a  crash on shutdown

kdevelop uses a few singleton objects that are never deleted on exit, and which
are the "owners" of quite a bunch of other objects. When closing the main
window with Alt-F4 for example, the QObject hierarchy will make sure that
(almost) everything is deleted in the right order. 

When closing kdevelop through session management, or e.g. via "dcop `dcop
kdevelop*` MainApplication-Interface quit" however, kdevelop is being closed
with the last window (and hence all its child objects) still alive.

On KApplication destruction, all the plugins are deleted through KLibLoader:

#0  ~KFileIconView (this=0x8458630) at kfileiconview.cpp:186
#1  0xb72fa89a in ~KDirOperator (this=0x8430460) at kdiroperator.cpp:158
#2  0xb53251a5 in KDevDirOperator::~KDevDirOperator () from
/home/gis/kde3-test/lib/kde3/libkdevfileselector.so
#3  0xb652c883 in QWidget::~QWidget () from /usr/share/qt3/lib/libqt-mt.so.3
#4  0xb53211d8 in KDevFileSelector::~KDevFileSelector () from
/home/gis/kde3-test/lib/kde3/libkdevfileselector.so
#5  0xb531b4de in FileSelectorPart::~FileSelectorPart () from
/home/gis/kde3-test/lib/kde3/libkdevfileselector.so
#6  0xb74df47e in QPtrList<QObject>::deleteItem (this=0x8412ef0, d=0x84030b8)
at /usr/share/qt3/include/qptrlist.h:150
#7  0xb67e8d84 in QGList::clear () from /usr/share/qt3/lib/libqt-mt.so.3
#8  0xb74df49d in QPtrList<QObject>::clear (this=0x8412ef0) at
/usr/share/qt3/include/qptrlist.h:93
#9  0xb6c3a9c4 in ~KLibrary (this=0x8412eb8) at klibloader.cpp:126
#10 0xb6c387c8 in KLibLoader::close_pending (this=0x81a8678, wrap=0x840a070) at
klibloader.cpp:516
#11 0xb6c392bb in ~KLibLoader (this=0x81a8678) at klibloader.cpp:328
#12 0xb6c37e0c in KLibLoader::cleanUp () at klibloader.cpp:298
#13 0xb6b8883a in ~KApplication (this=0xbfd841d0) at kapplication.cpp:1609

I'm not exactly sure why this doesn't work (it certainly is not related to
KFileIconView -- if I change its destructor to {} the crash happens in the next
(documentation) plugin.

In order to fix this, kdevelop simply needs to make sure to clean up all its
plugins and singletons in time.

This patch does that in a proof of concept way. I'd rather have a dedicated
QObject though, that manages all those singletons and listens to kapp's
aboutToQuit() signal to perform the shutdown, then. I'm happy to create a new
patch doing this.

In order to verify this, try current kdevelop 3.x and quit it with Alt-F4 once
and with "dcop `dcop kdevelop*` MainApplication-Interface quit". The latter
should make it crash. Now apply the patch and try again.
Comment 103 Matt Rogers 2006-11-04 16:04:30 UTC
SVN commit 601896 by mattr:

Apply patch from Carsten Pfeiffer to fix crashes on KDevelop shutdown.
This patch fixes crashes in the following two situations:

- Quit via the command 'dcop kdevelop-1234 MainApplication-Interface
  quit'
- Quit when closing as part of KDE logout

Thanks for the patch!

CCBUG: 69906


 M  +3 -0      lib/interfaces/kdevmainwindow.h  
 M  +10 -1     src/main.cpp  
 M  +1 -0      src/plugincontroller.cpp  


--- branches/kdevelop/3.4/lib/interfaces/kdevmainwindow.h #601895:601896
@@ -40,6 +40,9 @@
 class KDevMainWindow
 {
 public:
+    /**Destroys the main window*/
+    virtual ~KDevMainWindow() {} // must be virtual!
+
     /**Embeds a view of a part into the main window.
     @param view The view to embed. Must be a KPart.
     @param title The title of a view.
--- branches/kdevelop/3.4/src/main.cpp #601895:601896
@@ -142,5 +142,14 @@
 
   kapp->dcopClient()->registerAs("kdevelop");
 
-  return app.exec();
+  int ret = app.exec();
+
+  ProjectManager::getInstance()->closeProject( true ); // exiting
+  delete ProjectManager::getInstance();
+
+  delete PluginController::getInstance();
+  if (TopLevel::mainWindowValid())
+      delete TopLevel::getInstance();
+
+  return ret;
 }
--- branches/kdevelop/3.4/src/plugincontroller.cpp #601895:601896
@@ -248,6 +248,7 @@
 
 void PluginController::removePart(KXMLGUIClient *part)
 {
+  if (TopLevel::mainWindowValid()) // is 0 when window was already closed
   TopLevel::getInstance()->main()->guiFactory()->removeClient(part);
 }
 
Comment 104 Megan Webb 2006-11-05 00:06:10 UTC
This bug has become a basket case of many crashes.

- The original crash was fixed. 
- The versions of kdevelop, kde have all changed over the time of this bug report.
- Several of the other reported crashes (not relating the the original report) have been fixed.
- The jumble of many different bugs in this one report makes it impossible for us developers to deal with.
- The last reported crash has had the patch committed to svn.3.4 branch 

Ideally, if anyone can test on svn version 3.4, that would be great. 

Regardless, of if you can test on svn version 3.4 or not, if you still have a problem can you file a new bug report with a backtrace so we can find out the if a problem still exists.