Results 1 to 5 of 5

Thread: Application stopped because it received a signal from the operating system. Any Help?

  1. #1
    Join Date
    Jul 2015
    Posts
    8
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Cool Application stopped because it received a signal from the operating system. Any Help?

    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 fault

    Cheers

  2. #2
    Join Date
    Oct 2009
    Posts
    483
    Thanked 97 Times in 94 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Application stopped because it received a signal from the operating system. Any H

    This error occurs because a bug in your code corrupts some data structure. Please post a compilable and runnable program that reproduces the problem.

  3. #3
    Join Date
    Jul 2015
    Posts
    8
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Lightbulb Re: Application stopped because it received a signal from the operating system. Any H

    Thank you for the response and I have past the code in the pastbin link below:-

    http://pastebin.com/Hzy1KTZm

    Cheers.

  4. #4
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Application stopped because it received a signal from the operating system. Any H

    Run your code using Qt Creator in debug mode and look at the stack trace after your app crashes.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  5. #5
    Join Date
    Jul 2015
    Posts
    8
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Cool Re: Application stopped because it received a signal from the operating system. Any H

    Thank you jefftee, I have fixed it and the bug on my message creator not in the signal and slot commun

    Cheers.

Similar Threads

  1. Replies: 1
    Last Post: 12th September 2014, 21:07
  2. Replies: 5
    Last Post: 23rd April 2011, 14:24
  3. Replies: 8
    Last Post: 21st March 2011, 13:40
  4. Replies: 12
    Last Post: 9th January 2011, 14:51
  5. How to know the operating system?
    By Dark_Tower in forum Newbie
    Replies: 4
    Last Post: 4th May 2006, 21:41

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.