The inferior stopped because it received a signal from the operating system. Signal name : SIGSEGV Signal meaning : Segmentation fault ; Any help please
-
Hi Im implmenting a TcpServer with steps as follows,
ReadyRead() receive message and emitted back to Message handler (which is custom class) and message handler do the handle job and emitted back to tcpserver and Tcp Server need to eco back to the receiver.
I am suing the siganl and slot as shown below:-
connect(this, &TcpServer::emitedsignal, &messageHandler, &MessageHandeler::receiverSLOT)
connect(&messageHandler, &MessageHandeler::emitedsignal, this, &TcpServer::receiverSLOT)But it has thrown an error and the stack says "this" not accessable. and any help please
The inferior stopped because it received a signal from the operating system.
Signal name :
SIGSEGV
Signal meaning :
Segmentation faultCheers
-
Hi,
You should run your program through the debugger, it will show you exactly where the fault occurs.
-
You're welcome !
What was the exact error ?
Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
-
If you can't, just edit the thread title and prepend [solved]