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?

    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

  • Lifetime Qt Champion

    @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