Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.14.0
-
None
-
Ubuntu Mate 20.04 LTS, Qt 5.14.2, C++17,
$ g++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
$ clang --version
clang version 10.0.0-4ubuntu1
Description
I have a project that I have been working for some time. Today I did try to enable Projects / Run / Run in terminal. When I check "Run in terminal" and start debug session, I crash every time I need to execute/spawn thread. The same code work just fine when "Run in terminal" is unchecked. Please see attached crash screen shot. This used to work fine couple of weeks ago. Since then I only updated system and installed clang. But I am not using clang to build. Actually g++ is only auto detected by Qt Creator (please see attached screenshot)
try
{ _thread = std::thread(&AVCom::socketHandler, this); }catch(const std::system_error& ex)
{ // No exception thrown }Also here is my
$ cat ~/.gdbinit
#handle SIGINT nostop
#handle SIGINT pass
#handle SIGINT print
I also did try to remove all Qt entries in ~/.config/ to make sure some configuration got corrupted. But that did not help.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-25438 debugged program crashes when calling pthread_create()
- Closed
- relates to
-
QTCREATORBUG-25082 GDB debugging repeatedly stops with SIGSTOP making it unusable
- Closed