www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6830] New: valgrind flags memory leak in _d_monitor_create

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6830

           Summary: valgrind flags memory leak in _d_monitor_create
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: druntime
        AssignedTo: nobody puremagic.com
        ReportedBy: chisophugis gmail.com


--- Comment #0 from Sean Silva <chisophugis gmail.com> 2011-10-18 23:58:42 PDT
---
Created an attachment (id=1041)
valgrind output

I'm on Ubuntu x64, with the vanilla DMD .deb installed.

I have attached the output of valgrind. The program that triggers
valgrind to report the leak it is practically any that I run, including
just a bare "void main() { }". It looks like _d_monitor_create is
calloc'ing 72 bytes of memory that get "definitely lost" according to
valgrind.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 18 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6830


Matt Soucy <msoucy csh.rit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1041|0                           |1
        is obsolete|                            |


--- Comment #1 from Matt Soucy <msoucy csh.rit.edu> 2013-02-12 17:41:25 PST ---
Created an attachment (id=1185)
Valgrind report as of 2.061

I ran Valgrind on the same "test program":
void main(){}

The end result is that three more leaks have snuck in since Oct. 2011.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 12 2013