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. Segmentation fault on every project since this morning (windows 10)
Forum Updated to NodeBB v4.3 + New Features

Segmentation fault on every project since this morning (windows 10)

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 922 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    monegator
    wrote on last edited by monegator
    #1

    Hi,
    since this morning i'm having segmentation faults whenever i launch a debug session.
    Earlier today two possibly related events happened: I had the graphics driver fail, right after it restarted the windows update icon appeared and proposed an update to the intel graphics driver (Intel Corporation - Display - 31.0.101.4953)

    After this crash, when i launch a debug session i get a segmentation fault showing a bunch of assembly lines. hitting continue gives another segmentation fault, this time upon calling Release in this function in qwindowsopengltester.cpp

    QDirect3D9Handle::~QDirect3D9Handle()
    {
        if (m_direct3D9)
           m_direct3D9->Release();
    }
    

    if i hit continue, the application starts.

    This happens also if i create a new Qt Widgets application.
    This doesn't happen outside of a debug session.

    Launching a debug session i see the usual stuff i've been seing since i started developing with Qt5

    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\platforms\qwindows.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\styles\qwindowsvistastyle.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qgif.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qgif.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qicns.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qico.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qjpeg.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qsvg.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qtga.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qtiff.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qwbmp.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\imageformats\qwebp.dll.debug
    onecore\windows\directx\dxcore\dll\dxcore.cpp(2552)\dxcore.dll!72A4D0B6: (caller: 6BAEDB77) Exception(1) tid(3b84) 80070057 Parametro non corretto.
    onecore\windows\directx\dxcore\dll\dxcore.cpp(348)\dxcore.dll!72A49C20: (caller: 6BA16E2C) Exception(2) tid(3b84) 887A0004 L'interfaccia o il livello di funzionalità del dispositivo specificato non è supportato nel sistema.
    onecore\windows\directx\database\helperlibrary\lib\directxdatabasehelper.cpp(652)\d3d9.dll!74790811: (caller: 7479045F) ReturnHr(1) tid(3b84) 80004002 Interfaccia non supportata.
    

    I'm running Qt 5.15.2
    MinGW 8.1 32bit
    Windows 10 22H2

    i updated the driver, restarted my PC, but this annoying problem is still there. I wonder if someone else has it/has an explanation/has a fix?

    Edit: I made some tests and it seems the segmentation fault only happens if i start a debug session with a 32bit kit.
    Qt 5.15.2 64bit does not result in segmentation fault. Qt 6.6.1 64bit does not result in segmentation fault.
    Unfortunately i must support 32bit executables

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      31.0.101.4953 is old, try updating to a newer version

      M 1 Reply Last reply
      0
      • S Offline
        S Offline
        SimonSchroeder
        wrote on last edited by
        #3

        Have you tried cleaning your project and recompiling completely fresh? Maybe some old things are still linked in.

        1 Reply Last reply
        0
        • hskoglundH hskoglund

          31.0.101.4953 is old, try updating to a newer version

          M Offline
          M Offline
          monegator
          wrote on last edited by monegator
          #4

          @hskoglund and yet windows update delivered this yesterday
          Will try a newer version and report back

          **apparently i can't, i'm bound to use whatever dell makes available for my laptop

          jsulmJ 1 Reply Last reply
          0
          • M monegator

            @hskoglund and yet windows update delivered this yesterday
            Will try a newer version and report back

            **apparently i can't, i'm bound to use whatever dell makes available for my laptop

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @monegator said in Segmentation fault on every project since this morning (windows 10):

            i'm bound to use whatever dell makes available for my laptop

            You should be able to install Intel drivers from Intel site on Dell machines (was working for me just fine in the past).

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1

            • Login

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