Crashes in completion model/treeview

David Nolden david.nolden.kdevelop at art-master.de
Sat Feb 21 13:05:14 UTC 2009


Am Samstag 21 Februar 2009 13:33:14 schrieb Andreas Pakulat:
> Hi,
>
> note: I'm using Qt4.5rc1, so this could possibly be a Qt bug.
>
> I'm getting crashes here when trying to complete methods I want to
> implement. They're declared in the header, I'm sitting outside of anything
> in the cpp when hitting the completion. Also it seems I need to be typing
> parts of the wanted method to trigger this, choosing it via arrow keys
> seems to work. The output and backtrace:
I've never seen this before.

To give me a hint what might be causing this can you:
- Within KDevelop set code-completion to "always minimal completion", and see 
whether it still happens(Grouping is disabled then)
Probably it won't happen, so set it to full completion again before the next 
test.
- Go to cpp/codecompletionitem.cpp, and always return 0 within the data() 
function on "BestMatchesCount". This disabled the computation of best matches, 
which might also cause some problems.

Greetings, David





More information about the KDevelop-devel mailing list