When creating a large document, for example predefined A4 300 ppi, after opening Krita, it crashes. If however a small document, for example 100 × 100 px, is created first and closed, then creating the same large document succeeds. Reproducible: Always Steps to Reproduce: 1. Open Krita. 2. Select File > New. On Custom Document page, select A4 or A3 (300 ppi) from Predefined and click Create. 3. Dialog "krita.exe has stopped working" appears immediately. 4. Close the program. 5. Open Krita again. 6. Create 100×100 px document similarly. 7. Select File > Close. 8. Repeat step 2. Actual Results: 9. Large document is created and Krita does not crash Expected Results: New document of desired size can be created without having to first create the small one. Krita 3.0.1.90 Debugger: An unhandled win32 exception occured in krita.exe. Crash info: Problem signature: Problem Event Name: APPCRASH Application Name: krita.exe Application Version: 0.0.0.0 Application Timestamp: 00000000 Fault Module Name: libkritaimage.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 00010401 Exception Code: c0000005 Exception Offset: 0000000000261290 OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1035 Additional Information 1: 5c3f Additional Information 2: 5c3f1e643c259668a63456693dcbae2e Additional Information 3: a8fe Additional Information 4: a8fe8993bd848dd565875a86b95a51ef Windows 7 Professional SP 1 64-bit Intel Core i7-4712MQ CPU @2.30GHz 8,00 GB RAM NVIDIA GeForce GT 740M Driver: NVIDIA 9.18.13.4520
Hi Miia, I'm sorry, but I cannot reproduce the issue. Can you check whether it still happens if you reset your settings (https://docs.krita.org/KritaFAQ#Resetting_Krita_configuration) and if so, could you try to generate a backtrace (https://docs.krita.org/KritaFAQ#How_can_I_produce_a_backtrace_on_Windows.3F) ?
Hi Boudewijn, I removed kritarc from C:\Users\<user>\AppData\Local\krita and tried again, and it still happens. I added the backtraces produced by DrMingw as attachments. First one is from Krita 3.0.1.90 (beta) and the other from latest version available on the FAQ page (krita-3.0.1.1-x64-dbg).
Created attachment 101414 [details] Backtrace from 3.0.1.90
Created attachment 101415 [details] Backtrace from 3.0.1.1
Hm... Are you running any "security" software like sandboxie, perhaps? This is such a weird place to crash...
No, no sandboxie or anything like that.
On Windows 8.1 laptop it crashes also, but the module is different. Version 3.0.1.1, open, File > New, 1600×1200 px, Create, Crash. krita.exe caused an Access Violation at location 00007FFA838C631D in module ig7icd64.dll Reading from location 00001E0000000021. AddrPC Params 00007FFA838C631D 0000000040794BD0 0000000000000000 0000000000000000 ig7icd64.dll!DrvSetLayerPaletteEntries 00007FFA837C5245 0000000040913BC0 0000000040794150 000000003E9ECB00 ig7icd64.dll!RegisterProcTableCallback 00007FFA837C53CE 000000003E9ECB00 0000000040794150 0000000000000004 ig7icd64.dll!RegisterProcTableCallback 00007FFA837CA66A 3FE0101000000000 000000003E9ECB00 0000000040913BC0 ig7icd64.dll!RegisterProcTableCallback 00007FFA837BE5FA 0000000000238BA0 0000000000000001 0000000000000001 ig7icd64.dll!RegisterProcTableCallback 0000000061BCAEC2 0000000000000000 0000000000000000 0000000000000000 Qt5Gui.dll!QOpenGLShaderProgram::bind 0000000069B4924B 0000000000004000 0000000000238E30 000000003C8B70B0 libkritaui.dll! ?? [C:/dev/krita-3.0.1.1/libs/ui/opengl/kis_opengl_canvas2.cpp @ 392] 0000000069B4D0A5 0000000000000000 0000000000000000 0000000000000000 libkritaui.dll!renderCanvasGL [C:/dev/krita-3.0.1.1/libs/ui/opengl/kis_opengl_canvas2.cpp @ 372] 0000000069B4D16C 000000003C8B70B0 0000000000010000 000000003D0539F0 libkritaui.dll!paintGL [C:/dev/krita-3.0.1.1/libs/ui/opengl/kis_opengl_canvas2.cpp @ 252] 00000000009D80E5 0000000031C4ECF0 0000000069BE3963 0000000000000000 Qt5Widgets.dll!QOpenGLWidget::resizeEvent 00000000009BD828 0000008000000080 0000014000000140 000001C000000080 Qt5Widgets.dll!QWidget::event 000000000097A33C 0000000000000000 0000000000000000 0000000000260CC0 Qt5Widgets.dll!QApplicationPrivate::notify_helper 000000000097F6A0 000000003C4D2558 000000003C8B70B0 0000000000000000 Qt5Widgets.dll!QApplication::notify 0000000069C31746 0000000000239520 000000003C81A598 000000003C8B70B0 libkritaui.dll!notify [C:/dev/krita-3.0.1.1/libs/ui/KisApplication.cpp @ 511] 0000000068A0E9F2 0000000000000000 0000000061B20023 0000000000239520 Qt5Core.dll!QCoreApplication::notifyInternal2 00000000009B5ECD 0000000000239840 0000000000000000 00000000E00004E4 Qt5Widgets.dll!QWidgetPrivate::sendPaintEvent 00000000009B66EB 5353FFFF00000001 000000008E8E7272 0000000021CC3BA0 Qt5Widgets.dll!QWidgetPrivate::drawWidget 00000000009B71E6 000000003C59F4B0 000000003C81A598 000000003C59F4C8 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B6035 000000003C59EC20 000000000097A33C 0000000000000000 Qt5Widgets.dll!QWidgetPrivate::drawWidget 00000000009B71E6 000000003CAAB7A0 000000003C81A598 000000003CAAB7B8 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 000000003CAAB7A0 000000003C81A598 000000003CAAB7B8 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 000000003CAAB7A0 000000003C81A598 000000003CAAB7B8 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B6035 000000003CC6E810 000000003C997E00 000000003C96AE00 Qt5Widgets.dll!QWidgetPrivate::drawWidget 00000000009B71E6 000000003C59F850 000000003C81A598 000000003C59F868 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B6035 0000000030CB7FC0 000000003C81A598 0000000030CB7FD8 Qt5Widgets.dll!QWidgetPrivate::drawWidget 00000000009B71E6 0000000030CB7FC0 000000003C81A598 0000000030CB7FD8 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B6035 0000000061B5E070 0000000061B65714 0000000031FC4950 Qt5Widgets.dll!QWidgetPrivate::drawWidget 00000000009B71E6 0000000031FC4880 000000003C81A598 0000000031FC4898 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B6035 000000002A3A4150 000000003C81A598 000000002A3A4168 Qt5Widgets.dll!QWidgetPrivate::drawWidget 00000000009B71E6 000000002A3A4150 000000003C81A598 000000002A3A4168 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 000000002A3A4150 000000003C81A598 000000002A3A4168 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B6035 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::drawWidget 00000000009B71E6 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B70DA 0000000031EB8A40 000000003C81A598 0000000031EB8A58 Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive 00000000009B6035 0000000021EE92B0 000000003CC4A878 000000000023B8A0 Qt5Widgets.dll!QWidgetPrivate::drawWidget 0000000000986EBF 000000003C265BF0 0000000000000027 0000000068D55DE0 Qt5Widgets.dll!QWidgetPrivate::repaint_sys 00000000009870AE 00000000000003E8 000000003CD6F300 00000000000003E8 Qt5Widgets.dll!QWidgetPrivate::repaint_sys 00000000009A4BB4 0000000020039430 00000000000003E8 0000000000000001 Qt5Widgets.dll!QWidgetPrivate::syncBackingStore 00000000009BD8C9 000000003C1DE0C0 0000000021855A00 000000000023BD40 Qt5Widgets.dll!QWidget::event 0000000000ABDEDB 0000000000000001 0000000068A0E7BD 0000000000000001 Qt5Widgets.dll!QMainWindow::event 0000000065EE266A 000000000023FDA0 0000000021854070 0000000000000000 libkritawidgetutils.dll!event [C:/dev/krita-3.0.1.1/libs/widgetutils/xmlgui/kmainwindow.cpp @ 780] 000000000097A33C 0000000032265090 0000000000000000 0000000032966D00 Qt5Widgets.dll!QApplicationPrivate::notify_helper 000000000097F6A0 0000000200000003 0000000032264010 0000000000000000 Qt5Widgets.dll!QApplication::notify 0000000069C31746 000000003D150E30 0000000000000000 0000000000000001 libkritaui.dll!notify [C:/dev/krita-3.0.1.1/libs/ui/KisApplication.cpp @ 511] 0000000068A0E9F2 0000000000000000 00007FFAA9CC2524 0000000000020003 Qt5Core.dll!QCoreApplication::notifyInternal2 0000000068A13300 0000000000000000 0000000000390132 0000000068A55450 Qt5Core.dll!QCoreApplicationPrivate::sendPostedEvents 000000002233AB1E 00000000222E1E90 0000000000000113 0000000000000000 qwindows.dll!qt_plugin_instance 0000000068A5577A 0000000000000113 000000000023C3F8 000000000023C428 Qt5Core.dll!QEventDispatcherWin32Private::sendTimerEvent 00007FFAA7BF24FD 00000000203AF380 000000000023C500 0000000000390132 USER32.dll!UserCallWinProcCheckWow 00007FFAA7BF2357 0000000021CF1400 0000000021CF1400 0000000000000100 USER32.dll!DispatchMessageWorker 0000000068A54EB3 0000000020039430 0000000000000024 000000000023FDA0 Qt5Core.dll!QEventDispatcherWin32::processEvents 000000002233AB05 0000000000000080 0000000000000014 000000003C5BC890 qwindows.dll!qt_plugin_instance 0000000068A0DCCA 0000000068A34830 000000000023FCB0 0000000068A2E670 Qt5Core.dll!QEventLoop::exec 0000000068A14927 000000000023FAB0 000000000023FCB0 0000000084000185 Qt5Core.dll!QCoreApplication::exec 000000000041B115 0000000000000001 000000000000004E 00007FF5FFFF8000 krita.exe!main [C:/dev/krita-3.0.1.1/krita/main.cc @ 231] 00000000004013E8 0000000000000000 0000000000000000 0000000000000000 krita.exe!__tmainCRTStartup [C:/crossdev/src/mingw-w64-v4-git/mingw-w64-crt/crt/crtexe.c @ 332] 00000000004014EB 0000000000000000 0000000000000000 0000000000000000 krita.exe!WinMainCRTStartup [C:/crossdev/src/mingw-w64-v4-git/mingw-w64-crt/crt/crtexe.c @ 184] 00007FFAA82E13D2 00007FFAA82E13B0 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk 00007FFAA9C454E4 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart
Hm. that last backtrace shows a crash happening in the opengl driver. Did you by any chance enable OpenColorIO in the LUT docker?
No, I didn't change anything after downloading it and I checked the LUT docker, OpenColorIO is not selected.
I'm still suspecting the opengl driver. Does it happen if you disable opengl in Krita's display settings?
Hello Miia, does this crash still happen with the newest version of Krita (currently 4.1.1)? If yes, can you try to disable "Canvas Graphics Acceleration" in Krita's display settings and try to reproduce the crash again? Thanks!
Does not happen with 4.1.1, Canvas Graphics Acceleration on, in Windows 7.
I think we can close this bug then -- so much has changed since 2016!