Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. How to debug crash in object->metaObject()->className() of err_method_notfound method
Forum Updated to NodeBB v4.3 + New Features

How to debug crash in object->metaObject()->className() of err_method_notfound method

Scheduled Pinned Locked Moved Unsolved Brainstorm
4 Posts 2 Posters 812 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    SePavel
    wrote on last edited by
    #1

    Hello,

    I am researching crash of the application that use QT 5.9.7 and I have get the following stacktrace

    • QMetaObject::className
    • QMetaObjectPrivate::indexOfSignalRelative
    • err_method_notfound

    Even I have the sources of application and QT they are rather complex to find out the problem at once. I suppose that something bad happend during application exit.

    Can anyone give me the idea of how I can get more details for this crash?

    Regards,
    Pavel

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Where in your code those this crash start ?

      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
      • S Offline
        S Offline
        SePavel
        wrote on last edited by
        #3

        Actually QT is used by PIVX project and I am not familiar with all code, so I try to find the start point. This issue I can reproduce by autotest with start/stop process operations. I suppose that there is some race condition that happen rare

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          In that case comment all the code that makes the test crash and te-add stuff gradually until the test starts to crash again. It should give you clues about what is going on.

          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
          1

          • Login

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