Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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
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 supported
And 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
JonB last edited by JonB
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?
Dear @JonB ,
I tried MinGW32 and 64, and also Release, to no avail.