error code launching darktable

That’s tough: if no log file at all, then there is not too much help I can provide.

Juts out of curiosity, is this also generating the above mentioned error code?
"C:\Program Files\darktable\bin\darktable.exe" --help

If error is the same, then it means it’s not even the very minimal console output is working.

same error, yes

@peterbud, same problem.
Is there something new in the development process? A new version of compiler? New libraries that would not already be used elsewhere?
Something different between 2.4.4 and 2.6.0 that could explain that the first works everywhere and not the second one?
These are just ideas, at our level of users it’s impossible to know …

The process is the same. Compiler and the libraries (GTK, sqlite. libgphoto2 etc. ) are having new versions obviously.
The problem is that as you see 2.6 works on many machines/confgurations, but on some not - and one cannot even locate the issue as not even logging is possible on those machines.

pc
Amd phenom 8450e triple core 2.1 ghz
nvidia geforce 8400 GS
NOT WORKING

Laptop
Intel core I5 8250U
intel UHD graphics
works

In the same way :
PC
core i5 750 12 GB ram
AMD Radeon 7770
Not working

Laptop
core i5 7200U 4GB ram
Intel HD620
Works

OpenCL actived on both. OpenCL disactived give the same result.

@peterbud,
That’s all I could find in the observatory of events:

Hoping that we help

After I have uninstalled the drivers and found no remaining traces, I have removed my Nvidia card from the motherboard. darktable still doesn’t start.

Process Monitor reports some errors, I can provide the log files (pml, csv or xml).

1 Like

@peterbud, there is the same error with 2.6.0 RC2, but logically a different offset.

event%20dt-3

Hi,
Heres a more detailed log crash dump. Hope it helps.
This is for Darktable 2.6rc2

Microsoft (R) Windows Debugger Version 10.0.17763.132 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\Users\user\AppData\Local\CrashDumps\darktable.exe.10804.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: srv*
Executable search path is:
Windows 10 Version 17134 MP (4 procs) Free x64
Product: WinNt, suite: SingleUserTS Personal
17134.1.amd64fre.rs4_release.180410-1804
Machine Name:
Debug session time: Sun Dec 16 12:54:17.000 2018 (UTC + 0:00)
System Uptime: not available
Process Uptime: 0 days 0:00:01.000


This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(2a34.1aac): Illegal instruction - code c000001d (first/second chance not available)
ntdll!NtWaitForMultipleObjects+0x14:
00007ffd`8c46b4f4 c3 ret

************* Path validation summary **************
Response Time (ms) Location
Deferred SRVC:\SymCacheSymbol information
0:000>
0:000> .ecxr
*** WARNING: Unable to verify timestamp for libdarktable.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for libdarktable.dll -
rax=000000006386e18e rbx=00000000637fb348 rcx=00000000638a2ba0
rdx=00000000638a2baa rsi=00000000637fb310 rdi=000000000061fb00
rip=00000000637fa877 rsp=000000000061f1a0 rbp=00000000637fed74
r8=000000006386ed8e r9=0000000000000000 r10=0000000000000000
r11=00000000638a2ba0 r12=0000000000000001 r13=0000000000000000
r14=00000000635c0000 r15=000000000061fb00
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+0x16a7:
00000000`637fa877 c4412d76d2 vpcmpeqd ymm10,ymm10,ymm10
0:000> !analyze -show D1
Error code: 0xd1 - The signal being posted is not correct.


  •                                                                         *
    
  •                    Exception Analysis                                   *
    
  •                                                                         *
    

Use !analyze -v to get detailed debugging information.

Probably caused by : libdarktable.dll ( libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+16a7 )

Followup: MachineOwner

0:000> !analyze -v


  •                                                                         *
    
  •                    Exception Analysis                                   *
    
  •                                                                         *
    

KEY_VALUES_STRING: 1

STACKHASH_ANALYSIS: 1

TIMELINE_ANALYSIS: 1

Timeline: !analyze.Start
Name:
Time: 2018-12-16T15:01:17.214Z
Diff: 7620214 mSec

Timeline: Dump.Current
Name:
Time: 2018-12-16T12:54:17.0Z
Diff: 0 mSec

Timeline: Process.Start
Name:
Time: 2018-12-16T12:54:16.0Z
Diff: 1000 mSec

DUMP_CLASS: 2

DUMP_QUALIFIER: 400

CONTEXT: (.ecxr)
rax=000000006386e18e rbx=00000000637fb348 rcx=00000000638a2ba0
rdx=00000000638a2baa rsi=00000000637fb310 rdi=000000000061fb00
rip=00000000637fa877 rsp=000000000061f1a0 rbp=00000000637fed74
r8=000000006386ed8e r9=0000000000000000 r10=0000000000000000
r11=00000000638a2ba0 r12=0000000000000001 r13=0000000000000000
r14=00000000635c0000 r15=000000000061fb00
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+0x16a7:
00000000`637fa877 c4412d76d2 vpcmpeqd ymm10,ymm10,ymm10
Resetting default scope

FAULTING_IP:
libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+16a7
00000000`637fa877 c4412d76d2 vpcmpeqd ymm10,ymm10,ymm10

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00000000637fa877 (libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+0x00000000000016a7)
ExceptionCode: c000001d (Illegal instruction)
ExceptionFlags: 00000000
NumberParameters: 0

DEFAULT_BUCKET_ID: ILLEGAL_INSTRUCTION

ERROR_CODE: (NTSTATUS) 0xc000001d - {EXCEPTION} Illegal Instruction An attempt was made to execute an illegal instruction.

EXCEPTION_CODE: (NTSTATUS) 0xc000001d - {EXCEPTION} Illegal Instruction An attempt was made to execute an illegal instruction.

EXCEPTION_CODE_STR: c000001d

WATSON_BKT_PROCSTAMP: 0

WATSON_BKT_PROCVER: 2.6.0.0

PROCESS_VER_PRODUCT: darktable

WATSON_BKT_MODULE: libdarktable.dll

WATSON_BKT_MODSTAMP: 0

WATSON_BKT_MODOFFSET: 23a877

BUILD_VERSION_STRING: 17134.1.amd64fre.rs4_release.180410-1804

MODLIST_WITH_TSCHKSUM_HASH: 7e896c446f3534c5b4674e50f09b17c53cdc01d3

MODLIST_SHA1_HASH: 5eb1cc53d9ee1a6f717f164f66b93fdcb4bb1d86

NTGLOBALFLAG: 0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS: 0

DUMP_FLAGS: 94

DUMP_TYPE: 1

PROCESS_NAME: unknown

ANALYSIS_SESSION_HOST: PC

ANALYSIS_SESSION_TIME: 12-16-2018 15:01:17.0214

ANALYSIS_VERSION: 10.0.17763.132 amd64fre

THREAD_ATTRIBUTES:
OS_LOCALE: ENG

BUGCHECK_STR: ILLEGAL_INSTRUCTION

PRIMARY_PROBLEM_CLASS: ILLEGAL_INSTRUCTION

PROBLEM_CLASSES:

ID:     [0n321]
Type:   [@APPLICATION_FAULT_STRING]
Class:  Primary
Scope:  DEFAULT_BUCKET_ID (Failure Bucket ID prefix)
        BUCKET_ID
Name:   Omit
Data:   Add
        String: [ILLEGAL_INSTRUCTION]
PID:    [Unspecified]
TID:    [Unspecified]
Frame:  [0]

LAST_CONTROL_TRANSFER: from 00000000637a9d92 to 00000000637fa877

STACK_TEXT:
000000000061f1a0 00000000637a9d92 : 00000000635c0000 0000000000000001 00000000635c0000 000000000061fb00 : libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+0x16a7
000000000061f310 00000000635c12a1 : 0000000068ec1301 00007ffd8c40b583 0000000000000000 0000000000000001 : libdarktable!ZN8rawspeed15CrwDecompressorC2ERKNS_8RawImageEjbNS_10ByteStreamE+0x3322
000000000061f350 00007ffd8c40b583 : 0000000000000001 00000000006e4b10 0000000000000000 0000000000000001 : libdarktable+0x12a1
000000000061f3a0 00007ffd8c424f4f : 00000000006e4b10 00000000635c0000 0000000000000001 00000000637a9fd0 : ntdll!LdrpCallInitRoutine+0x6b
000000000061f410 00007ffd8c424d8b : 00000000006e4c40 00000000006e4c00 000000000061f501 00007ffd8adc30a3 : ntdll!LdrpInitializeNode+0x167
000000000061f540 00007ffd8c424db1 : 0000000000000000 00000000006e2820 000000000061f5c0 0000000000000010 : ntdll!LdrpInitializeGraphRecurse+0x73
000000000061f580 00007ffd8c49fca2 : 0000000000000000 0000000000000010 000000000061f616 00007ffd8c4f40f0 : ntdll!LdrpInitializeGraphRecurse+0x99
000000000061f5c0 00007ffd8c48fa45 : 0000000000000001 0000000000000000 0000000000000000 0000000000000001 : ntdll!LdrpInitializeProcess+0x1ef2
000000000061f9e0 00007ffd8c444feb : 000000000061fb00 0000000000000000 0000000000000000 0000000000300000 : ntdll!_LdrpInitialize+0x4aa45
000000000061fa80 00007ffd8c444f9e : 000000000061fb00 0000000000000000 0000000000000000 0000000000000000 : ntdll!LdrpInitialize+0x3b
000000000061fab0 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!LdrInitializeThunk+0xe

FAILED_INSTRUCTION_ADDRESS:
libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+16a7
00000000`637fa877 c4412d76d2 vpcmpeqd ymm10,ymm10,ymm10

THREAD_SHA1_HASH_MOD_FUNC: ad9a8075bb2a354c225063efae619e031ddbdd13

THREAD_SHA1_HASH_MOD_FUNC_OFFSET: b7be5549b1997a0b612a191a6832ebdc0f7e1db7

THREAD_SHA1_HASH_MOD: 90138e5c333bfe41529eec7c9a92751e54344cf7

FOLLOWUP_IP:
libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+16a7
00000000`637fa877 c4412d76d2 vpcmpeqd ymm10,ymm10,ymm10

FAULT_INSTR_CODE: 762d41c4

SYMBOL_STACK_INDEX: 0

SYMBOL_NAME: libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+16a7

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: libdarktable

IMAGE_NAME: libdarktable.dll

DEBUG_FLR_IMAGE_TIMESTAMP: 0

STACK_COMMAND: dt ntdll!LdrpLastDllInitializer BaseDllName ; dt ntdll!LdrpFailureData ; ~0s ; .ecxr ; kb

BUCKET_ID: ILLEGAL_INSTRUCTION_BAD_IP_libdarktable!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev+16a7

FAILURE_EXCEPTION_CODE: c000001d

FAILURE_IMAGE_NAME: libdarktable.dll

BUCKET_ID_IMAGE_STR: libdarktable.dll

FAILURE_MODULE_NAME: libdarktable

BUCKET_ID_MODULE_STR: libdarktable

FAILURE_FUNCTION_NAME: ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev

BUCKET_ID_FUNCTION_STR: ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev

BUCKET_ID_OFFSET: 16a7

BUCKET_ID_MODTIMEDATESTAMP: 0

BUCKET_ID_MODCHECKSUM: 42c7a0

BUCKET_ID_MODVER_STR: 0.0.0.0

BUCKET_ID_PREFIX_STR: ILLEGAL_INSTRUCTION_BAD_IP_

FAILURE_PROBLEM_CLASS: ILLEGAL_INSTRUCTION

FAILURE_SYMBOL_NAME: libdarktable.dll!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev

FAILURE_BUCKET_ID: ILLEGAL_INSTRUCTION_c000001d_libdarktable.dll!ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PyS9_EN11_Save_errnoD1Ev

TARGET_TIME: 2018-12-16T12:54:17.000Z

OSBUILD: 17134

OSSERVICEPACK: 1

SERVICEPACK_NUMBER: 0

OS_REVISION: 0

SUITE_MASK: 768

PRODUCT_TYPE: 1

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

OSEDITION: Windows 10 WinNt SingleUserTS Personal

USER_LCID: 0

OSBUILD_TIMESTAMP: 2020-08-28 05:38:41

BUILDDATESTAMP_STR: 180410-1804

BUILDLAB_STR: rs4_release

BUILDOSVER_STR: 10.0.17134.1.amd64fre.rs4_release.180410-1804

ANALYSIS_SESSION_ELAPSED_TIME: 3f7

ANALYSIS_SOURCE: UM

FAILURE_ID_HASH_STRING: um:illegal_instruction_c000001d_libdarktable.dll!zzn9__gnu_cxx6__stoailicjieeet0_pft_pkt1_pps3_dpt2_epkcs5_pys9_en11_save_errnod1ev

FAILURE_ID_HASH: {3ab7f271-0539-1d73-bfb7-6a6a459e39d6}

Followup: MachineOwner

Could this be caused by the compilation options used? An instruction that is maybe not available on your CPU? We need to find something like this as the Windows build does works for many people.

Oh, and sorry can’t help more as I’m not a Windows user.

This is now a major headache… Most likely a compiler issue, but not really sure. I’ll try to make a few test builds with earlier compiler versions and/or different compiler settings. @Pascal_Obry , I’ll send you a mail when those are ready, and you can test in your VM, where currently you also see these crashes - for me all builds are working without such error on:

  • my build machine (NVidia GTX 970 GPU)
  • my work laptop (Intel HD Graphics 520 integrated GPU)
  • Windows 7 VM (Hyper-V)

@peterbud: perfect! I’l be glad testing. I’ll also double check that dt 2.4 Windows works on my VM.

@peterbud i know is dumb, but maybe helps, i tried to replace each dll file from 2.4, i get that error till i replace this libdarktable.dll, and here i get another kind of error :slight_smile:

1 Like

@perterbud: I have an interesting report that may help, it works and crash for a user on similar machines (version same Windows, same anti-virus…) but one has a CPU Intel Core I5 7200U (works) and the other Intel Core I5 750 (crash). The difference is first supports Intel® SSE4.1, Intel® SSE4.2, Intel® AVX2 and the other only Intel® SSE4.2. So we must be sure that the compiler is not generating AVX instructions.

Which is expected as the crash is in there :slight_smile: And having DLL from different version of darktable may raise lot more issues anyway.

yes is crushing, but is dt crash not windows crash :wink:

My rather old i5-3570 (crash) supports MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AES, AVX.

I’ve just tried to install dt on Intel Core I5 760, it crashes as well.

So we are probably on something. Some instructions set not supported.