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. Error "UNINITIALIZED READ" in Dr. Memory report

Error "UNINITIALIZED READ" in Dr. Memory report

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

    Hello.

    I'm using Dr. Memory tool to check my software for memory leaks and other errors.

    Unfortunately, I always get a zillion of errors of type "UNINITIALIZED READ" that refer to Qt code. And if the trace goes through "my" code, it looks unsuspicious.

    The callstack looks like this
    @Error #4: UNINITIALIZED READ: reading 0x001deff0-0x001deff4 4 byte(s) within 0x001deff0-0x001deff4
    system call NtUserGetWindowPlacement
    QtGuid4.dll!QWidgetPrivate::setGeometry_sys
    QtGuid4.dll!QWidget::move
    ...@

    ...or this:
    @Error #4: UNINITIALIZED READ: reading 0x001deff0-0x001deff4 4 byte(s) within 0x001deff0-0x001deff4
    system call NtUserGetWindowPlacement
    QtGuid4.dll!QWidgetPrivate::setGeometry_sys
    QtGuid4.dll!QWidget::resize
    ...@

    Furthermore, in all places where I use QLibrary, I get:
    @Error #16: LEAK 56 direct bytes 0x0397b750-0x0397b788 + 460 indirect bytes
    replace_operator_new
    QtCored4.dll!QLibraryPrivate::findOrCreate
    ...@

    Is this just Dr. Memory going crazy?

    Or is this something I really should be concerned about?

    Regards,
    Mulder

    My OpenSource software at: http://muldersoft.com/

    Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

    Go visit the coop: http://youtu.be/Jay...

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

      Hi,

      I'd say that they are probably false positive however you should rather ask this on the interest mailing list to get a more definitive answer.

      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

      • Login

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