Bug 375901 - Crash on opening any file
Summary: Crash on opening any file
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: OpenGL Canvas (show other bugs)
Version: 3.1.2
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 376006 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-02 16:05 UTC by 7.7meter
Modified: 2017-02-06 08:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 7.7meter 2017-02-02 16:05:04 UTC
Krita simply crashes after opening any image file.

The issue started with version 3.1, 3.0.1 works fine.

The issue is only present in the windows version (on Win 8.1, Fujitsu Q704 tablet pc, intel gpu, integrated wacom tablet etc...), I could not reproduce it on linux (Neon user edition, custom pc, AMD open drivers, no graphics tablet).

Backtrace:
Error occurred on Thursday, February 2, 2017 at 16:40:40.

krita.exe caused an Access Violation at location 00007FFE74B042E4 in module ig75icd64.dll Reading from location 0000000000000008.

AddrPC           Params
00007FFE74B042E4 0000000015D700D0 0000000000000001 0000000000000000  ig75icd64.dll!DrvSetLayerPaletteEntries
00007FFE749F2CA5 0000000015A00080 0000000000000002 0000000015D6F490  ig75icd64.dll!RegisterProcTableCallback
00007FFE749F7EFA 0000000000000000 0000000015A00080 0000000000000000  ig75icd64.dll!RegisterProcTableCallback
00007FFE749EC86E 000000001237E560 00007FFE74955801 0000000000000001  ig75icd64.dll!RegisterProcTableCallback
0000000061BCAEC2 00000000124D4560 00000000124D4598 0000000000000000  Qt5Gui.dll!QOpenGLShaderProgram::bind
00007FFE72C77AA2 0000000000004000 0000000000239550 00000000124D4560  libkritaui.dll!drawImage  [C:/dev/krita-3.1.2.1/libs/ui/opengl/kis_opengl_canvas2.cpp @ 524]
00007FFE72C792C5 0000000000000000 0000000000000000 0000000000000000  libkritaui.dll!renderCanvasGL  [C:/dev/krita-3.1.2.1/libs/ui/opengl/kis_opengl_canvas2.cpp @ 719]
00007FFE72C79391 00000000124D4560 0000000000010000 00000000140D2980  libkritaui.dll!paintGL  [C:/dev/krita-3.1.2.1/libs/ui/opengl/kis_opengl_canvas2.cpp @ 348]
00000000004A80E5 000000000DD49508 00007FFE72D2D613 0000000013C57780  Qt5Widgets.dll!QOpenGLWidget::resizeEvent
000000000048D828 0000000000000000 0000000000000000 0000000000000000  Qt5Widgets.dll!QWidget::event
000000000044A33C 0000000000000000 0000000000000000 00000000002A0CF0  Qt5Widgets.dll!QApplicationPrivate::notify_helper
000000000044F6A0 000000001206C3D8 00000000124D4560 0000000000000000  Qt5Widgets.dll!QApplication::notify
00007FFE72D7A8B6 0000000000239C40 00000000122F8F28 00000000124D4560  libkritaui.dll!notify  [C:/dev/krita-3.1.2.1/libs/ui/KisApplication.cpp @ 538]
0000000068A0E9F2 0000000000000000 0000000061B20023 0000000000239C40  Qt5Core.dll!QCoreApplication::notifyInternal2
0000000000485ECD 0000000000239F60 0000000000000000 0000000000BF0000  Qt5Widgets.dll!QWidgetPrivate::sendPaintEvent
00000000004866EB 5353FFFF00000001 000000008E8E7272 00000000024CE820  Qt5Widgets.dll!QWidgetPrivate::drawWidget
00000000004871E6 000000001237F910 00000000122F8F28 000000001237F928  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
0000000000486035 000000001237E5A0 000000000044A33C 00000000002A0CF0  Qt5Widgets.dll!QWidgetPrivate::drawWidget
00000000004871E6 0000000013A35B20 00000000122F8F28 0000000013A35B38  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
00000000004870DA 0000000013A35B20 00000000122F8F28 0000000013A35B38  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
00000000004870DA 0000000013A35B20 00000000122F8F28 0000000013A35B38  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
0000000000486035 0000000012211830 000000001241DAA0 00000000148118E0  Qt5Widgets.dll!QWidgetPrivate::drawWidget
00000000004871E6 000000001237D4D0 00000000122F8F28 000000001237D4E8  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
0000000000486035 000000001232EDC0 00000000122F8F28 000000001232EDD8  Qt5Widgets.dll!QWidgetPrivate::drawWidget
00000000004871E6 000000001232EDC0 00000000122F8F28 000000001232EDD8  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
0000000000486035 0000000061B5E070 0000000061B65714 000000000F138460  Qt5Widgets.dll!QWidgetPrivate::drawWidget
00000000004871E6 000000000F138390 00000000122F8F28 000000000F1383A8  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
0000000000486035 0000000008F41010 00000000122F8F28 0000000008F41028  Qt5Widgets.dll!QWidgetPrivate::drawWidget
00000000004871E6 0000000008F41010 00000000122F8F28 0000000008F41028  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
00000000004870DA 0000000008F41010 00000000122F8F28 0000000008F41028  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
0000000000486035 000000000F303D10 00000000122F8F28 000000000F303D28  Qt5Widgets.dll!QWidgetPrivate::drawWidget
00000000004871E6 000000000F303D10 00000000122F8F28 000000000F303D28  Qt5Widgets.dll!QWidgetPrivate::paintSiblingsRecursive
0000000000486035 000000000279FA00 0000000013ACAD18 000000000023B620  Qt5Widgets.dll!QWidgetPrivate::drawWidget
0000000000456EBF 0000000011BB86E0 00000000068B5D60 33000043068AAEC0  Qt5Widgets.dll!QWidgetPrivate::repaint_sys
00000000004570AE 000000000023B9E0 0000000068A2FC2C 0000000000000001  Qt5Widgets.dll!QWidgetPrivate::repaint_sys
0000000000474BB4 00000000024CE820 00000000688835A6 FFFFFC72FFFFFB90  Qt5Widgets.dll!QWidgetPrivate::syncBackingStore
000000000048D8C9 0000000000000000 0000000000000000 00000000147826F0  Qt5Widgets.dll!QWidget::event
000000000058DEDB 0000000000000001 0000000068A0E7BD 000000001455E200  Qt5Widgets.dll!QMainWindow::event
00007FFE76BF558A 000000000023FB90 00000000024CE540 0000000000000000  libkritawidgetutils.dll!event  [C:/dev/krita-3.1.2.1/libs/widgetutils/xmlgui/kmainwindow.cpp @ 780]
000000000044A33C 00000000100F64E0 00000000FFFFA8A5 0000000014780310  Qt5Widgets.dll!QApplicationPrivate::notify_helper
000000000044F6A0 0000000200000003 00000000100F5260 0000000000000000  Qt5Widgets.dll!QApplication::notify
00007FFE72D7A8B6 000000001455E230 0000000000000000 0000000000000001  libkritaui.dll!notify  [C:/dev/krita-3.1.2.1/libs/ui/KisApplication.cpp @ 538]
0000000068A0E9F2 0000000000000000 00007FFE9C122524 00092DD800000000  Qt5Core.dll!QCoreApplication::notifyInternal2
0000000068A13300 0000000000000000 00000000000706DA 0000000068A55450  Qt5Core.dll!QCoreApplicationPrivate::sendPostedEvents
000000006A8EAB1E 0000000000000048 0000000000000113 0000000000000000  qwindows.dll!qt_plugin_instance
0000000068A5577A 0000000000000113 000000000023C178 000000000023C1A8  Qt5Core.dll!QEventDispatcherWin32Private::sendTimerEvent
00007FFE9A0224FD 0000000000FBD3C0 000000000023C280 00000000000706DA  USER32.dll!UserCallWinProcCheckWow
00007FFE9A022357 00000000024DD9B0 00000000024DD9B0 0000000000000100  USER32.dll!DispatchMessageWorker
0000000068A54EB3 0000000002490D20 0000000000000024 000000000023FB90  Qt5Core.dll!QEventDispatcherWin32::processEvents
000000006A8EAB05 0000000000000080 0000000000000014 0000000011FF4D80  qwindows.dll!qt_plugin_instance
0000000068A0DCCA 0000000068A2E670 000000000023FA50 0000000068A34830  Qt5Core.dll!QEventLoop::exec
0000000068A14927 000000000023FC00 000000000023FA50 000000000023FAE0  Qt5Core.dll!QCoreApplication::exec
000000014001B425 0000000000000001 00000000024868C0 00007FF5FFFF5000  krita.exe!main  [C:/dev/krita-3.1.2.1/krita/main.cc @ 258]
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]
00007FFE9A7813D2 00007FFE9A7813B0 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
00007FFE9C0A54E4 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

krita.exe
ntdll.dll   	6.3.9600.18438
KERNEL32.DLL	6.3.9600.17415
KERNELBASE.dll	6.3.9600.18340
libkritaui.dll
libkritawidgetutils.dll
libKF5I18n.dll
Qt5Core.dll 	5.6.1.0
Qt5Gui.dll  	5.6.1.0
Qt5Widgets.dll	5.6.1.0
msvcrt.dll  	7.0.9600.17415
libkritacolor.dll
libkritaflake.dll
libkritaglobal.dll
libkritaimage.dll
libkritalibbrush.dll
libkritaodf.dll
libkritapigment.dll
libkritaplugin.dll
libkritapsd.dll
libkritastore.dll
libkritaundo2.dll
libkritaversion.dll
libkritawidgets.dll
libexiv2.dll
libKF5Completion.dll
libKF5ConfigCore.dll
libKF5ConfigGui.dll
libKF5CoreAddons.dll
libKF5GuiAddons.dll
libKF5ItemViews.dll
libKF5WidgetsAddons.dll
Qt5Multimedia.dll	5.6.1.0
Qt5Network.dll	5.6.1.0
Qt5PrintSupport.dll	5.6.1.0
Qt5Xml.dll  	5.6.1.0
USER32.dll  	6.3.9600.18439
libHalf.dll
libpng16.dll
libKF5WindowSystem.dll
libintl.DLL 	0.18.0.0
ADVAPI32.dll	6.3.9600.18155
MPR.dll     	6.3.9600.17415
ole32.dll   	6.3.9600.18403
SHELL32.dll 	6.3.9600.18460
WS2_32.dll  	6.3.9600.18340
GDI32.dll   	6.3.9600.18344
OPENGL32.dll	6.3.9600.17415
Qt5Svg.dll  	5.6.1.0
libfftw3-3.dll
Qt5Concurrent.dll	5.6.1.0
libKF5Archive.dll
libexpat.dll
iconv.dll
libz.dll    	1.2.8.0
PSAPI.DLL   	6.3.9600.17415
NETAPI32.dll	6.3.9600.17415
USERENV.dll 	6.3.9600.17415
DNSAPI.dll  	6.3.9600.18402
IPHLPAPI.DLL	6.3.9600.18264
comdlg32.dll	6.3.9600.17415
WINSPOOL.DRV	6.3.9600.17415
sechost.dll 	6.3.9600.17734
RPCRT4.dll  	6.3.9600.18292
combase.dll 	6.3.9600.18202
SHLWAPI.dll 	6.3.9600.17415
NSI.dll     	6.3.9600.17415
GLU32.dll   	6.3.9600.17415
DDRAW.dll   	6.3.9600.17415
netutils.dll	6.3.9600.17415
srvcli.dll  	6.3.9600.17415
wkscli.dll  	6.3.9600.17415
profapi.dll 	6.3.9600.17415
WINNSI.DLL  	6.3.9600.17415
COMCTL32.dll	5.82.9600.17810
SspiCli.dll 	6.3.9600.18454
DCIMAN32.dll	6.3.9600.17415
LOGONCLI.DLL	6.3.9600.17415
SHCORE.DLL  	6.3.9600.17666
SAMCLI.DLL  	6.3.9600.17415
IMM32.DLL   	6.3.9600.17415
MSCTF.dll   	6.3.9600.18081
guard64.dll 	8.4.0.5165
version.dll 	6.3.9600.17415
fltlib.dll  	6.3.9600.17415
ntmarta.dll 	6.3.9600.17415
qwindows.dll	5.6.1.0
OLEAUT32.dll	6.3.9600.18434
WINMM.dll   	6.3.9600.17415
WINMMBASE.dll	6.3.9600.17415
cfgmgr32.dll	6.3.9600.17415
DEVOBJ.dll  	6.3.9600.17415
kernel.appcore.dll	6.3.9600.17415
CRYPTBASE.dll	6.3.9600.17415
bcryptPrimitives.dll	6.3.9600.18344
uxtheme.dll 	6.3.9600.17415
tiptsf.dll  	6.3.9600.17415
dwmapi.dll  	6.3.9600.17415
ig75icd64.dll	10.18.10.3740
igdusc64.dll	10.18.10.3740
powrprof.dll	6.3.9600.17415
kimg_exr.dll
libIex.dll
libIlmImf.dll
libIlmThread.dll
libImath.dll
kimg_kra.dll
kimg_ora.dll
kimg_pcx.dll
kimg_pic.dll
kimg_psd.dll
kimg_ras.dll
kimg_rgb.dll
kimg_tga.dll
kimg_xcf.dll
qdds.dll    	5.6.1.0
qgif.dll    	5.6.1.0
qicns.dll   	5.6.1.0
qico.dll    	5.6.1.0
qjpeg.dll   	5.6.1.0
qsvg.dll    	5.6.1.0
qtiff.dll   	5.6.1.0
qwbmp.dll   	5.6.1.0
qwebp.dll   	5.6.1.0
CRYPTSP.dll 	6.3.9600.17415
rsaenh.dll  	6.3.9600.18191
bcrypt.dll  	6.3.9600.17415
exchndl.dll 	0.8.1.0
mgwhelp.dll 	0.8.1.0
dbghelp.dll 	6.3.9600.17298
wintab32.dll	1.0.5.8
HID.DLL     	6.3.9600.17415
WTSAPI32.dll	6.3.9600.17415
SETUPAPI.dll	6.3.9600.17415
ISD_Tablet.dll	7.3.1.7
oleacc.dll  	7.2.9600.17415
clbcatq.dll 	2001.12.10530.17415
sxs.dll     	6.3.9600.17415
PROPSYS.dll 	7.0.9600.17415
LINKINFO.dll	6.3.9600.17415
kritalcmsengine.dll
liblcms2.dll
krita_colorspaces_extensions.dll
kritachalkpaintop.dll
libkritalibpaintop.dll
kritacolorsmudgepaintop.dll
kritacurvepaintop.dll
kritadefaultpaintops.dll
kritadeformpaintop.dll
kritadynapaintop.dll
kritaexperimentpaintop.dll
kritafilterop.dll
kritagridpaintop.dll
kritahairypaintop.dll
kritahatchingpaintop.dll
kritaparticlepaintop.dll
kritaroundmarkerpaintop.dll
kritasketchpaintop.dll
kritaspraypaintop.dll
kritatangentnormalpaintop.dll
kritablurfilter.dll
kritacolorsfilters.dll
kritaconvolutionfilters.dll
kritadodgeburn.dll
kritaembossfilter.dll
kritaexample.dll
kritaextensioncolorsfilters.dll
kritafastcolortransferfilter.dll
kritagradientmap.dll
kritahalftone.dll
kritaimageenhancement.dll
kritaindexcolors.dll
kritalevelfilter.dll
kritanoisefilter.dll
kritanormalize.dll
kritaoilpaintfilter.dll
kritaphongbumpmap.dll
kritapixelizefilter.dll
kritaposterize.dll
kritaraindropsfilter.dll
kritarandompickfilter.dll
kritaroundcornersfilter.dll
kritasmalltilesfilter.dll
kritasobelfilter.dll
kritathreshold.dll
kritaunsharpfilter.dll
kritawavefilter.dll
krita_shape_text.dll
libkritatext.dll
libkritatextlayout.dll
krita_flaketools.dll
krita_karbontools.dll
krita_tool_basicflakes.dll
libkritabasicflakes.dll
krita_shape_vector.dll
libkritavectorimage.dll
krita_shape_artistictext.dll
krita_shape_paths.dll
kritacolorgenerator.dll
kritapatterngenerator.dll
kritadefaulttools.dll
libboost_system-mgw51-mt-1_61.dll
kritarulerassistanttool.dll
kritaselectiontools.dll
kritatoolcrop.dll
kritatooldyna.dll
kritatoollazybrush.dll
kritatoolpolygon.dll
kritatoolpolyline.dll
kritatooltext.dll
kritatooltransform.dll
kritaanimationdocker.dll
krita_docker_defaults.dll
kritaartisticcolorselector.dll
kritachanneldocker.dll
kritacolorselectorng.dll
qsvgicon.dll	5.6.1.0
kritacolorslider.dll
kritacompositiondocker.dll
kritadefaultdockers.dll
kritadigitalmixer.dll
kritagriddocker.dll
kritahistogramdocker.dll
kritahistorydocker.dll
kritaimagedocker.dll
kritalutdocker.dll
libOpenColorIO.dll
kritaoverviewdocker.dll
kritapalettedocker.dll
kritapatterndocker.dll
kritapresetdocker.dll
kritapresethistory.dll
kritasmallcolorselector.dll
kritaspecificcolorselector.dll
kritatasksetdocker.dll
kritaanimationrenderer.dll
kritabigbrother.dll
kritaclonesarray.dll
kritacolorrange.dll
kritacolorspaceconversion.dll
kritagmic.dll
libgomp_64-1.dll
kritahistogram.dll
kritaimagesize.dll
kritaimagesplit.dll
kritalayergroupswitcher.dll
kritalayersplit.dll
kritametadataeditor.dll
kritamodifyselection.dll
kritaoffsetimage.dll
kritaresourcemanager.dll
kritarotateimage.dll
kritaseparatechannels.dll
kritashearimage.dll
kritawaveletdecompose.dll
Ninput.dll  	6.3.9600.17415
comctl32.DLL	6.10.9600.18006
WININET.dll 	11.0.9600.18500
iertutil.dll	11.0.9600.18500
Secur32.dll 	6.3.9600.17415
ondemandconnroutehelper.dll	6.3.9600.17415
winhttp.dll 	6.3.9600.18378
mswsock.dll 	6.3.9600.18340
urlmon.dll  	11.0.9600.18500
mdnsNSP.dll 	3.0.0.10
rasadhlp.dll	6.3.9600.17415
fwpuclnt.dll	6.3.9600.18229

Windows 6.2.9200
DrMingw 0.8.1
Comment 1 Halla Rempt 2017-02-02 16:10:52 UTC
Hi,

I guess you could workaround this crash by disabling opengl -- it clearly happens right inside the intel display driver:

krita.exe caused an Access Violation at location 00007FFE74B042E4 in module ig75icd64.dll Reading from location 0000000000000008.

It isn't the first problem we have with intel drivers -- black screens, canvas doesn't update until some gui element is selected, and now a crash again. Intel guys, you should check pointers before reading pointers!

Without an actual test system this is going to be really hard to debug. We're obviously doing something the intel driver developers have never expected, but we're still using opengl correctly, as far as we know...
Comment 2 7.7meter 2017-02-02 16:27:16 UTC
(In reply to Boudewijn Rempt from comment #1)
> Hi,
> 
> I guess you could workaround this crash by disabling opengl -- it clearly
> happens right inside the intel display driver:
> 
> krita.exe caused an Access Violation at location 00007FFE74B042E4 in module
> ig75icd64.dll Reading from location 0000000000000008.
> 
> It isn't the first problem we have with intel drivers -- black screens,
> canvas doesn't update until some gui element is selected, and now a crash
> again. Intel guys, you should check pointers before reading pointers!
> 
> Without an actual test system this is going to be really hard to debug.
> We're obviously doing something the intel driver developers have never
> expected, but we're still using opengl correctly, as far as we know...

Thank you, disabling opengl solved the problem (and now I am getting less brush lag).
Comment 3 Halla Rempt 2017-02-02 16:46:01 UTC
I still wish I could figure out exactly _why_ this crash happens. I'll mail my Intel contact tomorrow.
Comment 4 Halla Rempt 2017-02-02 17:05:55 UTC
Confirming, a crash with backtrace is always confirmed -- even if the crash might not be in krita itself...
Comment 5 7.7meter 2017-02-05 18:06:26 UTC
(In reply to Boudewijn Rempt from comment #3)
> I still wish I could figure out exactly _why_ this crash happens. I'll mail
> my Intel contact tomorrow.

UPDATE: I managed to fix the problem by removing the OEM provided driver and installing the latest from intel.
The wrong version was 10.18.10.3740 (or something like that, I do not know how Fujitsu has tampered with it), the current working version is 10.18.14.4578.
Comment 6 Halla Rempt 2017-02-06 08:33:07 UTC
Ah, thanks for the information! Then we can close as upstream....
Comment 7 Halla Rempt 2017-02-06 08:33:51 UTC
*** Bug 376006 has been marked as a duplicate of this bug. ***