https://bugs.kde.org/show_bug.cgi?id=410825
Bug ID: 410825 Summary: Safe ASSERT after doing a selection in the global selection mask and save Product: krita Version: 4.2.5 Platform: Other OS: macOS Status: REPORTED Severity: normal Priority: NOR Component: Tools/Selection Assignee: krita-bugs-n...@kde.org Reporter: ghe...@gmail.com Target Milestone: --- Created attachment 122071 --> https://bugs.kde.org/attachment.cgi?id=122071&action=edit backtrace If trying to save after making a selection with a global selection active and the global selection layer as selected, a safe assert is thrown. on 4.2.5 there is a crash after the safe assert popup STEPS TO REPRODUCE 1. Set global selection ON 2. Make selection 3. Select global selection layer 4. Make selection again 5. Save It may be needed to repeat 4 and 5 while the global selection layer is selected for it to trigger. (HIDEN_SAFE_ASSERT must be off to be seen). On macos it will eventually crash apparently. SOFTWARE/OS VERSIONS macOS: 10.14.6 ADDITIONAL INFORMATION ================================================================================ SESSION: 11 Aug 2019 17:59:05 +0200. Executing /Volumes/Osiris/programs/krita-master/i/bin/krita.app/Contents/MacOS/krita WARNING: This file contains information about your system and the images you have been working with. If you have problems with Krita, the Krita developers might ask you to share this file with them. The information in this file is not shared automatically with the Krita developers in any way. You can disable logging to this file in Krita's Configure Krita Dialog. Please review the contents of this file before sharing this file with anyone. Krita Version: 4.3.0-prealpha (git 31b1f9f) Languages: es Hidpi: true Qt Version (compiled): 5.12.3 Version (loaded): 5.12.3 OS Information Build ABI: x86_64-little_endian-lp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: darwin Kernel Version: 18.7.0 Pretty Productname: macOS Mojave (10.14) Product Type: osx Product Version: 10.14 Hardware Information GPU Acceleration: desktop Memory: 8192 Mb Number of Cores: 4 Swap Location: /Users/daedalus 11 Aug 2019 18:00:17 +0200: Importing application/x-krita to application/x-krita. Location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Real location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Batchmode: 0 11 Aug 2019 18:00:18 +0200: Instant Preview Setting: 0 11 Aug 2019 18:00:18 +0200: Enabled simple smoothing. 11 Aug 2019 18:00:18 +0200: Enabled simple smoothing. 11 Aug 2019 18:00:18 +0200: Enabled simple smoothing. 11 Aug 2019 18:00:18 +0200: Enabled simple smoothing. 11 Aug 2019 18:00:18 +0200: Enabled simple smoothing. 11 Aug 2019 18:00:18 +0200: Enabled simple smoothing. 11 Aug 2019 18:00:18 +0200: Instant Preview Setting: 0 11 Aug 2019 18:00:19 +0200: Instant Preview Setting: 0 11 Aug 2019 18:00:37 +0200: Saving Document /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra as /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). 2048 * 2048 pixels, 4 layers. 101 frames, 24 framerate. Export configuration: No configuration 11 Aug 2019 18:00:37 +0200: Converting from application/x-krita to application/x-krita. Location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Real location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Batchmode: 0. Configuration: none 11 Aug 2019 18:00:38 +0200: Completed saving /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). Result: OK 11 Aug 2019 18:03:32 +0200: Saving Document /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra as /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). 2048 * 2048 pixels, 4 layers. 101 frames, 24 framerate. Export configuration: No configuration 11 Aug 2019 18:03:33 +0200: SAFE ASSERT (krita): "clonedDocument->image()->isIdle()" in file /Volumes/Osiris/programs/krita-master/krita/libs/ui/KisDocument.cpp, line 952 11 Aug 2019 18:09:47 +0200: SAFE ASSERT (krita): "QThread::currentThread() == (static_cast<QApplication *>(QCoreApplication::instance()))->thread()" in file /Volumes/Osiris/programs/krita-master/krita/libs/ui/flake/kis_shape_selection.cpp, line 118 11 Aug 2019 18:09:57 +0200: SAFE ASSERT (krita): "QThread::currentThread() == (static_cast<QApplication *>(QCoreApplication::instance()))->thread()" in file /Volumes/Osiris/programs/krita-master/krita/libs/ui/flake/kis_shape_selection.cpp, line 118 11 Aug 2019 18:09:59 +0200: Converting from application/x-krita to application/x-krita. Location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Real location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Batchmode: 0. Configuration: none 11 Aug 2019 18:10:00 +0200: Completed saving /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). Result: OK 11 Aug 2019 18:10:13 +0200: Saving Document /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra as /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). 2048 * 2048 pixels, 4 layers. 101 frames, 24 framerate. Export configuration: No configuration 11 Aug 2019 18:10:14 +0200: SAFE ASSERT (krita): "clonedDocument->image()->isIdle()" in file /Volumes/Osiris/programs/krita-master/krita/libs/ui/KisDocument.cpp, line 952 11 Aug 2019 18:10:17 +0200: Converting from application/x-krita to application/x-krita. Location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Real location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Batchmode: 0. Configuration: none 11 Aug 2019 18:10:17 +0200: SAFE ASSERT (krita): "QThread::currentThread() == (static_cast<QApplication *>(QCoreApplication::instance()))->thread()" in file /Volumes/Osiris/programs/krita-master/krita/libs/ui/flake/kis_shape_selection.cpp, line 118 11 Aug 2019 18:10:17 +0200: Completed saving /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). Result: OK 11 Aug 2019 18:10:37 +0200: SAFE ASSERT (krita): "clonedDocument->image()->isIdle()" in file /Volumes/Osiris/programs/krita-master/krita/libs/ui/KisDocument.cpp, line 952 11 Aug 2019 18:10:41 +0200: Converting from application/x-krita to application/x-krita. Location: /Volumes/Osiris/devs/bugreports/.noUpdate_invertSel.kra-autosave.kra. Real location: /Volumes/Osiris/devs/bugreports/.noUpdate_invertSel.kra-autosave.kra. Batchmode: 0. Configuration: none 11 Aug 2019 18:10:41 +0200: Completed saving /Volumes/Osiris/devs/bugreports/.noUpdate_invertSel.kra-autosave.kra (mime: application/x-krita). Result: OK 11 Aug 2019 18:10:42 +0200: Saving Document /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra as /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). 2048 * 2048 pixels, 4 layers. 101 frames, 24 framerate. Export configuration: No configuration 11 Aug 2019 18:10:42 +0200: SAFE ASSERT (krita): "clonedDocument->image()->isIdle()" in file /Volumes/Osiris/programs/krita-master/krita/libs/ui/KisDocument.cpp, line 952 11 Aug 2019 18:10:43 +0200: Converting from application/x-krita to application/x-krita. Location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Real location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Batchmode: 0. Configuration: none 11 Aug 2019 18:10:44 +0200: Completed saving /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). Result: OK 11 Aug 2019 18:11:00 +0200: Saving Document /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra as /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). 2048 * 2048 pixels, 4 layers. 101 frames, 24 framerate. Export configuration: No configuration 11 Aug 2019 18:11:00 +0200: SAFE ASSERT (krita): "clonedDocument->image()->isIdle()" in file /Volumes/Osiris/programs/krita-master/krita/libs/ui/KisDocument.cpp, line 952 11 Aug 2019 18:11:02 +0200: Converting from application/x-krita to application/x-krita. Location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Real location: /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra. Batchmode: 0. Configuration: none 11 Aug 2019 18:11:03 +0200: Completed saving /Volumes/Osiris/devs/bugreports/noUpdate_invertSel.kra (mime: application/x-krita). Result: OK OpenGL Info Vendor: "Intel Inc." Renderer: "Intel(R) Iris(TM) Graphics 6100" Version: "4.1 INTEL-12.10.12" Shading language: "4.10" Requested format: QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CoreProfile) Current format: QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CoreProfile) Version: 4.1 Supports deprecated functions false is OpenGL ES: false QPA OpenGL Detection Info supportsDesktopGL: true supportsOpenGLES: false isQtPreferOpenGLES: true == log == Supported renderers: QFlags(0x2) Surface format preference list: * QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CoreProfile) 2 Probing format... QSurfaceFormat::DefaultColorSpace 2 Found format: QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CoreProfile) 2 == end log == -- You are receiving this mail because: You are watching all bug changes.