Bug 363295

Summary: Crash when creating document with OCIO config loaded
Product: [Applications] krita Reporter: Scott Petrovic <scottpetrovic>
Component: Color modelsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: griffinvalley, halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Scott Petrovic 2016-05-19 20:19:28 UTC
Crash while creating a new document with OCIO enabled and configuration file specificied.



Reproducible: Always

Steps to Reproduce:
1. Create a new document
2. Show LUT docker and enable it with "Use OpenColorIO"
3. Load a opencolorio.config file   

I used this one... https://github.com/imageworks/OpenColorIO-Configs/blob/master/spi-anim/config.ocio

4. Close Krita
5. Start Krita again and try to create a new document


Actual Results:  
crash

Expected Results:  
not crash

I am on GIT master on Windows 8.1. If you clear out the kritarc file which disables the OCIO setting, you can create documents again.
Comment 1 Halla Rempt 2016-05-20 09:15:21 UTC
I fixed that on Wednesday -- can you make sure you've got those commits?
Comment 2 Scott Petrovic 2016-05-20 15:08:43 UTC
It still appears to happen, but following the steps seems to crash it maybe 50% of the time. If someone else experiences this issue, maybe we can look at it more. Maybe it is specific to my build
Comment 3 wolthera 2016-05-21 11:56:16 UTC
scott check the builds of today?
Comment 4 Scott Petrovic 2016-05-21 22:55:46 UTC
I grabbed the build that was just updated  with the 20,000 kickstarter post.

It is still doing the crash. It is not every time, so maybe there is some race condition going on. If someone is trying to reproduce this, if the last step doesn't produce a crash with the new document, try to close the document and create another one. 

It coul take up to a few tries to experience it. It may also be Windows specific.
Comment 5 Halla Rempt 2016-07-06 12:04:50 UTC
I'm sorry, but I still cannot reproduce. I doubt it's really windows-specific, this code is pretty generic.
Comment 6 Halla Rempt 2016-08-23 16:21:51 UTC
I think we're save closing this one now.