Bug 392944

Summary: Crash when returning from sleep
Product: [Applications] krita Reporter: Hadrien <r29hx7>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: scottpetrovic
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Hadrien 2018-04-09 19:42:18 UTC
Waking up Windows from sleep crashes Krita. As far as I remember it's always done this, since I've been using Krita (2.8 maybe ?). Not an instant crash, the "krita.exe has stopped working" kind. The particular version of Windows it's happening on is 7 but I think it's doing it on 10 as well (I don't have my W10 machine right now unfortunately)
Comment 1 Scott Petrovic 2018-04-09 19:43:43 UTC
Does it happen very consistently for you? Could you install Dr. MinGW and try to get a crash log to see what is causing it?

https://docs.krita.org/Dr._Mingw_debugger
Comment 2 Hadrien 2018-04-09 19:49:57 UTC
It happens every time. I can't find a download for this, where can I find it ? The page mentions a krita crash log in the appdata folder but there is no such thing on my machine, just a "cache" folder with a "qmlcache" folder inside it and a file named "01039b04dde482b045b38fae1a4d7fede3b4b981.qmlc" inside it.
Comment 3 Scott Petrovic 2018-04-09 20:15:50 UTC
We probably need to update that page a bit.

The best way to get everything is probably from here

https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/

Download the first (450MB) and third link (120MB).  

The third file will be just a portable version of the Krita nightly version. The first file contains a lot of programmer code references to make spotting issue better.

https://docs.krita.org/Dr._Mingw_debugger

Follow those instructions with using the debug package. You will put all the files from the large download (the 450MB) one into the Krita directory. 

Then just try to launch that portable krita version and get the crash. The crashlog should hopefully have a bunch of information on what it crashed
Comment 4 Hadrien 2018-04-10 08:26:17 UTC
Ok thanks for walking me through it. Seems like it doesn't crash anymore when using the portable version...
Comment 5 Scott Petrovic 2018-04-17 17:44:51 UTC
not sure if this was a bug or not, but the but reporter isn't getting the crash with the latest nightly
Comment 6 Hadrien 2018-04-17 17:48:41 UTC
I've been trying to reproduce it, but no luck. Since I created this report it happened only once with the stable version 4.0.1, too bad I had forgotten to launch the portable nightly before putting the computer to sleep. Am still trying to reproduce the bug.