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. pthread_spin_lock() segmentation error in Qt5Widgetsd.dll
Forum Updated to NodeBB v4.3 + New Features

pthread_spin_lock() segmentation error in Qt5Widgetsd.dll

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 248 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.
  • R Offline
    R Offline
    Rapidrain
    wrote on last edited by
    #1

    I've been working on a hobby project for years using Windows, MinGW, Eclipse and the Qt 5.12 libraries.
    Coming back to the project after a year I find that running the simplest QApplication with a QMainWindow will not run with a GDB debugger. Has Win10 changed?

    Using g++ I find that it runs fine with the -g removed, the -DQT_QML_DEBUG removed and the four libraries (libQt5Widgetsd.a, libQt5Guid.a, etc.) changed to their names without (!) the 'd' at the end (libQt5Widgets.a, libQt5Gui.a, etc.) .

    Otherwise, with -g and the other flags and files, the error msg I receive is :
    Thread 1 received signal SIGSEGV, Segmentation fault.
    0x000000000d6116d0 in pthread_spin_lock () from
    D:\Projects21\AnalogClock\bin\Debug\Qt5Cored.dll

    I'd appreciate any help.

    jsulmJ 1 Reply Last reply
    0
    • R Rapidrain

      I've been working on a hobby project for years using Windows, MinGW, Eclipse and the Qt 5.12 libraries.
      Coming back to the project after a year I find that running the simplest QApplication with a QMainWindow will not run with a GDB debugger. Has Win10 changed?

      Using g++ I find that it runs fine with the -g removed, the -DQT_QML_DEBUG removed and the four libraries (libQt5Widgetsd.a, libQt5Guid.a, etc.) changed to their names without (!) the 'd' at the end (libQt5Widgets.a, libQt5Gui.a, etc.) .

      Otherwise, with -g and the other flags and files, the error msg I receive is :
      Thread 1 received signal SIGSEGV, Segmentation fault.
      0x000000000d6116d0 in pthread_spin_lock () from
      D:\Projects21\AnalogClock\bin\Debug\Qt5Cored.dll

      I'd appreciate any help.

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

      @Rapidrain Did you try with a more recent Qt and MinGW versions?

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

      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