Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.14.1
-
None
-
Linux Mint Cinnamon
AMD Ryzen 5 2400G
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
compiled with gcc or clang
Description
Debugging a program always fails when pthread_create() is excuted.
The debugged program is stopped with SIGSTOP and the stack trace says: in clone.S in allocatestack.c
This seems to happen since ~ start of 2021.
I first noticed this when debugging a small wxWidgets test application but assumed it was more a problem with wxWidgets. Now i found one of my own command line programs fails with the same error and from the output it printed so far i could find it's in pthread_create() which was not visible from the stack trace for me.
running the compiled program from gdb stand-along works.
1.) my project: https://github.com/Megatokio/Libraries
the Qt project is in LibraryTester/
put a breakpoint in tempmem.test.cpp line 192 to stop before pthread_create()
2.) wxWidget project: https://k1.spdns.de/Develop/Projects/Incubator/wxTest/wxTest/
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-25073 SIGSTOP when debugged program starts QThread
- Closed
-
QTCREATORBUG-25082 GDB debugging repeatedly stops with SIGSTOP making it unusable
- Closed
-
QTCREATORBUG-25227 Crash on debug start (only in terminal)
- Closed