gideon alpha 4...

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Tue Apr 8 13:48:05 UTC 2003


Sorry the patch doesn't solve the problem :(

Here's the backtrace I got:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7776)]
0x403b0543 in QMapIterator<QString, ParsedClass *>::inc 
(this=0xbfffde34) at /usr/lib/qt3/include/qmap.h:171
171             while ( tmp->left )
(gdb) backtrace
#0  0x403b0543 in QMapIterator<QString, ParsedClass *>::inc 
(this=0xbfffde34) at /usr/lib/qt3/include/qmap.h:171
#1  0x403b2750 in QMapIterator<QString, ParsedClass *>::operator++ 
(this=0xbfffde34) at /usr/lib/qt3/include/qmap.h:143
#2  0x4038b46a in ClassStore::removeWithReferences (this=0x81badc0, 
fileName=@0xbfffdeb4) at classstore.cpp:544
#3  0x41ef6196 in StoreWalker::parseTranslationUnit (this=0xbfffdeb0, 
ast=0x91ecf68) at store_walker.cpp:43
#4  0x41eabb38 in CppSupportPart::maybeParse (this=0x8493f70, fileName=
      {static null = {static null = <same as static member of an already 
seen type>, d = 0x80bc1a0, static shared_null = 0x80bc1a0}, d = 
0xbfffdf58, static shared_null = 0x80bc1a0}, store=0x81badc0) at 
cppsupportpart.cpp:755
#5  0x41ea9906 in CppSupportPart::savedFile (this=0x8493f70, 
fileName=@0x86822b0) at cppsupportpart.cpp:480
#6  0x41ead91f in CppSupportPart::qt_invoke (this=0x8493f70, _id=6, 
_o=0xbfffe024) at cppsupportpart.moc:178
#7  0x40c87465 in QObject::activate_signal () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#8  0x40c876db in QObject::activate_signal () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#9  0x0809559f in KDevPartController::savedFile (this=0x81cab90, 
t0=@0xbfffe0dc) at kdevpartcontroller.moc:90
#10 0x08072449 in PartController::slotUploadFinished (this=0x81cab90) at 
partcontroller.cpp:382
#11 0x08074e1b in PartController::qt_invoke (this=0x81cab90, _id=23, 
_o=0xbfffe1a8) at partcontroller.moc:171
#12 0x40c873c4 in QObject::activate_signal () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40c872fe in QObject::activate_signal () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#14 0x4220a357 in KateDocument::fileNameChanged () from 
/opt/kde3/lib/kde3/libkatepart.so
#15 0x42215e31 in KateDocument::saveFile () from 
/opt/kde3/lib/kde3/libkatepart.so
#16 0x4040eb51 in KParts::ReadWritePart::save () from 
/opt/kde3/lib/libkparts.so.2


Roberto Raggi wrote:

>On Tuesday 08 April 2003 10:29, Amilcar do Carmo Lucas wrote:
>  
>
>>A REAL showstopper for Alpha4 is that it crashes when I save a .h file.
>>How's that for a showstopper???
>>    
>>
>
>amilcar, please can you check if the attached patch solve the problem? 
>
>ciao robe
>  
>
>------------------------------------------------------------------------
>
>? classstore.patch
>Index: classstore.cpp
>===================================================================
>RCS file: /home/kde/kdevelop/lib/sourceinfo/classstore.cpp,v
>retrieving revision 1.27
>diff -u -p -r1.27 classstore.cpp
>--- classstore.cpp	5 Apr 2003 12:04:55 -0000	1.27
>+++ classstore.cpp	8 Apr 2003 10:46:32 -0000
>@@ -497,6 +497,10 @@ void ClassStore::removeWithReferences(co
>     // Remove all classes with reference to this file.
>     // Need to take care here as we are using an iterator on a
>     // container that we can be deleting classes from.
>+
>+    if( !scope )
>+        return;
>+
>     ParsedClass *klass = scope->classIterator.toFirst();
>     while (klass) {
>         if ( klass->declaredInFile() == fileName ) {
>  
>

-- 
Amilcar Lucas

---------------------------------------------------------------------------
             Institut fuer Datentechnik und Kommunikationsnetze
               Technische Universitaet Braunschweig, Germany      

Amilcar do Carmo Lucas                  Tel. : +49 531 391 3751
Raum 1315                               Fax  : +49 531 391 3750
Hans-Sommer Str. 66                     Email: amilcar at ida.ing.tu-bs.de
D-38106 Braunschweig
           http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml
---------------------------------------------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20030408/d3d60c76/attachment.html>


More information about the KDevelop-devel mailing list