Bug 414258 - Seg fault crash when opening text editor through double-click
Summary: Seg fault crash when opening text editor through double-click
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kuntal Majumder
URL:
Keywords:
: 414642 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-18 09:30 UTC by M
Modified: 2019-11-30 20:30 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
GDB backtrace (15.12 KB, text/plain)
2019-11-18 09:30 UTC, M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M 2019-11-18 09:30:33 UTC
Created attachment 123981 [details]
GDB backtrace

SUMMARY
Trying to edit a text container with the Text Tool using the double-left-click shortcut results in a crash, while Enter and the button in the tool options work fine. Only master seems cause it, 4.2.7 doesn't crash here. I'll attach a backtrace.

STEPS TO REPRODUCE
1. Open a document, create some text on a vector layer and close the editor.
2. Try to reopen it using double-click on the text.

OBSERVED RESULT
Immediate crash.

EXPECTED RESULT
Editor opening normally.

SOFTWARE/OS VERSIONS
Tested in master and newest AppImage (git 938bf9e) and 4.2.7 from distro.
Comment 1 nikola 2019-11-26 22:40:43 UTC
Same here on windows 10 and 4.3.0 (git e27ab3a).
Comment 2 Ahab Greybeard 2019-11-27 08:20:20 UTC
The 4.2.8-beta1 appimage does not crash
Comment 3 Kuntal Majumder 2019-11-27 11:39:46 UTC
It is definitely my patch
Comment 4 Kuntal Majumder 2019-11-30 10:43:51 UTC
Bug fixed as for, commit hash : fcb5c280af2d485d713202d0dc477e0838671b5f

Accidentally put the wrong bug number in the commit message, :P
Comment 5 Kuntal Majumder 2019-11-30 20:30:32 UTC
*** Bug 414642 has been marked as a duplicate of this bug. ***