Summary: | Pattern overlay closes/crashes Krita (git a9ed8de) | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | ntjunco125 |
Component: | layer styles | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | griffinvalley, halla |
Priority: | NOR | ||
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: |
Description
ntjunco125
2019-04-16 15:17:05 UTC
Hm... I cannot reproduce this on 71371bb My System-information log: ================================= SESSION: 16 Apr 2019 17:43:18 +0200. Executing krita Krita Version: 4.2.0-pre-alpha (git 71371bb) Languages: en_US, en_GB, nl Hidpi: false Qt Version (compiled): 5.12.0 Version (loaded): 5.12.0 OS Information Build ABI: x86_64-little_endian-lp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: linux Kernel Version: 4.15.0-47-generic Pretty Productname: KDE neon User Edition 5.15 Product Type: neon Product Version: 18.04 Hardware Information GPU Acceleration: auto Memory: 7725 Mb Number of Cores: 8 Swap Location: /tmp 16 Apr 2019 17:43:35 +0200: Importing application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0 16 Apr 2019 17:43:35 +0200: Disabled smoothing. 16 Apr 2019 17:43:35 +0200: Disabled smoothing. 16 Apr 2019 17:43:35 +0200: Disabled smoothing. 16 Apr 2019 17:43:48 +0200: Saving Document /home/wolthera/blah.kra as /home/wolthera/blah.kra (mime: application/x-krita). 1024 * 1024 pixels, 3 layers. 101 frames, 24 framerate. Export configuration: No configuration 16 Apr 2019 17:43:48 +0200: Converting from application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0. Configuration: none 16 Apr 2019 17:43:49 +0200: Completed saving /home/wolthera/blah.kra (mime: application/x-krita). Result: OK 16 Apr 2019 17:43:53 +0200: Importing application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0 16 Apr 2019 17:43:54 +0200: Disabled smoothing. 16 Apr 2019 17:43:54 +0200: Disabled smoothing. 16 Apr 2019 17:43:54 +0200: Disabled smoothing. 16 Apr 2019 17:45:33 +0200: Saving Document /home/wolthera/blah.kra as /home/wolthera/blah.kra (mime: application/x-krita). 1024 * 1024 pixels, 2 layers. 101 frames, 24 framerate. Export configuration: No configuration 16 Apr 2019 17:45:33 +0200: Converting from application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0. Configuration: none 16 Apr 2019 17:45:35 +0200: Completed saving /home/wolthera/blah.kra (mime: application/x-krita). Result: OK 16 Apr 2019 17:46:43 +0200: Saving Document /home/wolthera/blah.kra as /home/wolthera/blah.kra (mime: application/x-krita). 256 * 256 pixels, 2 layers. 101 frames, 24 framerate. Export configuration: No configuration 16 Apr 2019 17:46:43 +0200: Converting from application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0. Configuration: none 16 Apr 2019 17:46:43 +0200: Completed saving /home/wolthera/blah.kra (mime: application/x-krita). Result: OK 16 Apr 2019 17:46:46 +0200: Importing application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0 16 Apr 2019 17:46:47 +0200: Disabled smoothing. 16 Apr 2019 17:46:47 +0200: Disabled smoothing. 16 Apr 2019 17:46:47 +0200: Disabled smoothing. The backtrace suggests that the crash happens in this line: QSize psize(pattern->width(), pattern->height()); Which would mean that the KoPattern *pattern variable is invalid. In the resource rewrite branch, this variable is already guarded by a shared pointer. Git commit d3958671636133fdc50263a0c2e4da2aaeba0196 by Boudewijn Rempt. Committed on 17/04/2019 at 09:51. Pushed by rempt into branch 'master'. Check whether the pointer to the pattern is not zero M +1 -0 libs/image/layerstyles/kis_ls_utils.cpp https://commits.kde.org/krita/d3958671636133fdc50263a0c2e4da2aaeba0196 |