Qt App crashes with: onecore\windows\directx\database\helperlibrary\lib\directxdatabasehelper.cpp(536)\d3d9.dll!00007FFB86C0CC6F: (caller: 00007FFB86B5EE33) ReturnHr(1) tid(4a98) 80004002 No such interface supported
-
Hello,
I have a little App in Qt 5.14.2 , Qt Creator 4.11.1 Community and MinGW 64 builds under Win10 Pro.
It's not a big deal, some widgets, few charts. It runs fine on one machine and crashes on others,
the only difference I'm aware is Win10 1903 (good) vs. 1909 (crash).The compile and link is fine, but then seg fault crash.
The debugger shows this message:
onecore\windows\directx\database\helperlibrary\lib\directxdatabasehelper.cpp(536)\d3d9.dll!00007FFB86C0CC6F: (caller: 00007FFB86B5EE33) ReturnHr(1) tid(4a98) 80004002 No such interface supportedAnd the seg fault happens in a simple QLineEdit->setText, see screen shot line 49.
Any idea whats wrong here ?
ThanX a lot Oliver!
-
check if ui and ui->lineEdit_4 is a valid pointer - c basics
-
Dear @Christian-Ehrlicher ,
of course the pointer is stale here, but what puzzles me is that the code is basically coming from UI compiler, augmented by my own stuff,
but this just runs fine on another machine, can't be just lucky there ?Can you make any sense of the strange onecore error message in debugger ?
ThanX & Best Oli
-
@OliHauck
I would hazard a guess you are in similar situation to https://code.videolan.org/videolan/LibVLCSharp/-/issues/374 for your Win10 version? Or if that is debug/debugger/Visual Studio/x86 only ("This only happens with x86 Debug mode."), somehow related? -
for me too only with debug mode this happens
onecore\windows\directx\database\helperlibrary\lib\directxdatabasehelper.cpp(652)\d3d9.dll!00007FF80BA4BBD5: (caller: 00007FF80BA4B6DC) ReturnHr(1) tid(6c98) 80004002 No such interface supported
onecore\windows\directx\database\helperlibrary\lib\directxdatabasehelper.cpp(652)\d3d9.dll!00007FF80BA4BBD5: (caller: 00007FF80BA4B6DC) ReturnHr(2) tid(6c98) 80004002 No such interface supported