Eclipse CDT: el subproceso obtiene SIGPIPE en modo de depuración
Frecuentes
Visto 420 equipos
0
There is a tool written in C language, based on socket programming and multi-threading. If I simply run the tool, there is no error and the tool does its work flawlessly.
But if I run the tool in debugging mode, switching between thread is raising SIGPIPE signal and thus data could not be transferred from the tool to its server.
Would handling the SIGPIPE using SIGNAL(SIGPIPE, SIG_IGN) make the thread work?
As far as I understand, this is being raised due to failing of Inter-Process communication between threads. If it is, then how can one debug such multi-threaded application?
Please suggest me the way to handle this issue.
1 Respuestas
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas gdb eclipse-cdt sigpipe or haz tu propia pregunta.