<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Sorry the patch doesn't solve the problem :(<br>
<br>
Here's the backtrace I got:<br>
Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread 1024 (LWP 7776)]<br>
0x403b0543 in QMapIterator<QString, ParsedClass *>::inc (this=0xbfffde34)
at /usr/lib/qt3/include/qmap.h:171<br>
171             while ( tmp->left )<br>
(gdb) backtrace<br>
#0  0x403b0543 in QMapIterator<QString, ParsedClass *>::inc (this=0xbfffde34)
at /usr/lib/qt3/include/qmap.h:171<br>
#1  0x403b2750 in QMapIterator<QString, ParsedClass *>::operator++
(this=0xbfffde34) at /usr/lib/qt3/include/qmap.h:143<br>
#2  0x4038b46a in ClassStore::removeWithReferences (this=0x81badc0, fileName=@0xbfffdeb4)
at classstore.cpp:544<br>
#3  0x41ef6196 in StoreWalker::parseTranslationUnit (this=0xbfffdeb0, ast=0x91ecf68)
at store_walker.cpp:43<br>
#4  0x41eabb38 in CppSupportPart::maybeParse (this=0x8493f70, fileName=<br>
      {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<br>
#5  0x41ea9906 in CppSupportPart::savedFile (this=0x8493f70, fileName=@0x86822b0)
at cppsupportpart.cpp:480<br>
#6  0x41ead91f in CppSupportPart::qt_invoke (this=0x8493f70, _id=6, _o=0xbfffe024)
at cppsupportpart.moc:178<br>
#7  0x40c87465 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3<br>
#8  0x40c876db in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3<br>
#9  0x0809559f in KDevPartController::savedFile (this=0x81cab90, t0=@0xbfffe0dc)
at kdevpartcontroller.moc:90<br>
#10 0x08072449 in PartController::slotUploadFinished (this=0x81cab90) at
partcontroller.cpp:382<br>
#11 0x08074e1b in PartController::qt_invoke (this=0x81cab90, _id=23, _o=0xbfffe1a8)
at partcontroller.moc:171<br>
#12 0x40c873c4 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3<br>
#13 0x40c872fe in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3<br>
#14 0x4220a357 in KateDocument::fileNameChanged () from /opt/kde3/lib/kde3/libkatepart.so<br>
#15 0x42215e31 in KateDocument::saveFile () from /opt/kde3/lib/kde3/libkatepart.so<br>
#16 0x4040eb51 in KParts::ReadWritePart::save () from /opt/kde3/lib/libkparts.so.2<br>
<br>
<br>
Roberto Raggi wrote:<br>
<blockquote type="cite" cite="mid200304081247.54933.raggi@di.unipi.it">
  <pre wrap="">On Tuesday 08 April 2003 10:29, Amilcar do Carmo Lucas wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">A REAL showstopper for Alpha4 is that it crashes when I save a .h file.
How's that for a showstopper???
    </pre>
  </blockquote>
  <pre wrap=""><!---->
amilcar, please can you check if the attached patch solve the problem? 

ciao robe
  </pre>
  <pre wrap="">
<hr width="90%" size="4">
? 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 ) {
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">-- 
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: <a class="moz-txt-link-abbreviated" href="mailto:amilcar@ida.ing.tu-bs.de">amilcar@ida.ing.tu-bs.de</a>
D-38106 Braunschweig
           <a class="moz-txt-link-freetext" href="http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml">http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml</a>
---------------------------------------------------------------------------
</pre>
<br>
</body>
</html>