Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29600

Valgrind fails when ReallocSizeZero error is thrown

    XMLWordPrintable

Details

    • Linux/X11
    • 7268f036d (master)

    Description

      When running a program that has a realloc() call of size 0, the following error is reported: Memcheck: Error occurred parsing Valgrind output: Unknown memcheck error kind "ReallocSizeZero"

      After this error, parsing of output ceases and all Valgrind output goes to the output console, and can quickly exceed the output buffer.

      I encountered this within the NVIDIA OpenGL and Vulkan libraries, meaning that trying to track a memory error in a graphical application is guaranteed to trigger it on some systems.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            akb825 Aaron Barany
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes