-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incremental parsing fails with segmentation fault #735
Comments
I have identified two major issues that contribute to the failure of incremental parsing: [1] The segmentation fault comes from
Conclusion: This query should be refactored into a view that uses JOINs to achieve the same result without the need for a [2] Once that's fixed, a second problem arises in CodeCompass/parser/src/sourcemanager.cpp Line 243 in 8e84d84
Even worse yet, even if we did call Conclusion: We should eliminate all |
I have verified that the bug is present on the |
@dbukki Nice catch 👏
@dbukki We should not optimize for SQLite support, as that is only for development purposes. It was also considered multiple times during the project's lifetime to completly drop SQLite support. If incremental parsing is conflicting with SQLite, then we can make incremental parsing not supporting it. |
As the name suggests, parsing anything in incremental mode (without a full re-parse) crashes CodeCompass with a segmentation fault.
The issue was first signaled in #714 (comment) but was found to be present in the current master (8e84d84) as well.
The text was updated successfully, but these errors were encountered: