Gdb gives me an endless "SIGTSTP Program Signal" when I try to resume

I ran vlc in gdb and used ^ Z to abort it (because ^ C did not work). After checking some frames and stack variables, I tried to use "continue" to resume the program, but he continued to give me

Program received signal SIGTSTP, Stopped (user). 
[Switching to Thread 0x7fffd8d8e700 (LWP 19285)] 
0x00007ffff700247c in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib64/libpthread.so.0

Actually, only the first line was the same. The LWP identifier switched between 19285 and 19284, and the address and function alternated.

I tried "conta", but it says `-a 'does not make sense in all stop modes.

What is the correct procedure for resuming both threads?

+3
source share
2 answers

"cont" ( ) , , ^ Z,

signal SIGCONT

, "" , " SIGCONT" gdb .

+2

, , SIGTSTP . , .

GDB

, , . , ​​- continue; signal 0 .

, , signal 0 GDB, .

, , SIGTSTP , handle GDB . , .

0

All Articles