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. Valgrind memory analyzer issue
Forum Updated to NodeBB v4.3 + New Features

Valgrind memory analyzer issue

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 673 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.
  • I Offline
    I Offline
    issam
    wrote on last edited by
    #1

    Hi,

    When executing a valgrind memory analyse (Qt Creator) in my application, i get this message:

    @
    Conditional jump or move depends on uninitialized value (s) in Place::collidesWithItem ( const QGraphicsItem * other, Qt::ItemSelectionMode mode ) const in place.cpp:395
    @
    The function is:

    @
    bool Place::collidesWithItem ( const QGraphicsItem * other, Qt::ItemSelectionMode mode ) const
    {
    Q_UNUSED(mode);
    QPainterPath path1 = this->mapFromItem(other, other->shape()); // line place.cpp : 395
    return path1.intersects(this->shape());
    }
    @

    Place is a QGraphicsEllipseItem object.

    I did not understand this problem. help.

    http://www.iissam.com/

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goblincoding
      wrote on last edited by
      #2

      http://valgrind.org/docs/manual/mc-manual.html#mc-manual.errormsgs

      I don't personally see anything wrong there (which doesn't mean there isn't something as I might also be missing it), but the above will explain the error msg at least :)

      http://www.goblincoding.com

      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