| Summary: | Crashes when the next line of "TODO" is edit. | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Fran <phegoruthi> |
| Component: | All editors | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/kdev-php/fa052cacf5f9d63ba9c6ba7a2ec82a50c5bbd31d | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Fran
2016-09-05 08:51:19 UTC
Confirmed.
ASAN:DEADLYSIGNAL
=================================================================
==21160==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7fedf3c4dda8 bp 0x7fedf3a19290 sp 0x7fedf3a19230 T3)
#0 0x7fedf3c4dda7 in KDevPG::TokenStreamBase<Php::Token>::startPosition(long long, long long*, long long*) /home/kfunk/devel/install/kf5-stable/include/kdevelop-pg-qt/kdev-pg-token-stream.h:227:44
#1 0x7fedf3b08d10 in Php::Parser::reportProblem(Php::Parser::ProblemType, QString const&, int) /home/kfunk/devel/src/kf5/kdev-php-stable/parser/php.g:1108:5
#2 0x7fedf3b0863e in Php::Parser::extractTodosFromComment(QString const&, long long) /home/kfunk/devel/src/kf5/kdev-php-stable/parser/php.g:1068:18
Git commit 504dbe08af18c36f13277af9d0616ce12bd2b214 by Milian Wolff. Committed on 05/09/2016 at 13:37. Pushed by mwolff into branch '5.0'. Try to add a test for the reparse crash. Sadly, the test passes and I have no clue why... M +26 -0 duchain/tests/duchain_multiplefiles.cpp M +1 -0 duchain/tests/duchain_multiplefiles.h http://commits.kde.org/kdev-php/504dbe08af18c36f13277af9d0616ce12bd2b214 Git commit fa052cacf5f9d63ba9c6ba7a2ec82a50c5bbd31d by Milian Wolff. Committed on 05/09/2016 at 13:37. Pushed by mwolff into branch '5.0'. Don't crash by accessing invalid offsets while extracting todos. M +6 -0 parser/php.g http://commits.kde.org/kdev-php/fa052cacf5f9d63ba9c6ba7a2ec82a50c5bbd31d |