Application crash while emit signal()



  • Hello,

    I have a particular class where my application crashes at the point where a signal is emitted. So, I would like to know what are the possible reasons for Qt based application to crash when any signal is emitted?

    Note:
    Instance of the sender and receiver is valid.
    Connect statement returns true value.
    Code base is quite big, so it is difficult to produce a sample piece of code.

    Inputs are appreciated.

    Thanks & Regards


  • Moderators

    @rakeshthp Well, there are many reasons. With the information you provided it is impossible to say. First thing to check would be the actual error - is it something like SIGSEGV? Then, where exactly does it crash? Does it crash inside the slot? Did you try to debug your app to find out why it is crashing?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.