Bug 465128

Summary: Regular Crash (SIGABRT) [EXC_CORPSE_NOTIFY] on OSX
Product: [Applications] krita Reporter: rich <rich>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: amy
Priority: NOR    
Version: 5.1.5   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 462006    
Bug Blocks:    
Attachments: crash dump

Description rich 2023-02-01 15:39:50 UTC
Created attachment 155852 [details]
crash dump

I experience this crash quite a lot, unfortunately I don't have a consistent way to reproduce it other than to use Krita for a little while. I got it on 5.0.0 and tried upgrading to 5.1.5, but it still occurs.

I did keep the dump this time, attached.
Comment 1 amyspark 2023-02-01 16:40:13 UTC
Hi! The crash's triggered by a runtime assertion somewhere in the UI, but the location's not symbolicated; can you attach the Krita run log? That should be in Help menu, option "Show Krita log for bug reports..."

Alternatively, you could try running Krita from a Terminal ( /Applications/krita.app/Contents/MacOS/krita ) and send us the console's output when it crashes.
Comment 2 rich 2023-02-01 17:04:15 UTC
Okay. I think this is what you need. These are two crashes, one for 5.0.0 and one for 5.1.5.

SESSION: 31 Jan 2023 15:51:01 +0100. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.0.0, Qt version compiled: 5.12.12, loaded: 5.12.12. Process ID: 77902
-- -- -- -- -- -- -- --
31 Jan 2023 15:51:01 +0100: Style: fusion. Available styles: macintosh, Windows, Fusion
31 Jan 2023 15:51:04 +0100: Database is up to date. Version: 0.0.15, created by Krita 5.0.0, at Thu Jan 6 18:49:23 2022
31 Jan 2023 15:51:25 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png. Real location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png. Batchmode: 0
31 Jan 2023 15:51:25 +0100: Loaded image from image/png. Size: 1302 * 1330 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (f.lux profile). Layers: 2
31 Jan 2023 15:52:13 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.27.02.png. Real location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.27.02.png. Batchmode: 0
31 Jan 2023 15:52:13 +0100: Loaded image from image/png. Size: 784 * 592 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (f.lux profile). Layers: 2
31 Jan 2023 15:55:44 +0100: Exporting Document: /Users/myusername/Desktop/comp.png as image/png. 1302 * 1330 pixels, 3 layers, 101 frames, 24 framerate. Export configuration: No configuration
31 Jan 2023 15:55:49 +0100: Converting from application/x-krita to image/png. Location: /Users/myusername/Desktop/comp.png. Real location: /Users/myusername/Desktop/comp.png. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
 <param name="alpha" type="internal">true</param>
 <param name="compression" type="internal">7</param>
 <param name="forceSRGB" type="internal">true</param>
 <param name="indexed" type="internal">false</param>
 <param name="interlaced" type="internal">false</param>
 <param name="saveAsHDR" type="internal">false</param>
 <param name="saveSRGBProfile" type="internal">false</param>
 <param name="storeAuthor" type="internal">false</param>
 <param name="storeMetaData" type="internal">false</param>
 <param name="transparencyFillcolor" type="color"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" r="1" b="1" g="1"/>
</color>
]]></param>
</params>

31 Jan 2023 15:55:50 +0100: Completed saving /Users/myusername/Desktop/comp.png (mime: image/png). Result: OK. Warning: . Size: 644698
31 Jan 2023 15:55:50 +0100: Saving Completed
31 Jan 2023 15:58:27 +0100: Autosaving: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png-autosave.kra
31 Jan 2023 15:58:27 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png-autosave.kra. Real location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png-autosave.kra. Batchmode: 0. Configuration: none
31 Jan 2023 15:58:27 +0100: Completed saving /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 2509393
31 Jan 2023 15:59:14 +0100: Autosaving: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.27.02.png-autosave.kra
31 Jan 2023 15:59:14 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.27.02.png-autosave.kra. Real location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.27.02.png-autosave.kra. Batchmode: 0. Configuration: none
31 Jan 2023 15:59:14 +0100: Completed saving /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.27.02.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 1291664
31 Jan 2023 16:00:44 +0100: Created image "Unnamed", 922 * 1006 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 1
31 Jan 2023 16:01:08 +0100: Exporting Document: /Users/myusername/Desktop/comp2.png as image/png. 922 * 1006 pixels, 2 layers, 101 frames, 24 framerate. Export configuration: No configuration
31 Jan 2023 16:01:10 +0100: Converting from application/x-krita to image/png. Location: /Users/myusername/Desktop/comp2.png. Real location: /Users/myusername/Desktop/comp2.png. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
 <param name="alpha" type="internal">true</param>
 <param name="compression" type="internal">7</param>
 <param name="forceSRGB" type="internal">true</param>
 <param name="indexed" type="internal">false</param>
 <param name="interlaced" type="internal">false</param>
 <param name="saveAsHDR" type="internal">false</param>
 <param name="saveSRGBProfile" type="internal">false</param>
 <param name="storeAuthor" type="internal">false</param>
 <param name="storeMetaData" type="internal">false</param>
 <param name="transparencyFillcolor" type="color"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" r="1" b="1" g="1"/>
</color>
]]></param>
</params>

31 Jan 2023 16:01:10 +0100: Completed saving /Users/myusername/Desktop/comp2.png (mime: image/png). Result: OK. Warning: . Size: 625323
31 Jan 2023 16:01:10 +0100: Saving Completed
31 Jan 2023 16:07:18 +0100: Autosaving: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png-autosave.kra
31 Jan 2023 16:07:18 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png-autosave.kra. Real location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png-autosave.kra. Batchmode: 0. Configuration: none
31 Jan 2023 16:07:18 +0100: Completed saving /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.50.43.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 2467112
31 Jan 2023 16:07:18 +0100: Saving Completed
31 Jan 2023 16:07:44 +0100: Autosaving: /Users/myusername/krita-77902-document_2-autosave.kra
31 Jan 2023 16:07:44 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/krita-77902-document_2-autosave.kra. Real location: /Users/myusername/krita-77902-document_2-autosave.kra. Batchmode: 0. Configuration: none
31 Jan 2023 16:07:44 +0100: Completed saving /Users/myusername/krita-77902-document_2-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 1388147
31 Jan 2023 18:03:09 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 17.51.31.png. Real location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 17.51.31.png. Batchmode: 0
31 Jan 2023 18:03:09 +0100: Loaded image from image/png. Size: 892 * 972 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (f.lux profile). Layers: 2

KRITA DID NOT CLOSE CORRECTLY
================================================================================

SESSION: 01 Feb 2023 15:27:52 +0100. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.1.5, Qt version compiled: 5.12.12, loaded: 5.12.12. Process ID: 96592
-- -- -- -- -- -- -- --
01 Feb 2023 15:27:52 +0100: Style: macintosh. Available styles: macintosh, Windows, Fusion
01 Feb 2023 15:27:57 +0100: Database is up to date. Version: 0.0.15, created by Krita 5.0.0, at Thu Jan 6 18:49:23 2022
01 Feb 2023 15:28:10 +0100: Importing application/x-krita to application/x-krita. Location: /Users/myusername/krita-77902-document_2-autosave.kra. Real location: /Users/myusername/krita-77902-document_2-autosave.kra. Batchmode: 0
01 Feb 2023 15:28:10 +0100: Loaded image from application/x-krita. Size: 922 * 1006 pixels, 4.16667 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2
01 Feb 2023 15:32:18 +0100: Importing application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 17.51.31.kra. Real location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 17.51.31.kra. Batchmode: 0
01 Feb 2023 15:32:19 +0100: Loaded image from application/x-krita. Size: 892 * 972 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (f.lux profile). Layers: 7
01 Feb 2023 15:32:30 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 15.26.00.png. Real location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 15.26.00.png. Batchmode: 0
01 Feb 2023 15:32:30 +0100: Loaded image from image/png. Size: 774 * 1092 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (Display). Layers: 2
01 Feb 2023 15:33:46 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 14.55.01.png. Real location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 14.55.01.png. Batchmode: 0
01 Feb 2023 15:33:46 +0100: Loaded image from image/png. Size: 786 * 590 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (Display). Layers: 2
01 Feb 2023 15:35:11 +0100: Autosaving: /Users/myusername/.krita-96592-document_0-autosave.kra
01 Feb 2023 15:35:11 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/.krita-96592-document_0-autosave.kra. Real location: /Users/myusername/.krita-96592-document_0-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 15:35:12 +0100: Completed saving /Users/myusername/.krita-96592-document_0-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 1388775
01 Feb 2023 15:36:20 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 14.54.44.png. Real location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 14.54.44.png. Batchmode: 0
01 Feb 2023 15:36:20 +0100: Loaded image from image/png. Size: 786 * 592 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (Display). Layers: 2
01 Feb 2023 15:36:33 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 14.55.11.png. Real location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 14.55.11.png. Batchmode: 0
01 Feb 2023 15:36:33 +0100: Loaded image from image/png. Size: 788 * 586 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (Display). Layers: 2
01 Feb 2023 15:39:30 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra
01 Feb 2023 15:39:40 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra
01 Feb 2023 15:39:50 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra
01 Feb 2023 15:39:50 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 15:39:50 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 3033952
01 Feb 2023 15:40:02 +0100: Removing autosave file: /Users/myusername/.krita-96592-document_0-autosave.kra
01 Feb 2023 15:40:46 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.55.01.png-autosave.kra
01 Feb 2023 15:40:46 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.55.01.png-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.55.01.png-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 15:40:46 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.55.01.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 977359
01 Feb 2023 15:43:31 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.27.22.png. Real location: /Users/myusername/Desktop/Screenshot 2023-01-31 at 15.27.22.png. Batchmode: 0
01 Feb 2023 15:43:31 +0100: Loaded image from image/png. Size: 782 * 580 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (f.lux profile). Layers: 2
01 Feb 2023 15:43:33 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.55.11.png-autosave.kra
01 Feb 2023 15:43:33 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.55.11.png-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.55.11.png-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 15:43:33 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.55.11.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 1132804
01 Feb 2023 15:44:27 +0100: Importing image/png to application/x-krita. Location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 14.54.44.png. Real location: /Users/myusername/Desktop/Screenshot 2023-02-01 at 14.54.44.png. Batchmode: 0
01 Feb 2023 15:44:27 +0100: Loaded image from image/png. Size: 786 * 592 pixels, 1.99989 dpi. Color model: 8-bit integer/channel RGB/Alpha (Display). Layers: 2
01 Feb 2023 15:46:19 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra
01 Feb 2023 15:46:19 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 15:46:19 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 5548849
01 Feb 2023 15:46:54 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra
01 Feb 2023 15:46:54 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 15:46:54 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 4746354
01 Feb 2023 15:50:31 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 15.27.22.png-autosave.kra
01 Feb 2023 15:50:31 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 15.27.22.png-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 15.27.22.png-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 15:50:31 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-01-31 at 15.27.22.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 1223339
01 Feb 2023 15:51:27 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.54.44.png-autosave.kra
01 Feb 2023 15:51:27 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.54.44.png-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.54.44.png-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 15:51:27 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.54.44.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 998443
01 Feb 2023 15:57:53 +0100: Created image "Unnamed", 1355 * 928 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 1
01 Feb 2023 15:58:42 +0100: Exporting Document: /Users/myusername/Desktop/3comp1.png as image/png. 1355 * 928 pixels, 2 layers, 101 frames, 24 framerate. Export configuration: No configuration
01 Feb 2023 15:58:46 +0100: Converting from application/x-krita to image/png. Location: /Users/myusername/Desktop/3comp1.png. Real location: /Users/myusername/Desktop/3comp1.png. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
 <param name="alpha" type="internal">true</param>
 <param name="compression" type="internal">8</param>
 <param name="downsample" type="internal">false</param>
 <param name="forceSRGB" type="internal">true</param>
 <param name="indexed" type="internal">false</param>
 <param name="interlaced" type="internal">false</param>
 <param name="saveAsHDR" type="internal">false</param>
 <param name="saveSRGBProfile" type="internal">false</param>
 <param name="storeAuthor" type="internal">false</param>
 <param name="storeMetaData" type="internal">false</param>
 <param name="transparencyFillcolor" type="color"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" r="1" b="1" g="1"/>
</color>
]]></param>
</params>

01 Feb 2023 15:58:47 +0100: Completed saving /Users/myusername/Desktop/3comp1.png (mime: image/png). Result: OK. Warning: . Size: 1061789
01 Feb 2023 15:58:47 +0100: Saving Completed
01 Feb 2023 16:00:16 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra
01 Feb 2023 16:00:16 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 16:00:16 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-02-01 at 15.26.00.png-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 4450142
01 Feb 2023 16:01:33 +0100: Autosaving: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra
01 Feb 2023 16:01:33 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra. Real location: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 16:01:33 +0100: Completed saving /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 7335500
01 Feb 2023 16:04:53 +0100: Autosaving: /Users/myusername/.krita-96592-document_57-autosave.kra
01 Feb 2023 16:04:53 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/.krita-96592-document_57-autosave.kra. Real location: /Users/myusername/.krita-96592-document_57-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 16:04:53 +0100: Completed saving /Users/myusername/.krita-96592-document_57-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 2017163
01 Feb 2023 16:19:49 +0100: Saving Document /Users/myusername/Desktop/Screenshot 2023-01-31 at 17.51.31.kra as /Users/myusername/Desktop/2 Screenshot 2023-01-31 at 17.51.31.kra (mime: application/x-krita). 1500 * 2000 pixels, 13 layers.  101 frames, 24 framerate. Export configuration: No configuration
01 Feb 2023 16:19:49 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/2 Screenshot 2023-01-31 at 17.51.31.kra. Real location: /Users/myusername/Desktop/2 Screenshot 2023-01-31 at 17.51.31.kra. Batchmode: 0. Configuration: none
01 Feb 2023 16:19:49 +0100: Completed saving /Users/myusername/Desktop/2 Screenshot 2023-01-31 at 17.51.31.kra (mime: application/x-krita). Result: OK. Warning: . Size: 8503859
01 Feb 2023 16:19:49 +0100: Removing autosave file: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra
01 Feb 2023 16:19:49 +0100: Saving Completed
01 Feb 2023 16:25:31 +0100: Removing autosave file: /Users/myusername/Desktop/.Screenshot 2023-02-01 at 14.54.44.png-autosave.kra
01 Feb 2023 16:25:35 +0100: Removing autosave file: /Users/myusername/.krita-96592-document_57-autosave.kra
01 Feb 2023 16:25:47 +0100: Removing autosave file: /Users/myusername/Desktop/.Screenshot 2023-01-31 at 15.27.22.png-autosave.kra
01 Feb 2023 16:26:14 +0100: Created image "Unnamed", 1355 * 964 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 1
01 Feb 2023 16:26:52 +0100: Autosaving: /Users/myusername/Desktop/.2 Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra
01 Feb 2023 16:27:02 +0100: Autosaving: /Users/myusername/Desktop/.2 Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra
01 Feb 2023 16:27:02 +0100: Converting from application/x-krita to application/x-krita. Location: /Users/myusername/Desktop/.2 Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra. Real location: /Users/myusername/Desktop/.2 Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra. Batchmode: 0. Configuration: none
01 Feb 2023 16:27:02 +0100: Completed saving /Users/myusername/Desktop/.2 Screenshot 2023-01-31 at 17.51.31.kra-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 8260894
01 Feb 2023 16:27:53 +0100: Created image "Unnamed", 1355 * 928 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 1
01 Feb 2023 16:28:27 +0100: Exporting Document: /Users/myusername/Desktop/3comp2.png as image/png. 1355 * 928 pixels, 2 layers, 101 frames, 24 framerate. Export configuration: No configuration
01 Feb 2023 16:28:29 +0100: Converting from application/x-krita to image/png. Location: /Users/myusername/Desktop/3comp2.png. Real location: /Users/myusername/Desktop/3comp2.png. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
 <param name="alpha" type="internal">true</param>
 <param name="compression" type="internal">8</param>
 <param name="downsample" type="internal">false</param>
 <param name="forceSRGB" type="internal">true</param>
 <param name="indexed" type="internal">false</param>
 <param name="interlaced" type="internal">false</param>
 <param name="saveAsHDR" type="internal">false</param>
 <param name="saveSRGBProfile" type="internal">false</param>
 <param name="storeAuthor" type="internal">false</param>
 <param name="storeMetaData" type="internal">false</param>
 <param name="transparencyFillcolor" type="color"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" r="1" b="1" g="1"/>
</color>
]]></param>
</params>

01 Feb 2023 16:28:30 +0100: Completed saving /Users/myusername/Desktop/3comp2.png (mime: image/png). Result: OK. Warning: . Size: 1059653
01 Feb 2023 16:28:30 +0100: Saving Completed
01 Feb 2023 16:30:37 +0100: Created image "Unnamed", 1355 * 928 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 1
01 Feb 2023 16:30:39 +0100: ASSERT (krita): "clip" in file /Users/Packaging/KritaBuild/krita/libs/ui/widgets/kis_image_from_clipboard_widget.cpp, line 80

KRITA DID NOT CLOSE CORRECTLY
Comment 3 amyspark 2023-02-01 20:44:00 UTC
Yup, there it is. It's actually a sibling of bug 462006, which I already fixed for 5.2. I'll cherry pick the patch to the 5.1branch and you should be able to see this crash disappear with tomorrow's nightly builds.
Comment 4 amyspark 2023-02-01 20:48:02 UTC
Git commit dcd6535736ba797f889b8b80f43f9f25d38abab6 by L. E. Segovia.
Committed on 01/02/2023 at 20:47.
Pushed by lsegovia into branch 'krita/5.1'.

KisImageFromClipboardWidget: stave off a clipboard being cleared mid-access
Related: bug 462006

(cherry picked from commit 6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304)

M  +10   -6    libs/ui/widgets/kis_image_from_clipboard_widget.cpp

https://invent.kde.org/graphics/krita/commit/dcd6535736ba797f889b8b80f43f9f25d38abab6
Comment 5 rich 2023-02-01 21:35:16 UTC
Hell yeah, you rock!
Comment 6 amyspark 2023-12-14 03:25:35 UTC
Git commit d833fcb31161fbaedd738381613960daf9ac5fb7 by L. E. Segovia.
Committed on 21/04/2023 at 00:40.
Pushed by lsegovia into branch 'krita/5.1'.

KisClipboard: remove assert on clipboard being cleared

6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 already covers it enough, so
it's safe to bail out now.
Related: bug 468494, bug 462006
(cherry picked from commit f4f069cbea3dd961aed23e3abbc67460821b2da9)

M  +5    -1    libs/ui/kis_clipboard.cc

https://invent.kde.org/graphics/krita/commit/d833fcb31161fbaedd738381613960daf9ac5fb7
Comment 7 amyspark 2023-12-14 03:25:37 UTC
Git commit d833fcb31161fbaedd738381613960daf9ac5fb7 by L. E. Segovia.
Committed on 21/04/2023 at 00:40.
Pushed by lsegovia into branch 'krita/5.1'.

KisClipboard: remove assert on clipboard being cleared

6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 already covers it enough, so
it's safe to bail out now.
Related: bug 468494, bug 462006
(cherry picked from commit f4f069cbea3dd961aed23e3abbc67460821b2da9)

M  +5    -1    libs/ui/kis_clipboard.cc

https://invent.kde.org/graphics/krita/commit/d833fcb31161fbaedd738381613960daf9ac5fb7
Comment 8 amyspark 2023-12-14 03:25:48 UTC
Git commit f4f069cbea3dd961aed23e3abbc67460821b2da9 by L. E. Segovia.
Committed on 21/04/2023 at 00:40.
Pushed by lsegovia into branch 'master'.

KisClipboard: remove assert on clipboard being cleared

6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 already covers it enough, so
it's safe to bail out now.
Related: bug 468494, bug 462006

M  +5    -1    libs/ui/kis_clipboard.cc

https://invent.kde.org/graphics/krita/commit/f4f069cbea3dd961aed23e3abbc67460821b2da9
Comment 9 amyspark 2023-12-14 03:25:49 UTC
Git commit f4f069cbea3dd961aed23e3abbc67460821b2da9 by L. E. Segovia.
Committed on 21/04/2023 at 00:40.
Pushed by lsegovia into branch 'master'.

KisClipboard: remove assert on clipboard being cleared

6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 already covers it enough, so
it's safe to bail out now.
Related: bug 468494, bug 462006

M  +5    -1    libs/ui/kis_clipboard.cc

https://invent.kde.org/graphics/krita/commit/f4f069cbea3dd961aed23e3abbc67460821b2da9