Summary: | Hitting assert in ASFormatter.cpp | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | peje66 |
Component: | Astyle | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | rjvbertin |
Priority: | NOR | Keywords: | drkonqi |
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kdevelop/9b581d93bbc5794a197287ee0923607a57e90113 | Version Fixed In: | 5.3.0 |
Sentry Crash Report: |
Description
peje66
2018-09-25 08:58:56 UTC
Ongoing discussion about this issue (including a potential fix) here: https://phabricator.kde.org/D15605 Git commit 9b581d93bbc5794a197287ee0923607a57e90113 by René J.V. Bertin. Committed on 25/09/2018 at 12:36. Pushed by rjvbb into branch '5.3'. make AStyleStringIterator::getPeekStart() return valid values The astyle v3 API introduced a new virtual ASSourceIterator::getPeekStart() method that has to be implemented in classes inheriting ASourceIterator. Currently that method is only used in an assert that verifies whether it returns a valid (i.e. positive) value. This was overlooked in the upgrade of the bundled astyle library code. Differential Revision: https://phabricator.kde.org/D15605 M +1 -1 plugins/astyle/astyle_stringiterator.cpp https://commits.kde.org/kdevelop/9b581d93bbc5794a197287ee0923607a57e90113 @peje66: Please check whether the patch fixed your issue. This fixes my issue! |