KDevelop crashes when adding a file

Oliver Eichler oliver.eichler at dspsolutions.de
Thu Jun 17 19:56:52 BST 1999


On 16-Jun-99 Jonas Nordin wrote:
>> The loop ends correctly, however KDevelop dies with a segmentation fault
>> later
>> on.
>>
>> I really wonder: Did anyone ever successfully add a file to a project sofar?
>>
>> I am sorry, I do not have the time to investigate further. Guess I have to
>> wait
>> for versions >0.4 befor using KDevelop
> 
> Sure, dozens. Only .h and .cpp files though. Does it die adding those files
> as
> well?

I only tried *.h and *.cpp.

I still wonder about the code. According to the QT documentation the loop _IS_
endless (I am using currently qt1.42 downloaded from Troll Tech and SuSE 6.0)
The loop removes the slash and the directory name. The last slash never gets
removed and thus the findRev method never will return with -1 to break the
loop. This must have happen to other people befor. However, does anyone
know if the Trolls changed QString? Maybe Sandy´s code is assuming a different
behavior.

pretty clueless

oliver


---
Oliver Eichler, Dipl.-Ing.

DSP Solutions
Ingenieure Kellermann, Voigt, Hoepfl, Eichler & Weidner
Partnerschaft



More information about the KDevelop mailing list