Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QMetaObject::activate() causing Segmentation fault
QtWS25 Last Chance

QMetaObject::activate() causing Segmentation fault

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt5.9embedded linux
4 Posts 2 Posters 847 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.
  • D Offline
    D Offline
    DrEmbo
    wrote on 19 Oct 2023, 10:56 last edited by
    #1

    Hi,

    My application suddenly crashed after a few days with the following stack trace:

    Program terminated with signal SIGSEGV, Segmentation fault.
    #0  0x75fbe1b5 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
    

    This is the extract of the core dump and the only line referring to the crash.
    I figured it has something to do with a signal to a slot of an object that no longer exists. But I am not sure how this is even possible.
    Had no success reproducing the crash until now.

    I am using Qt 5.9.6. Is that maybe a know issue for this version?

    Regards,
    Drembo

    S 1 Reply Last reply 19 Oct 2023, 19:28
    0
    • D DrEmbo
      19 Oct 2023, 10:56

      Hi,

      My application suddenly crashed after a few days with the following stack trace:

      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x75fbe1b5 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
      

      This is the extract of the core dump and the only line referring to the crash.
      I figured it has something to do with a signal to a slot of an object that no longer exists. But I am not sure how this is even possible.
      Had no success reproducing the crash until now.

      I am using Qt 5.9.6. Is that maybe a know issue for this version?

      Regards,
      Drembo

      S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Oct 2023, 19:28 last edited by
      #2

      Hi,

      Do you know which object triggered that exactly ?

      By the way, 5.9.6 is more than obsolete, you should really consider updating to a more recent version.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DrEmbo
        wrote on 23 Oct 2023, 08:58 last edited by
        #3

        Hi,

        I don't know what triggered it. There weren't any additional lines in the stack trace. I thought maybe it is a known 5.9.6 issue.
        Of course, I am considering moving to a newer Qt version.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 24 Oct 2023, 06:06 last edited by
          #4

          You can also check the bug report system to find if there's something related to that.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          1/4

          19 Oct 2023, 10:56

          • Login

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