Project

General

Profile

Bug #12371

Access Violation on Windows 10

Added by Caleb Gregory 12 months ago. Updated 10 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
10/19/2018
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4.4
System:
Windows
bitness:
64-bit
hardware architecture:
amd64/x86

Description

  • I'm on my Windows 10 laptop
  • DT 2.4.4
  • Windows version 1803.
  • It's a fairly clean build -- Firefox, Notepad++, Office, and Darktable (and maybe some runtime libraries)
  • Storing my images on a USB thumb drive, connected to my laptop's USB C ports via an adapter

About 30 seconds after launch, I'm getting the following error box:

Per request, I've attached three backtraces. DT quits when I press the OK button.

darktable_bt_02JTQZ.txt (7.57 KB) darktable_bt_02JTQZ.txt Caleb Gregory, 10/19/2018 04:54 AM
darktable_bt_52LTQZ.txt (7.8 KB) darktable_bt_52LTQZ.txt Caleb Gregory, 10/19/2018 04:54 AM
darktable_bt_EMGRQZ.txt (7.47 KB) darktable_bt_EMGRQZ.txt Caleb Gregory, 10/19/2018 04:54 AM
darktable_bt_GW2VQZ.txt (7.53 KB) darktable_bt_GW2VQZ.txt After importing folder from desktop Caleb Gregory, 10/19/2018 05:03 AM
darktable_bt_LMXTQZ.txt (7.47 KB) darktable_bt_LMXTQZ.txt Caleb Gregory, 10/19/2018 05:08 AM
dep.PNG (27.7 KB) dep.PNG Caleb Gregory, 12/10/2018 05:34 PM

History

#1 Updated by Caleb Gregory 12 months ago

Just tried it with the images copied off of my USB onto my desktop. Darktable didn't quit until I imported the folder. (Another log attached). I restarted DT, then waited 30 seconds and got the error. I've attached that log too. They all look exactly the same though, so let me know if you need any more, otherwise I'll just leave it at that.

#3 Updated by Caleb Gregory 12 months ago

From preliminary research it looks like it could be related to a null pointer or something https://blogs.msdn.microsoft.com/jasone/2014/11/12/what-is-an-access-violation/

#4 Updated by Caleb Gregory 12 months ago

I uninstalled DT 2.4.4, and installed 2.4.3, but the problem persisted. However, when I uninstalled that and replaced it with 2.4.2, I no longer get this error.

#5 Updated by Caleb Gregory 10 months ago

Just tried all this again on my laptop. For reference, dt is working fine on my mac mini. I'm actually doubtful that this is caused by a USB drive, because I deleted all the cache files (AppData/dt folder), uninstalled, cleared the registry of any references to darktable, and reinstalled DT 2.4.0. Same issue. All I have to do is open darktable, and wait about a minute, and it crashes. Turns out I didn't wait long enough when installing 2.4.2; I get the error on all versions between 2.4.0 and 2.6.0rc1 inclusive.

I've looked at a bunch of these logs and the address 00007FFB1B3409C0 is always the same (across all versions and all logs). Note that my DEP (Data Execution Prevention) settings are set to the lowest setting. I tried running DT as Admin, and the issue persisted.

this is darktable 2.6.0rc1+dirty reporting an exception:

-------------------

Error occurred on Sunday, December 9, 2018 at 11:48:30.

darktable.exe caused an Access Violation at location 00007FFB1B3409C0 DEP violation at location 00007FFB1B3409C0.

AddrPC           Params
00007FFB1B3409C0 0000000000746E88 00007FFB02000002 000000000858CE10
00007FFB740845A1 00000000007EFAE8 0000000000000001 0000000000771900  GDI32.dll!StretchBlt
00007FFB741334CC 0000000000000000 00000000007EFAB0 0000000000000000  ntdll.dll!RtlUnsubscribeWnfNotificationWaitForCompletion
00007FFB741331A6 0000000000000000 0000000007D6F9E0 0000000000000000  ntdll.dll!RtlUnsubscribeWnfNotificationWaitForCompletion
00007FFB74133040 0000000000780410 0000000000780598 000000007FFE0386  ntdll.dll!RtlUnsubscribeWnfNotificationWaitForCompletion
00007FFB74132D44 0000000000780598 0000000000744830 0000000000000000  ntdll.dll!RtlUnsubscribeWnfNotificationWaitForCompletion
00007FFB7410F5C9 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlReleaseSRWLockExclusive
00007FFB73DE3034 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
00007FFB74161471 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

darktable.exe    2.6.0.0
ntdll.dll       10.0.17134.376
KERNEL32.DLL    10.0.17134.1
KERNELBASE.dll    10.0.17134.441
msvcrt.dll      7.0.17134.1
libglib-2.0-0.dll    2.58.1.0
libintl-8.dll    0.19.8.0
libdarktable.dll
ADVAPI32.dll    10.0.17134.319
ole32.dll       10.0.17134.407
GDI32.dll       10.0.17134.285
sechost.dll     10.0.17134.319
combase.dll     10.0.17134.407
RPCRT4.dll      10.0.17134.407
gdi32full.dll    10.0.17134.345
ucrtbase.dll    10.0.17134.319
msvcp_win.dll    10.0.17134.137
bcryptPrimitives.dll    10.0.17134.1
USER32.dll      10.0.17134.376
win32u.dll      10.0.17134.1
SHELL32.dll     10.0.17134.441
cfgmgr32.dll    10.0.17134.1
libiconv-2.dll    1.15.0.0
shcore.dll      10.0.17134.112
windows.storage.dll    10.0.17134.441
shlwapi.dll     10.0.17134.1
kernel.appcore.dll    10.0.17134.112
profapi.dll     10.0.17134.1
powrprof.dll    10.0.17134.1
libwinpthread-1.dll    1.0.0.0
PSAPI.DLL       10.0.17134.1
FLTLIB.DLL      10.0.17134.1
WS2_32.dll      10.0.17134.1
libgcc_s_seh-1.dll
libstdc++-6.dll
exchndl.dll     0.8.2.0
libcairo-2.dll
libexiv2.dll
libgdk-3-0.dll    3.24.1.0
libgdk_pixbuf-2.0-0.dll    2.38.0.0
IMM32.dll       10.0.17134.1
SETUPAPI.dll    10.0.17134.1
libgobject-2.0-0.dll    2.58.1.0
libgmodule-2.0-0.dll    2.58.1.0
libgphoto2-6.dll
libgphoto2_port-12.dll
libGraphicsMagick-3.dll
libIlmImf-2_3.dll
libjpeg-8.dll
libjson-glib-1.0-0.dll
liblcms2-2.dll
lua53.dll
libpango-1.0-0.dll    1.42.3.0
libpangocairo-1.0-0.dll    1.42.3.0
libpng16-16.dll
libpugixml.dll
libsecret-1-0.dll
libsoup-2.4-1.dll
libtiff-5.dll
libsqlite3-0.dll
zlib1.dll
libpcre-1.dll
mgwhelp.dll     0.8.2.0
VERSION.dll     10.0.17134.1
libexpat-1.dll
MSIMG32.dll     10.0.17134.1
libfontconfig-1.dll
libfreetype-6.dll    2.9.1.0
libpixman-1-0.dll
dwmapi.dll      10.0.17134.1
gdiplus.dll     10.0.17134.441
libcairo-gobject-2.dll
WINMM.dll       10.0.17134.1
libepoxy-0.dll
libffi-6.dll
libexif-12.dll
libltdl-7.dll
libsystre-0.dll
libbz2-1.dll
libIex-2_3.dll
libIlmThread-2_3.dll
libHalf-2_3.dll
libImath-2_3.dll
libthai-0.dll
libpangoft2-1.0-0.dll    1.42.3.0
libpangowin32-1.0-0.dll    1.42.3.0
libgcrypt-20.dll    1.8.4.17417
libpsl-5.dll
liblzma-5.dll    5.2.4.0
libzstd.dll
dbghelp.dll     10.0.17134.1
libharfbuzz-0.dll
winmmbase.dll    10.0.17134.1
libtre-5.dll
libdatrie-1.dll
USP10.dll       10.0.17134.1
libidn2-0.dll
DWrite.dll      10.0.17134.376
libgraphite2.dll
dbgcore.DLL     10.0.17134.1
libgomp-1.dll
libgio-2.0-0.dll    2.58.1.0
libgtk-3-0.dll    3.24.1.0
libopenjp2-7.dll
librsvg-2-2.dll
libxml2-2.dll
libfribidi-0.dll
libunistring-2.dll    0.9.10.0
libgpg-error-0.dll    1.32.0.0
DNSAPI.dll      10.0.17134.441
IPHLPAPI.DLL    10.0.17134.1
NSI.dll         10.0.17134.1
comdlg32.dll    10.0.17134.1
COMCTL32.dll    6.10.17134.441
libatk-1.0-0.dll    2.30.0.0
WINSPOOL.DRV    10.0.17134.319
PROPSYS.dll     7.0.17134.112
OLEAUT32.dll    10.0.17134.48
bcrypt.dll      10.0.17134.112
libcroco-0.6-3.dll
CRYPTSP.dll     10.0.17134.1
rsaenh.dll      10.0.17134.254
CRYPTBASE.dll    10.0.17134.1
uxtheme.dll     10.0.17134.1
clbcatq.dll     2001.12.10941.16384
mswsock.dll     10.0.17134.1
rasadhlp.dll    10.0.17134.1
fwpuclnt.dll    10.0.17134.1
MSCTF.dll       10.0.17134.376
DEVOBJ.dll      10.0.17134.1
WINTRUST.dll    10.0.17134.81
MSASN1.dll      10.0.17134.1
CRYPT32.dll     10.0.17134.1
Wintab32.dll    1.0.5.9
HID.DLL         10.0.17134.1
MPR.dll         10.0.17134.1
WTSAPI32.dll    10.0.17134.1
Wacom_Tablet.dll    6.3.31.4
ISD_Tablet.dll    7.3.4.47
IconCodecService.dll    10.0.17134.1
WindowsCodecs.dll    10.0.17134.345
OpenCL.dll      2.1.1.0
IntelOpenCL64.dll    24.20.100.6287
dxgi.dll        10.0.17134.112
intelocl64.dll    7.6.0.716
task_executor64.dll    7.6.0.716
cpu_device64.dll    7.6.0.716
igdrcl64.dll
igdgmm64.dll    24.20.100.6287
igdfcl64.dll    24.20.100.6287
igc64.dll       24.20.100.6287
IntelOpenCL64.dll    25.20.100.6326
winhttp.dll     10.0.17134.441
libpixbufloader-png.dll
mscms.dll       10.0.17134.1
USERENV.dll     10.0.17134.1
ColorAdapterClient.dll    10.0.17134.1
icm32.dll       10.0.17134.1
TextInputFramework.dll    10.0.17134.376
CoreUIComponents.dll    10.0.17134.376
CoreMessaging.dll    10.0.17134.441
ntmarta.dll     10.0.17134.1
wintypes.dll    10.0.17134.407
Oleacc.dll      7.2.17134.1
libdarkroom.dll
libknight.dll
liblighttable.dll
libmap.dll
libosmgpsmap-1.0-1.dll
libslideshow.dll
libtethering.dll
libcopy.dll
libexr.dll
libj2k.dll
libjpeg.dll
libpdf.dll
libpfm.dll
libpng.dll
libppm.dll
libtiff.dll
libwebp.dll
libwebp-7.dll
libdisk.dll
libemail.dll
libfacebook.dll
libcurl-4.dll
WLDAP32.dll     10.0.17134.1
libbrotlidec.dll
libnghttp2-14.dll
libcrypto-1_1-x64.dll    1.1.1.1
libbrotlicommon.dll
libssl-1_1-x64.dll    1.1.1.1
secur32.dll     10.0.17134.1
SSPICLI.DLL     10.0.17134.376
libflickr.dll
libflickcurl-1.dll
libgallery.dll
liblatex.dll
libpicasa.dll
libashift.dll
libatrous.dll
libbasecurve.dll
libbilat.dll
libbilateral.dll
libbloom.dll
libborders.dll
libcacorrect.dll
libchannelmixer.dll
libclahe.dll
libclipping.dll
libcolisa.dll
libcolorbalance.dll
libcolorchecker.dll
libcolorcontrast.dll
libcolorcorrection.dll
libcolorin.dll
libcolorize.dll
libcolormapping.dll
libcolorout.dll
libcolorreconstruct.dll
libcolortransfer.dll
libcolorzones.dll
libdefringe.dll
libdemosaic.dll
libdenoiseprofile.dll
libdither.dll
libequalizer.dll
libexposure.dll
libfilmic.dll
libfinalscale.dll
libflip.dll
libgamma.dll
libglobaltonemap.dll
libgraduatednd.dll
libgrain.dll
libhazeremoval.dll
libhighlights.dll
libhighpass.dll
libhotpixels.dll
libinvert.dll
liblens.dll
liblensfun.dll
liblevels.dll
libliquify.dll
liblowlight.dll
liblowpass.dll
libmonochrome.dll
libnlmeans.dll
liboverexposed.dll
libprofile_gamma.dll
librawdenoise.dll
librawoverexposed.dll
librawprepare.dll
librelight.dll
libretouch.dll
librotatepixels.dll
libscalepixels.dll
libshadhi.dll
libsharpen.dll
libsoften.dll
libsplittoning.dll
libspots.dll
libtemperature.dll
libtonecurve.dll
libtonemap.dll
libvelvia.dll
libvibrance.dll
libvignette.dll
libwatermark.dll
libzonesystem.dll
libbackgroundjobs.dll
libcamera.dll
libcollect.dll
libcolorlabels.dll
libcolorpicker.dll
libcopy_history.dll
libdarktable_label.dll
libduplicate.dll
libexport.dll
libfilmstrip.dll
libfilter.dll
libgeotagging.dll
libglobal_toolbox.dll
libhinter.dll
libhistogram.dll
libhistory.dll
libimage.dll
libimport.dll
liblighttable_mode.dll
liblive_view.dll
liblocation.dll
libmap_settings.dll
libmasks.dll
libmetadata.dll
libmetadata_view.dll
libmodulegroups.dll
libmodulelist.dll
libmodule_toolbox.dll
libnavigation.dll
libratings.dll
librecentcollect.dll
libselect.dll
libsession.dll
libsnapshots.dll
libstyles.dll
libtagging.dll
libviewswitcher.dll
libview_toolbox.dll

Windows 10.0.17134
DrMingw 0.8.2

#6 Updated by Caleb Gregory 10 months ago

Seems to be different than https://redmine.darktable.org/issues/12211 from the backtrace, but disabling OpenCL by using the Windows run box (Win+R) and typing "darktable.exe --disable-opencl" seemed to be at least a temporary solution. darktable's been open for a few minutes now without crashing. Opening with the run box without disabling opencl resulted in the same crash.

#7 Updated by Peter Budai 10 months ago

What is exactly your DEP setting pls? Can you share a screenshot of Data Execution Prevention dialog box?

#8 Updated by Caleb Gregory 10 months ago

Attached a screenshot of the DEP dialog box.

Also available in: Atom PDF

Go to top