Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. 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

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt crashonecore errorerror 80004002
6 Posts 4 Posters 5.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    OliHauck
    wrote on last edited by
    #1

    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 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!

    image001.png

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      check if ui and ui->lineEdit_4 is a valid pointer - c basics

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      O 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        check if ui and ui->lineEdit_4 is a valid pointer - c basics

        O Offline
        O Offline
        OliHauck
        wrote on last edited by
        #3

        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

        JonBJ 1 Reply Last reply
        0
        • O OliHauck

          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

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @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?

          O 1 Reply Last reply
          0
          • JonBJ JonB

            @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?

            O Offline
            O Offline
            OliHauck
            wrote on last edited by
            #5

            Dear @JonB ,

            I tried MinGW32 and 64, and also Release, to no avail.

            S 1 Reply Last reply
            0
            • O OliHauck

              Dear @JonB ,

              I tried MinGW32 and 64, and also Release, to no avail.

              S Offline
              S Offline
              srinath_ramamoorthy
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved