Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Application crash while emit signal()
Qt 6.11 is out! See what's new in the release blog

Application crash while emit signal()

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rakeshthp
    wrote on last edited by
    #1

    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

    jsulmJ 1 Reply Last reply
    0
    • R rakeshthp

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved