Description
I have tried many qt versions and ubuntu version
but this problem still exist
environment like :
ubuntu-20.04.3-desktop-amd64,
ubuntu-18.04-desktop-amd64
qt opensource-linux-x64-5.11.2.run
gcc version is 9.3
here is the description of this problem:
1. Firstly, I'd like to say the program is right,
2. if check the "run in terminal" in projects options,
once debug the pthread_creat(), it will receive a stopped signal, assembly language stopped at " ../sysdeps/unix/sysv/linux/x86_64/clone.S0x7f793d30d285 <+0x0035> 48 85 c0 test %rax,%rax"。
when this error occur, continue debug can be excuted, and the ""Create thread sucess! \n"" can be printed, but "Enter ThreadTest \r\n" couldn't be printed, and it won't exit rightly, it will continue show this error and stop at the red break point
3. if don't check the "run in terminal", it will work , and output is right
all in all , this error, pthread_cread() can debug rightly when qt didn't use terminal
but I really need the terminal to input command , so this problem need to be solved
In order to reproduce the problem, someone interested in can install a ubuntu 18 or 20, and qt 5.11.2, then input a pthread_creat() function to debug.
thank you