Crash with custom keyboard layout on Windows 10
Steps to reproduce
- Open darktable with custom keymap in use.
Alternatively:
- Open darktable with standard keymap in use.
- Switch to custom keymap.
Version information
- gtk 4.10.3-1
- darktable 4.2.1
Warnings
None, app simply closes.
Backtrace
this is darktable 4.2.1 reporting an exception:
Error occurred on Saturday, May 6, 2023 at 17:24:17.
darktable.exe caused an Access Violation at location 00007FF9FBA31F4A in module libgdk-3-0.dll Reading from location 0000000041BF12B0.
AddrPC Params
00007FF9FBA31F4A 000002410DA2BED8 000002410DA2BED0 0000000000000948 libgdk-3-0.dll!gdk_win32_keymap_get_type+0x6ba
00007FF9FBA300EB 0000000000000000 00007FFA0D709E32 0000024100000000 libgdk-3-0.dll!gdk_win32_display_get_wgl_version+0x6db
00007FFA31369BB1 000002410DB04100 0000000000000000 000002410BCB7AE0 libgobject-2.0-0.dll!g_type_create_instance+0x171
00007FFA3134CE8F 00007FFA3138CB90 00007FFA3138CB80 000002410BCB7AE0 libgobject-2.0-0.dll!g_object_unref+0x92f
00007FFA3134E5C5 00007FF9FBA9FCE0 00007FF9FBA318D3 0000000000000000 libgobject-2.0-0.dll!g_object_new_with_properties+0x2d5
00007FFA3134F05B 00007FF900000000 00007FF9FBAA2630 00007FFA0D7E8790 libgobject-2.0-0.dll!g_object_new+0x3b
00007FF9FBA319E3 000002410DB04640 000002410BCB87A0 0000000000000000 libgdk-3-0.dll!gdk_win32_keymap_get_type+0x153
00007FF9FBA3236B 0000000000000000 0000000000000000 0000000000000000 libgdk-3-0.dll!gdk_win32_keymap_get_type+0xadb
00007FFA31367CD8 000002410DA3ACA0 0000000000000001 00007FF9FBA5B1FF libgobject-2.0-0.dll!g_type_class_ref+0x4b8
00007FFA3134E608 0000000000000000 00007FF9FBA21773 00007FF9FBA5B1C2 libgobject-2.0-0.dll!g_object_new_with_properties+0x318
00007FFA3134F05B 0000000000000000 0000000000000002 00007FFA0D7E8790 libgobject-2.0-0.dll!g_object_new+0x3b
00007FF9FBA2182B 000000811EBFF6E8 00007FFA4803F05B 000002410DAF8900 libgdk-3-0.dll!gdk_win32_display_get_type+0xfb
00007FF9FB9EDC41 00007FF9F832B0C0 00007FF9F7E9DD2B 00007FF9F822603D libgdk-3-0.dll!gdk_display_manager_open_display+0x141
00007FF9EA6BA870 000000811EBFF670 000002410BC24530 0000000000000004 libgtk-3-0.dll!gtk_init+0x70
00007FF9F7DD5E44 00007FFA00000001 000002410BA59A50 0000024100000001 libdarktable.dll!dt_init+0x13e4 [C:/msys64/home/bill/src/darktable-4.2.1/src/common/darktable.c @ 1012]
00007FF732072DC4 00007FFA48121270 00007FF732071660 0000024100000002 darktable.exe!main+0x294 [C:/msys64/home/bill/src/darktable-4.2.1/src/main.c @ 93]
00007FF7320715B4 000000000000005A 00007FF732077090 00007FF732077058 darktable.exe!wmain+0x64 [C:/msys64/home/bill/src/darktable-4.2.1/src/win/main_wrapper.h @ 15]
00007FF7320713DA 0000000000000000 0000000000000000 0000000000000000 darktable.exe!__tmainCRTStartup+0x25a [C:/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 326]
00007FF732071506 0000000000000000 0000000000000000 0000000000000000 darktable.exe!mainCRTStartup+0x16 [C:/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 206]
00007FFA499D7604 0000000000000000 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk+0x14
00007FFA4A4026A1 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart+0x21
00007FF732070000-00007FF73208F000 darktable.exe 4.2.1.0
00007FFA4A3B0000-00007FFA4A5A8000 ntdll.dll 10.0.19041.2788
00007FFA499C0000-00007FFA49A7F000 KERNEL32.DLL 10.0.19041.2788
00007FFA48130000-00007FFA4840A000 KERNELBASE.dll 10.0.19041.2788
00007FFA48030000-00007FFA48130000 ucrtbase.dll 10.0.19041.789
00007FFA3EFE0000-00007FFA3F005000 libintl-8.dll 0.21.0.0
00007FFA49BA0000-00007FFA49C4E000 ADVAPI32.dll 10.0.19041.2130
00007FFA4A2D0000-00007FFA4A36E000 msvcrt.dll 7.0.19041.546
00007FFA49C50000-00007FFA49CEC000 sechost.dll 10.0.19041.2846
00007FFA490B0000-00007FFA491D6000 RPCRT4.dll 10.0.19041.2846
00007FFA0D6B0000-00007FFA0D800000 libglib-2.0-0.dll 2.74.0.0
00007FFA48F10000-00007FFA4903A000 ole32.dll 10.0.19041.1202
00007FFA491E0000-00007FFA49534000 combase.dll 10.0.19041.2788
00007FFA49DA0000-00007FFA49DCB000 GDI32.dll 10.0.19041.2130
00007FFA47AC0000-00007FFA47AE2000 win32u.dll 10.0.19041.2846
00007FFA47C70000-00007FFA47D80000 gdi32full.dll 10.0.19041.2788
00007FFA47BD0000-00007FFA47C6D000 msvcp_win.dll 10.0.19041.789
00007FFA48D40000-00007FFA48EDD000 USER32.dll 10.0.19041.2788
00007FFA48410000-00007FFA48B54000 SHELL32.dll 10.0.19041.2788
00007FFA49040000-00007FFA490AB000 WS2_32.dll 10.0.19041.546
00007FFA30AE0000-00007FFA30BF8000 libiconv-2.dll 1.17.0.0
00007FFA30410000-00007FFA30477000 libpcre2-8-0.dll
00007FF9F7D90000-00007FF9F83D4000 libdarktable.dll
00007FFA3D770000-00007FFA3D79F000 libavif.dll
00007FFA0CC70000-00007FFA0CD8C000 libcairo-2.dll
00007FFA2F180000-00007FFA2F236000 libcurl-4.dll 7.86.0.0
00007FFA48000000-00007FFA48027000 bcrypt.dll 10.0.19041.2486
00007FFA47DF0000-00007FFA47F46000 CRYPT32.dll 10.0.19041.2486
00007FFA49E30000-00007FFA49E86000 WLDAP32.dll 10.0.19041.2006
00007FFA31AA0000-00007FFA31AEA000 exchndl.dll 0.9.8.0
00007FFA3ACD0000-00007FFA3ACF2000 libgcc_s_seh-1.dll
00007FF9F87D0000-00007FF9F8AE3000 libexiv2.dll
00007FFA49E90000-00007FFA49E98000 PSAPI.DLL 10.0.19041.546
00007FFA3AC10000-00007FFA3AC40000 libgdk_pixbuf-2.0-0.dll 2.42.10.0
00007FF9FB9E0000-00007FF9FBB1E000 libgdk-3-0.dll 3.24.34.0
00007FFA48EE0000-00007FFA48F10000 IMM32.dll 10.0.19041.2673
00007FFA49540000-00007FFA499A8000 SETUPAPI.dll 10.0.19041.2193
00007FFA47B80000-00007FFA47BCE000 cfgmgr32.dll 10.0.19041.1620
00007FFA429E0000-00007FFA429EF000 libgmodule-2.0-0.dll 2.74.0.0
00007FF9FAE40000-00007FF9FAFE9000 libgio-2.0-0.dll 2.74.0.0
00007FFA49F20000-00007FFA49F75000 SHLWAPI.dll 10.0.19041.2075
00007FFA31340000-00007FFA31398000 libgobject-2.0-0.dll 2.74.0.0
00007FFA31980000-00007FFA319C8000 libgomp-1.dll
00007FFA2FBD0000-00007FFA2FC5F000 libgphoto2-6.dll
00007FFA3F030000-00007FFA3F048000 libgphoto2_port-12.dll
00007FF9FB680000-00007FF9FB7B9000 libGraphicsMagick-3.dll
00007FFA24900000-00007FFA249A2000 libheif.dll
00007FF9EA560000-00007FF9EAC7A000 libgtk-3-0.dll 3.24.34.0
00007FFA48B60000-00007FFA48C3A000 comdlg32.dll 10.0.19041.1806
00007FFA49CF0000-00007FFA49D9D000 shcore.dll 10.0.19041.1865
00007FF9F8610000-00007FF9F87D0000 libicuuc72.dll
00007FFA2F400000-00007FFA2F45A000 libImath-3_1.dll
00007FFA0F4E0000-00007FFA0F591000 libjpeg-8.dll
00007FFA388F0000-00007FFA3891C000 libjson-glib-1.0-0.dll
00007FF9F6C90000-00007FF9F6F57000 libicuin72.dll
00007FF9F5B30000-00007FF9F5E62000 libjxl.dll
00007FFA426E0000-00007FFA426EE000 libjxl_threads.dll
00007FFA21990000-00007FFA219FC000 liblcms2-2.dll
00007FFA31420000-00007FFA3146B000 lua54.dll
00007FFA1E9B0000-00007FFA1EA26000 libopenjp2-7.dll
00007FF9F4700000-00007FF9F49F2000 libOpenEXR-3_1.dll
00007FFA1C0C0000-00007FFA1C122000 libpango-1.0-0.dll 1.50.11.0
00007FFA3D5A0000-00007FFA3D5B8000 libpangocairo-1.0-0.dll 1.50.11.0
00007FFA30530000-00007FFA30571000 libpng16-16.dll
00007FFA3AF80000-00007FFA3AF97000 libwinpthread-1.dll 1.0.0.0
00007FFA2E990000-00007FFA2E9D3000 libpugixml.dll 1.12.0.0
00007FF9E8BB0000-00007FF9E94A4000 librsvg-2-2.dll
00007FFA20B80000-00007FFA20BD9000 libsecret-1-0.dll
00007FFA0D1D0000-00007FFA0D265000 libsoup-2.4-1.dll
00007FF9F8EC0000-00007FF9F9031000 libsqlite3-0.dll
00007FFA0CBE0000-00007FFA0CC6A000 libtiff-5.dll
00007FF9FA150000-00007FF9FA21C000 libwebp-7.dll
00007FF9F7B90000-00007FF9F7D83000 libstdc++-6.dll
00007FFA39DB0000-00007FFA39DC4000 libwebpmux-3.dll
00007FFA326F0000-00007FFA3270F000 zlib1.dll
00007FF9F6B40000-00007FF9F6C81000 libxml2-2.dll
00007FF9E82B0000-00007FF9E8BA9000 libaom.dll
00007FF9F61F0000-00007FF9F63DA000 libdav1d.dll 6.6.0.0
00007FF9EC8E0000-00007FF9ECC7E000 rav1e.dll
00007FF9E78D0000-00007FF9E82AD000 libSvtAv1Enc.dll
00007FFA2BD40000-00007FFA2BD47000 MSIMG32.dll 10.0.19041.1466
00007FFA1F180000-00007FFA1F1D3000 libfontconfig-1.dll
00007FF9F9290000-00007FF9F9389000 libyuv.dll
00007FF9FCAC0000-00007FF9FCB6D000 libpixman-1-0.dll
00007FF9F5A70000-00007FF9F5B2E000 libfreetype-6.dll 2.12.1.0
00007FFA32640000-00007FFA32656000 libbrotlidec.dll
00007FFA2D580000-00007FFA2D5C1000 libidn2-0.dll
00007FF9EA2B0000-00007FF9EA557000 libcrypto-1_1-x64.dll 1.1.1.17
00007FFA318D0000-00007FFA31906000 libnghttp2.dll 1.50.0.0
00007FFA32620000-00007FFA3263F000 libpsl-5.dll
00007FFA21730000-00007FFA21778000 libssh2-1.dll
00007FF9FADB0000-00007FF9FAE3A000 libssl-1_1-x64.dll 1.1.1.17
00007FFA3FC70000-00007FFA3FC7A000 VERSION.dll 10.0.19041.546
00007FF9F4630000-00007FF9F46FC000 libzstd.dll
00007FFA2EFC0000-00007FFA2F165000 gdiplus.dll 10.0.19041.2251
00007FFA45690000-00007FFA456BF000 dwmapi.dll 10.0.19041.746
00007FFA462E0000-00007FFA462ED000 HID.DLL 10.0.19041.546
00007FF9F4570000-00007FF9F462A000 mgwhelp.dll 0.9.8.0
00007FFA3D040000-00007FFA3D067000 WINMM.dll 10.0.19041.546
00007FFA30940000-00007FFA30974000 libexpat-1.dll
00007FFA31F40000-00007FFA31F51000 libcairo-gobject-2.dll
00007FF9EA100000-00007FF9EA2AF000 libepoxy-0.dll
00007FFA46E90000-00007FFA46F5B000 DNSAPI.dll 10.0.19041.2546
00007FFA46E50000-00007FFA46E8C000 IPHLPAPI.DLL 10.0.19041.2788
00007FFA31880000-00007FFA318AC000 libfribidi-0.dll
00007FFA315A0000-00007FFA315BD000 libpangowin32-1.0-0.dll 1.50.11.0
00007FFA30AB0000-00007FFA30AC1000 libffi-8.dll
00007FFA20AF0000-00007FFA20B3A000 libexif-12.dll
00007FFA304A0000-00007FFA304B8000 libltdl-7.dll
00007FFA426B0000-00007FFA426BD000 libsystre-0.dll
00007FFA2FDF0000-00007FFA2FE0A000 libbz2-1.dll
00007FFA32380000-00007FFA3261A000 COMCTL32.dll 6.10.19041.1110
00007FFA33200000-00007FFA33298000 WINSPOOL.DRV 10.0.19041.2788
00007FF9F44B0000-00007FF9F456C000 libde265-0.dll
00007FF9E6570000-00007FF9E78C2000 libx265.dll 3.4.0.31
00007FFA2BD10000-00007FFA2BD3D000 libatk-1.0-0.dll 2.38.0.0
00007FF9E9FE0000-00007FF9EA0F5000 libharfbuzz-0.dll
00007FF9E0D30000-00007FF9E2B0B000 libicudt72.dll
00007FFA2FD00000-00007FFA2FD18000 libhwy.dll
00007FF9F9880000-00007FF9F9926000 libbrotlienc.dll
00007FFA41240000-00007FFA4124E000 libIlmThread-3_1.dll
00007FFA1A110000-00007FFA1A171000 libIex-3_1.dll
00007FFA479C0000-00007FFA479EE000 USERENV.dll 10.0.19041.572
00007FFA24790000-00007FFA247A7000 libthai-0.dll
00007FFA21610000-00007FFA2162C000 libpangoft2-1.0-0.dll 1.50.11.0
00007FF9E9E90000-00007FF9E9FD3000 libgcrypt-20.dll 1.10.1.0
00007FFA1F3A0000-00007FFA1F3BB000 libdeflate.dll
00007FFA1E990000-00007FFA1E9A7000 libjbig-0.dll
00007FF9E64A0000-00007FF9E6561000 libLerc.dll
00007FFA1B4B0000-00007FFA1B4DD000 liblzma-5.dll 5.2.7.0
00007FFA16090000-00007FFA160BD000 libbrotlicommon.dll
00007FFA41BE0000-00007FFA41DC4000 dbghelp.dll 10.0.19041.867
00007FF9E62C0000-00007FF9E649F000 libunistring-2.dll 1.0.0.0
00007FFA3A630000-00007FFA3A649000 USP10.dll 10.0.19041.546
00007FFA1C0A0000-00007FFA1C0BE000 libtre-5.dll
00007FFA0F730000-00007FFA0F75D000 libgraphite2.dll
00007FFA472D0000-00007FFA472DC000 CRYPTBASE.DLL 10.0.19041.546
00007FFA3F8B0000-00007FFA3F8E4000 dbgcore.DLL 10.0.19041.2788
00007FFA3F300000-00007FFA3F310000 libdatrie-1.dll
00007FFA0F4A0000-00007FFA0F4DA000 libgpg-error-0.dll 1.46.0.0
00007FFA47AF0000-00007FFA47B72000 bcryptPrimitives.dll 10.0.19041.2486
00007FFA499B0000-00007FFA499B8000 NSI.dll 10.0.19041.610
00007FFA462F0000-00007FFA46302000 kernel.appcore.dll 10.0.19041.546
00007FFA45B30000-00007FFA462C3000 windows.storage.dll 10.0.19041.2788
00007FFA473D0000-00007FFA473FE000 Wldp.dll 10.0.19041.2788
00007FFA47140000-00007FFA471AA000 mswsock.dll 10.0.19041.546
00007FFA42F80000-00007FFA4308A000 winhttp.dll 10.0.19041.2673
0000000050DF0000-0000000050E15000 KbdEdit106.dll 22.11.0.0
00007FFA33C20000-00007FFA33CCC000 TextShaping.dll
00007FFA453A0000-00007FFA4543E000 uxtheme.dll 10.0.19041.2193
00007FFA49A80000-00007FFA49B94000 MSCTF.dll 10.0.19041.2673
00007FFA48C70000-00007FFA48D3D000 OLEAUT32.dll 10.0.19041.985
00007FFA39350000-00007FFA39449000 textinputframework.dll 10.0.19041.2546
00007FFA45090000-00007FFA45182000 CoreMessaging.dll 10.0.19041.2193
00007FFA44C30000-00007FFA44F8E000 CoreUIComponents.dll 10.0.19041.546
00007FFA438D0000-00007FFA43A24000 wintypes.dll 10.0.19041.2788
00007FFA46BA0000-00007FFA46BD3000 ntmarta.dll 10.0.19041.546
00007FFA4A220000-00007FFA4A2C9000 clbcatq.dll 2001.12.10941.16384
00007FFA42810000-00007FFA42906000 propsys.dll 7.0.19041.1741
00007FFA47A00000-00007FFA47A1F000 profapi.dll 10.0.19041.844
00007FFA451C0000-00007FFA45250000 apphelp.dll 10.0.19041.2546
00007FFA40FA0000-00007FFA40FBD000 MPR.dll 10.0.19041.1806
00007FFA40F60000-00007FFA40F89000 p9np.dll 10.0.19041.2311
00007FFA40F40000-00007FFA40F4B000 drprov.dll 10.0.19041.546
00007FFA472E0000-00007FFA47344000 WINSTA.dll 10.0.19041.2075
00007FFA40F20000-00007FFA40F3F000 ntlanman.dll 10.0.19041.2604
00007FFA40ED0000-00007FFA40EEE000 davclnt.dll 10.0.19041.546
00007FFA40EC0000-00007FFA40ECD000 DAVHLPR.dll 10.0.19041.546
00007FFA3C9D0000-00007FFA3CAC4000 mrmcorer.dll 10.0.19041.1566
00007FFA3CBB0000-00007FFA3CE61000 iertutil.dll 11.0.19041.2788
00007FFA3E990000-00007FFA3E9A1000 windows.staterepositorycore.dll 10.0.19041.2673
00007FFA392C0000-00007FFA392ED000 bcp47mrm.dll 10.0.19041.1503
Windows 10.0.19041.2788
DrMingw 0.9.8
Notes
I have the standard Japanese keyboard layout installed, and a custom one built with KbdEdit. I can supply the custom one if required.
Edited by Andre Klapper