Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Error "UNINITIALIZED READ" in Dr. Memory report

    General and Desktop
    2
    2
    1696
    Loading More Posts
    • 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
      MuldeR last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • First post
          Last post