Summary: | ASAN crash in input manager with creating guides. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | wolthera <griffinvalley> |
Component: | Shortcuts and Canvas Input Settings | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/dd3746f67dba8552a7f04d1db7aa1fbca68e17fd | Version Fixed In: | |
Sentry Crash Report: |
Description
wolthera
2019-03-21 20:26:57 UTC
Ok, this one is reproducable in an Address Sanitizer build :) I did some investigation, it really is caused by the calling of enterEvent->pos(), which makes it a bug in qt :( Git commit dd3746f67dba8552a7f04d1db7aa1fbca68e17fd by Dmitry Kazakov. Committed on 20/04/2019 at 17:02. Pushed by dkazakov into branch 'master'. Fix ASAN crash when creating a guide In some places we static_cast our event into QEnterEvent, so we should prepare a correct object for that. M +6 -1 libs/ui/input/kis_input_manager_p.cpp https://invent.kde.org/kde/krita/commit/dd3746f67dba8552a7f04d1db7aa1fbca68e17fd |