The inferior stopped because it received a signal from the operating system. Signal name : SIGSEGV Signal meaning : Segmentation fault ; Any help please
-
wrote on 28 Jul 2015, 15:39 last edited by
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 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
wrote on 28 Jul 2015, 18:08 last edited byThis post is deleted! -
Hi,
You should run your program through the debugger, it will show you exactly where the fault occurs.
-
wrote on 29 Jul 2015, 04:43 last edited by
Hi, Thank you for the replay and yes, I have found the fault and it was on the message creator and now it is fixed and working.
Cheers.
-
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 :)
-
wrote on 4 Aug 2015, 15:07 last edited by
Hi,
I try to make this thread as SOLVED but I couldn't do it.
Can you please let me know hoe to make it to solved.Cheers
-
If you can't, just edit the thread title and prepend [solved]
5/7