Bug 409562

Summary: Build: d649293; DEBUG assert ASSERT: "w > 0" in file when pressing control-c soon after control-r
Product: [Applications] krita Reporter: epicwrathssin
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: bt full and thread apply all bt

Description epicwrathssin 2019-07-07 01:53:14 UTC
Created attachment 121358 [details]
bt full and thread apply all bt

SUMMARY

Crash when pressing control-c immediately after selecting an area with control-r.

STEPS TO REPRODUCE
1. Create a modest sized image (2048x2048 16-integer)
2. Press control-r to select an area
3. Immediately after releasing mouse/tablet, press control-c
4. If timing is right, krita will crash immediately.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.0.0-20-generic 64-bit (Ubuntu)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

This is a DEBUG build.
Version d649293.
A core dump is available if requested.
Comment 1 Halla Rempt 2019-09-02 09:25:28 UTC
Git commit ef2a2af32ffc85109a2af624b7b521017d776360 by Boudewijn Rempt.
Committed on 02/09/2019 at 09:04.
Pushed by rempt into branch 'master'.

Remove superfluous assert and fix another assert.

M  +2    -3    libs/image/tiles3/kis_hline_iterator.cpp

https://invent.kde.org/kde/krita/commit/ef2a2af32ffc85109a2af624b7b521017d776360
Comment 2 Halla Rempt 2019-09-10 08:27:58 UTC
Git commit 65937077a760ca4278e228461f2ce141fc2c04c2 by Boudewijn Rempt.
Committed on 10/09/2019 at 08:25.
Pushed by rempt into branch 'krita/4.2'.

Remove superfluous assert and fix another assert.

M  +2    -3    libs/image/tiles3/kis_hline_iterator.cpp

https://invent.kde.org/kde/krita/commit/65937077a760ca4278e228461f2ce141fc2c04c2