Code completion deadlock (again) and patch
mattr at kde.org
Thu Sep 22 01:57:09 UTC 2005
On Wednesday 21 September 2005 04:46 pm, Jens Zurheide wrote:
> I thought it is worth looking into the C++ code completion problems I
> encounter with kdevelop from the KDE 3.5 svn branch.
> To reproduce the problem it is necessary to remove all old pcs-files from
> $KDEHOME/share/apps/kdevcppsupport and to start kdevelop with a C++
> project. From the project options create a new pcs file for Qt.
> Set the cursor at the end of a line in the editor press enter and then any
> letter. kdevelop goes into an infinite recursive loop starting in
> languages/cpp/cppcodecompletion.cpp, line 1990.
> I have modified lib/catalog/catalog.cpp with the attached patch and this
> solves the infinite recursion of kdevelop. Code completion seems to work
> however I do not have enough time right now to test the patch thoroughly
> and I have to admit that I don't know what I am doing. ;-) (Anyone daring
> to test the patch?)
> As a side note: during the error hunting I had the impression that the
> pcs-files are corrupted and unusable if kdevelop is started from a console
> and stopped via Ctrl-C.
> Have fun,
> PS: BDB seems to be version 4.2.52
i'll try your patch if i can find time. Thanks for taking an initial look. :)
More information about the KDevelop-devel