| Summary: | Internal Error (ASSERT line 327) upon switching between multiple views of same file | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Sam Keeper <unusualcows> |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | 3.0 Alpha | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Image of the error message | ||
|
Description
Sam Keeper
2016-04-14 01:44:34 UTC
Created attachment 98388 [details]
Image of the error message
Hi Sam, Thanks for the report. I've asked Dmitry to take a look, he's the one who made the scary assert message box :-) Just the fact that it can happen makes it a confirmed bug! Fixed in commit cb342ec320ad79c07c9d8963895ff963f841eb3f Author: Dmitry Kazakov <dimula73@gmail.com> Date: Fri Apr 15 19:03:54 2016 +0300 Fix all invalid accesses in stl-like iterators We must not keep 'end' iterator throughout the loop if the object is changed in the meantime. According to Qt's docs all the iterators become 'undefined' after every non-const function call over the iterated object. CC:kimageshop@kde.org |