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. Corrupted double-linked list!
QtWS25 Last Chance

Corrupted double-linked list!

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 12.3k 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.
  • Z Offline
    Z Offline
    Ziko
    wrote on last edited by
    #1

    Hi,

    I have develop a program that use the QGraphicsItemGroup, sometimes (Apparently randomly) I have this error:

    *** glibc detected *** /data/QtWorkspace/CrookesSvn/Crookes/build/CROOKES: corrupted double-linked list: 0x08e6edc0 ***

    CROOKES is obvious my program, and whit the debug I have isolated the line of code that generate the error:

    m_groupItem->addToGroup(part_group);

    where m_groupItem is a QGraphicsItemGroup like a part_group.

    I have no idea what generates the error. Suggestions?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

      Valgrind your app.

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Danilo87
        wrote on last edited by
        #3

        What does it means 'Valgrind' ?!?!?!?!

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

          He meant, start your application using valgrind (QtCreator proposes that option), it will do memory analyzes for you.

          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
            Danilo87
            wrote on last edited by
            #5

            Thanks!!! I'll try :)

            1 Reply Last reply
            0

            • Login

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