Summary: | Kdev-python crashes when parsing Biopython files | ||
---|---|---|---|
Product: | [Developer tools] kdev-python | Reporter: | Luca Beltrame <lbeltrame> |
Component: | Language support | Assignee: | Sven Brauch <mail> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdev-python/de51c8bf4643462a5f09f16f079bee7b48b93b80 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Backtrace from relevant thread using gdb |
Description
Luca Beltrame
2012-04-27 08:07:15 UTC
Created attachment 70691 [details]
Backtrace from relevant thread using gdb
Upon further investigation, there is code that is being executed in the module upon import, including a "sanity test" that involves a number of asserts, and other modifications being made run-time. KDevelop does not run any code, so that's not the reason. There's a fancy list comprehension which the parser chokes on. I'll investigate the issue and let you know as soon as it's fixed. Git commit de51c8bf4643462a5f09f16f079bee7b48b93b80 by Sven Brauch. Committed on 28/04/2012 at 00:19. Pushed by brauch into branch 'master'. Fix a crash with fancy generator ranges, and add a unit test for that M +27 -54 duchain/contextbuilder.cpp M +15 -16 duchain/declarationbuilder.cpp M +3 -0 duchain/tests/pyduchaintest.cpp M +1 -1 parser/astvisitor.h http://commits.kde.org/kdev-python/de51c8bf4643462a5f09f16f079bee7b48b93b80 Try again with current master, please. The issue should be fixed. > Try again with current master, please. The issue should be fixed.
Sorry for the delay in the response. It is indeed fixed.
|