![]() Registered Member ![]()
|
I've been fighting with this tricky problem past couple days. For some reason, every version of krita past 4.0.2 fails to launch. It could be something to with the loading of system color profiles feature but this is just speculation. I have tried installing and uninstalling new drivers for the gpu and wacom, tried all different download versions, installing to different folders and drives, resetting and testing with different color profiles and reverting and updating windows 10 install. I have also cleared all krita settings from user folder between tests. I started trying older and older versions until 4.0.2, which then launched surprisingly.
Krita shows the splash screen and gets stuck at "Adding resource types" prompt. Here's a debug log from Windows DebugView app
"lataaminen epäonnistui:" means "failed to load" so it does not load the DLL files. https://krita.org/en/item/krita-4-0-2-released/ https://krita.org/en/item/krita-4-0-3-released/ |
![]() KDE Developer ![]()
|
You're not the first to report this... But I cannot reproduce anything like it on any of my Windows systems.
I am not sure anymore, but I think that we changed compilers at that point. The output shows that a certain dll cannot be loaded, which is pretty strange, of course. Do you have any security software other than windows defender installed? Have you tried to run Krita as administrator? How did you reset Krita's settings? |
![]() Registered Member ![]()
|
I did try to run it as administrator to no avail. I also tried to run it sandboxed. I don't have any anti-virus or other security programs installed and have disabled the ones that come with windows. I removed all krita related files and folders and swap data from AppData/Local and AppData/Roaming. I also tried running it from windows safe mode and tried different file and user permissions settings.
Could any other software development related programs interfere with it? Java, .net framework, compilers etc.
Last edited by nuppi on Tue Feb 26, 2019 11:46 am, edited 1 time in total.
|
![]() KDE Developer ![]()
|
I really don't know. Something makes it impossible for Krita to load its plugins, and that really must be something on your system
|
![]() Registered Member ![]()
|
Ok, thanks for the reply. If i find a solution, i'll report it here.
|
![]() KDE Developer ![]()
|
Yes, please, I'm really curious.
|
![]() Registered Member ![]()
|
Not sure if progress
![]() Krita (4.0.3) starts if i remove the color management plugin(?) kritalcmsengine.dll from the kritaplugins folder. But as expected, it does give an error message and close. https://i.imgur.com/0c8g9Bq.png DebugView log
|
![]() KDE Developer ![]()
|
Yes... That plugin is absolutely essential, so not starting is not weird, but... What the heck is going on here? It does feel like antivirus making it impossible to load certain dll's, but we already ruled that out!
|
![]() Registered Member ![]()
|
I'm starting to think that the only thing that would help would be a complete computer wipe and reinstall.. I made a vhd from my system disk and ran it in a virtual machine so that i can safely experiment with OS and software. I defaulted windows settings and proceeded to uninstall software systematically, starting from dev tools, drivers etc. but after removing most of it, nothing changed. I then removed all installed programs and reseted all settings that i could find but that did not work either.
|
![]() KDE Developer ![]()
|
Would it be possible to share that VM with me so I could try to debug stuff?
|
![]() Registered Member ![]()
|
Sure
![]() |
![]() KDE Developer ![]()
|
|
![]() Registered Member ![]()
|
|
![]() KDE Developer ![]()
|
|
![]() KDE Developer ![]()
|
Okay, the problem seems to be an assert in the littlecms library when loading one of the profiles in the C:\Windows\System32\spool\drivers\color folder: N220W.ICM .
>>>>>>>>>>> "/home/boud/.local/share/krita/profiles/N220W.ICM" LcmsColorProfileContainer::init() "" krita: cmsgamma.c:1080: cmsReverseToneCurve: Assertion `(InGamma != ((void *)0))' failed. Thread 1 "krita" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007ffff291c801 in __GI_abort () at abort.c:79 #2 0x00007ffff290c39a in __assert_fail_base (fmt=0x7ffff2a937d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fffc28b77cb "(InGamma != ((void *)0))", file=file@entry=0x7fffc28b7735 "cmsgamma.c", line=line@entry=1080, function=function@entry=0x7fffc28b7920 "cmsReverseToneCurve") at assert.c:92 #3 0x00007ffff290c412 in __GI___assert_fail (assertion=0x7fffc28b77cb "(InGamma != ((void *)0))", file=0x7fffc28b7735 "cmsgamma.c", line=1080, function=0x7fffc28b7920 "cmsReverseToneCurve") at assert.c:101 #4 0x00007fffc2887ad5 in cmsReverseToneCurve () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2 #5 0x00007fffbb1b8ecb in LcmsColorProfileContainer::init (this=this@entry=0x5555591b02d0) at /home/boud/dev/krita/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp:216 #6 0x00007fffbb1b9343 in LcmsColorProfileContainer::LcmsColorProfileContainer (this=0x5555591b02d0, data=0x5555591009a0) at /home/boud/dev/krita/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp:87 #7 0x00007fffbb1bef3c in IccColorProfile::init (this=this@entry=0x5555591b02f0) at /home/boud/dev/krita/plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp:297 #8 0x00007fffbb1bfa9f in IccColorProfile::load (this=this@entry=0x5555591b02f0) at /home/boud/dev/krita/plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp:282 #9 0x00007fffbb1c4168 in LcmsEnginePlugin::LcmsEnginePlugin (this=<optimized out>, parent=<optimized out>) at /home/boud/dev/krita/plugins/color/lcms2engine/LcmsEnginePlugin.cpp:134 #10 0x00007fffbb1da424 in KPluginFactory::createInstance<LcmsEnginePlugin, QObject> ( parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:533 #11 0x00007fffee02eff9 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 #12 0x00007fffee28a022 in KPluginFactory::create<QObject> (args=..., parent=0x7fffee4a15a0 <(anonymous namespace)::Q_QGS_pluginLoaderInstance::innerFunction()::holder>, this=0x555558bc6290) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:551 #13 KoPluginLoader::load ( this=this@entry=0x7fffee4a15a0 <(anonymous namespace)::Q_QGS_pluginLoaderInstance::innerFunction()::holder>, serviceType=..., versionString=..., config=..., owner=owner@entry=0x0, cache=cache@entry=true) at /home/boud/dev/krita/libs/koplugin/KoPluginLoader.cpp:137 #14 0x00007ffff00cfcba in KoColorSpaceRegistry::init ( this=this@entry=0x7ffff0557d70 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/boud/dev/krita/libs/pigment/KoColorSpaceRegistry.cpp:200 #15 0x00007ffff00d0476 in KoColorSpaceRegistry::instance () at /home/boud/dev/krita/libs/pigment/KoColorSpaceRegistry.cpp:154 #16 0x00007ffff009d2f4 in (anonymous namespace)::DefaultKoColorInitializer::DefaultKoColorInitializer ( this=0x7ffff05576b0 <(anonymous namespace)::(anonymous namespace)::Q_QGS_s_defaultKoColor::innerFunction()::holder>) at /home/boud/dev/krita/libs/pigment/KoColor.cpp:49 #17 (anonymous namespace)::(anonymous namespace)::Q_QGS_s_defaultKoColor::Holder::Holder ( this=0x7ffff05576b0 <(anonymous namespace)::(anonymous namespace)::Q_QGS_s_defaultKoColor::innerFunction()::holder>) at /home/boud/dev/krita/libs/pigment/KoColor.cpp:64 #18 (anonymous namespace)::(anonymous namespace)::Q_QGS_s_defaultKoColor::innerFunction () at /home/boud/dev/krita/libs/pigment/KoColor.cpp:64 #19 QGlobalStatic<(anonymous namespace)::DefaultKoColorInitializer, (anonymous namespace)::(anonymous namespace)::Q_QGS_s_defaultKoColor::innerFunction, (anonymous namespace)::(anonymous namespace)::Q_QGS_s_defaultKoColor::guard>::operator-> (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobalstatic.h:139 #20 KoColor::KoColor (this=0x7fffbba4b9c0 <black>) at /home/boud/dev/krita/libs/pigment/KoColor.cpp:70 #21 0x00007ffff7de5733 in call_init (env=0x5555572c2160, argv=0x7fffffffd8d8, argc=1, l=<optimized out>) at dl-init.c:72 #22 _dl_init (main_map=main_map@entry=0x555558bafe00, argc=1, argv=0x7fffffffd8d8, env=0x5555572c2160) at dl-init.c:119 #23 0x00007ffff7dea1ff in dl_open_worker (a=a@entry=0x7fffffffcb30) at dl-open.c:522 #24 0x00007ffff2a432df in __GI__dl_catch_exception (exception=0x7fffffffcb10, -- I'll try figure out if we can find out whether lcms would throw this assertion before trying to run the function. |
Registered users: Bing [Bot], Evergrowing, Google [Bot]