Bug 375939 - Krita crashes when installed to a second drive
Summary: Krita crashes when installed to a second drive
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.1.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 09:24 UTC by raius1
Modified: 2017-10-22 09:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raius1 2017-02-03 09:24:14 UTC
Just downloaded the program, it crashes before loading every time. Specifically, the load window gets to "loading paint operations" before I get a message that it has stopped working and Windows is searching for a solution. Finding none, it gives me the "Windows will close the program and notify you if a solution is found" message. Tried updating my display and Wacom tablet drivers, as well as several reboots. Problem persists.

Here is the latest backtrace.

Error occurred on Friday, February 3, 2017 at 01:10:18.

krita.exe caused an Access Violation at location 00007FFCDCAD25FB in module libkritalibbrush.dll Reading from location 0000000000000000.

AddrPC           Params
00007FFCDCAD25FB 00000000005FEA00 000000000E01E5B0 00000000005FEA00  libkritalibbrush.dll!getOrCreateBrush  [C:/dev/krita-3.1.2.1/libs/global/kis_shared_ptr.h @ 113]
00007FFCDCAD7C3C 0000000002E16800 0000000068A3D903 000000000F6B5850  libkritalibbrush.dll!getOrCreateBrush  [C:/dev/krita-3.1.2.1/libs/brush/kis_brush_registry.cpp @ 74]
00007FFCDCAD6177 000000000F662410 000000000F662A00 0000000000000000  libkritalibbrush.dll!fromXML  [C:/dev/krita-3.1.2.1/libs/brush/kis_brush.cpp @ 350]
00007FFCC7FED0F9 000000000F6B5FA0 0000000053000053 000000000F662A00  libkritalibpaintop.dll!readOptionSettingInternal  [C:/dev/krita-3.1.2.1/plugins/paintops/libpaintop/kis_brush_option.cpp @ 64]
00007FFCC801C9CD 0000000000000000 000000000F663270 0000000000000001  libkritalibpaintop.dll!brush  [C:/dev/krita-3.1.2.1/plugins/paintops/libpaintop/kis_brush_based_paintop_settings.cpp @ 34]
00007FFCC801CB7E 000000006889ED70 0000000068917CC0 00000000005FEC30  libkritalibpaintop.dll!clone  [C:/dev/krita-3.1.2.1/plugins/paintops/libpaintop/kis_brush_based_paintop_settings.cpp @ 95]
00007FFCB4F5CFAC 000000000F663270 0000000066C0C8D9 0000000000000050  libkritaimage.dll!setSettings  [C:/dev/krita-3.1.2.1/libs/image/brushengine/kis_paintop_preset.cpp @ 141]
00007FFCB4F5DB97 000000000F6123B0 000000000E01C9D0 000000000F680A90  libkritaimage.dll!fromXML  [C:/dev/krita-3.1.2.1/libs/image/brushengine/kis_paintop_preset.cpp @ 342]
00007FFCB4F5E71A 000000000F6123B0 00007FFCE8DC9E50 0000000068965430  libkritaimage.dll!loadFromDevice  [C:/dev/krita-3.1.2.1/libs/image/brushengine/kis_paintop_preset.cpp @ 257]
00007FFCB4F5C51D 0000000068CD8440 00007FFCCB84AA60 000000000DC496A0  libkritaimage.dll!load  [C:/dev/krita-3.1.2.1/libs/image/brushengine/kis_paintop_preset.cpp @ 218]
00007FFCB582502B 00000000033BA1F0 00000000005FF180 00007FFCB5C16040  libkritaui.dll!loadResources  [C:/dev/krita-3.1.2.1/libs/ui/kis_resource_server_provider.cpp @ 126]
00007FFCCB74FA4F 65725F7200000000 00000000001F0003 61612D6D656D6873  libkritawidgets.dll!run  [C:/dev/krita-3.1.2.1/libs/widgets/KoResourceServerProvider.cpp @ 145]
00007FFCB55B5AF4 000000000DB171B0 0000000002DEC370 000000000C531F80  libkritaui.dll! ??   [C:/dev/krita-3.1.2.1/libs/ui/kis_resource_server_provider.cpp @ 69]
00007FFCB55B5F4C 0000000003356B80 0000000000000000 00000000005FF390  libkritaui.dll!instance  [C:/dev/krita-3.1.2.1/libs/ui/kis_resource_server_provider.cpp @ 46]
00007FFCB5717EF3 00000000005FF5B0 00000000005FF5D0 00000000030EDB90  libkritaui.dll!loadResources  [C:/dev/krita-3.1.2.1/libs/ui/KisApplication.cpp @ 300]
00007FFCB571C949 00000000005FFC00 00000000005FFA50 00000000005FFAE0  libkritaui.dll!start  [C:/dev/krita-3.1.2.1/libs/ui/KisApplication.cpp @ 397]
000000014001B1EA 0000000000000001 0000000002E181F0 000000014046DB30  krita.exe!main  [C:/dev/krita-3.1.2.1/krita/main.cc @ 243]
00000001400013E8 0000000000000000 0000000000000000 0000000000000000  krita.exe!__tmainCRTStartup  [C:/crossdev/src/mingw-w64-v4-git/mingw-w64-crt/crt/crtexe.c @ 332]
00000001400014EB 0000000000000000 0000000000000000 0000000000000000  krita.exe!WinMainCRTStartup  [C:/crossdev/src/mingw-w64-v4-git/mingw-w64-crt/crt/crtexe.c @ 184]
00007FFCEAD98364 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
00007FFCEB7070D1 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

krita.exe
ntdll.dll   	6.2.14393.479
KERNEL32.DLL	6.2.14393.0
KERNELBASE.dll	6.2.14393.479
msvcrt.dll  	7.0.14393.0
libkritaui.dll
libkritawidgetutils.dll
libKF5I18n.dll
Qt5Core.dll 	5.6.1.0
ADVAPI32.dll	6.2.14393.0
Qt5Gui.dll  	5.6.1.0
sechost.dll 	6.2.14393.0
Qt5Widgets.dll	5.6.1.0
RPCRT4.dll  	6.2.14393.82
USER32.dll  	6.2.14393.576
GDI32.dll   	6.2.14393.206
win32u.dll  	6.2.14393.51
gdi32full.dll	6.2.14393.576
ole32.dll   	6.2.14393.576
combase.dll 	6.2.14393.576
libintl.DLL 	0.18.0.0
libkritaglobal.dll
ucrtbase.dll	6.2.14393.0
libkritaplugin.dll
bcryptPrimitives.dll	6.2.14393.0
libKF5ConfigCore.dll
libKF5ConfigGui.dll
SHELL32.dll 	6.2.14393.693
libKF5CoreAddons.dll
libKF5GuiAddons.dll
cfgmgr32.dll	6.2.14393.0
libKF5ItemViews.dll
libKF5WidgetsAddons.dll
libKF5WindowSystem.dll
windows.storage.dll	6.2.14393.479
Qt5PrintSupport.dll	5.6.1.0
WS2_32.dll  	6.2.14393.206
Qt5Xml.dll  	5.6.1.0
powrprof.dll	6.2.14393.0
comdlg32.dll	6.2.14393.479
libkritacolor.dll
libkritaflake.dll
shcore.dll  	6.2.14393.0
shlwapi.dll 	6.2.14393.0
libkritaimage.dll
kernel.appcore.dll	6.2.14393.0
libkritalibbrush.dll
profapi.dll 	6.2.14393.0
libkritaodf.dll
libkritapigment.dll
libkritapsd.dll
libkritastore.dll
libkritaundo2.dll
libkritaversion.dll
libkritawidgets.dll
libexiv2.dll
libKF5Completion.dll
Qt5Multimedia.dll	5.6.1.0
Qt5Network.dll	5.6.1.0
PSAPI.DLL   	6.2.14393.0
MPR.dll     	6.2.14393.0
libHalf.dll
libpng16.dll
OPENGL32.dll	6.2.14393.0
iconv.dll
NETAPI32.dll	6.2.14393.0
USERENV.dll 	6.2.14393.0
Qt5Svg.dll  	5.6.1.0
libfftw3-3.dll
WINSPOOL.DRV	6.2.14393.0
Qt5Concurrent.dll	5.6.1.0
COMCTL32.dll	5.82.14393.447
libKF5Archive.dll
libexpat.dll
libz.dll    	1.2.8.0
IPHLPAPI.DLL	6.2.14393.0
DNSAPI.dll  	6.2.14393.206
NSI.dll     	6.2.14393.0
GLU32.dll   	6.2.14393.0
DDRAW.dll   	6.2.14393.447
bcrypt.dll  	6.2.14393.576
DCIMAN32.dll	6.2.14393.0
NETUTILS.DLL	6.2.14393.0
LOGONCLI.DLL	6.2.14393.0
SAMCLI.DLL  	6.2.14393.0
IMM32.DLL   	6.2.14393.0
qwindows.dll	5.6.1.0
OLEAUT32.dll	6.2.14393.447
msvcp_win.dll	6.2.14393.0
WINMM.dll   	6.2.14393.0
Comment 1 raius1 2017-02-03 09:24:59 UTC
This is in Windows 10, by the way.
Comment 2 Halla Rempt 2017-02-03 09:45:51 UTC
Hi Raius,

Thanks for your report, and also thanks for adding the backtrace! Since the crash happens when loading brushes, could you 

a) check if the crash still happens if you move your resources folder to another location
b) if not, zip up the brushes and paintoppresets folder and share that with me?
c) if the crash still happens, check whether renaming the kritarc file to kritarc.bak makes a difference, and if so, share that with me?
Comment 3 raius1 2017-02-03 18:18:32 UTC
Hi there.

a) The crash does not happen if I remove the paintoppresets folder, or at
least not quite in the same manner. The main window does actually load, but
then I get a message saying that there is an installation error and no
brushes can be found, so krita will quit now. Moving the brushes folder
doesn't seem to have any effect.
b) Attached is the zipped file with brushes and paintoppresets.
c) Sadly, it seems the program has never managed to load enough to create
the configuration file, so I don't even have a kritarc file in the
approapriate location. Every folder under Roaming/krita is empty, with no
other files in the directory.

On Fri, Feb 3, 2017 at 1:45 AM, Boudewijn Rempt <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=375939
>
> Boudewijn Rempt <boud@valdyas.org> changed:
>
>            What    |Removed                     |Added
> ------------------------------------------------------------
> ----------------
>                  CC|                            |boud@valdyas.org
>
> --- Comment #2 from Boudewijn Rempt <boud@valdyas.org> ---
> Hi Raius,
>
> Thanks for your report, and also thanks for adding the backtrace! Since the
> crash happens when loading brushes, could you
>
> a) check if the crash still happens if you move your resources folder to
> another location
> b) if not, zip up the brushes and paintoppresets folder and share that
> with me?
> c) if the crash still happens, check whether renaming the kritarc file to
> kritarc.bak makes a difference, and if so, share that with me?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Halla Rempt 2017-02-14 07:46:47 UTC
Somehow the bug discussion moved over to private email... But this is the conclusion:

"I actually figured it out. For some reason, installing Krita on my second
drive, where I do most programs because my OS, default drive is a fairly
small SSD, splits up some stuff that Krita seems to need to function
properly, like it doesn't know where to look for he %APPDATA% and such. I
did a reinstall but put it on the main drive and everything is hunky-dory."
Comment 5 Alvin Wong 2017-08-24 07:22:04 UTC
This does not make sense to me at all. I run Krita from external drives all the time (tried on both Windows 7 and Windows 10) and I've never had this problem.

I am curious to know the path Krita is installed to on the external drive, since I have suspicion that it might be related to the path length limits.