www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - valgrind flags memory leak in _d_monitor_create

reply Sean Silva <chisophugis gmail.com> writes:
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.

begin 644 val.txt


M)V0L(&)Y($IU;&EA;B!397=A<F0 970 86PN"CT],30U-3<]/2!5<VEN9R!6
M86QG<FEN9"TS+C8N,2!A;F0 3&EB5D58.R!R97)U;B!W:71H("UH(&9O<B!C
M;W!Y<FEG:'0 :6YF;PH]/3$T-34W/3T 0V]M;6%N9#H +B]B87)E"CT],30U



M,B!F<F5E<RP -3`L-3,V(&)Y=&5S(&%L;&]C871E9`H]/3$T-34W/3T "CT]
M,30U-3<]/2`W,B!B>71E<R!I;B`Q(&)L;V-K<R!A<F4 9&5F:6YI=&5L>2!L


M-34W/3T ("` 8GD ,' T,C4W,S<Z(%]D7VUO;FET;W)?8W)E871E("AI;B`O
M:&]M92]S96%N+V-O9&EN9R]D+VQO=RUL979E;"]B87)E*0H]/3$T-34W/3T 
M("` 8GD ,' T,C`X-SDZ(%]D7VUO;FET;W)E;G1E<B`H:6X +VAO;64O<V5A


M*&EN("]H;VUE+W-E86XO8V]D:6YG+V0O;&]W+6QE=F5L+V)A<F4I"CT],30U


M:')E861::2`H:6X +VAO;64O<V5A;B]C;V1I;F<O9"]L;W<M;&5V96PO8F%R


M;B`O:&]M92]S96%N+V-O9&EN9R]D+VQO=RUL979E;"]B87)E*0H]/3$T-34W
M/3T ("` 8GD ,' T,4%%-C Z('1H<F5A9%]J;VEN06QL("AI;B`O:&]M92]S
M96%N+V-O9&EN9R]D+VQO=RUL979E;"]B87)E*0H]/3$T-34W/3T ("` 8GD 
M,' T,3A!-T8Z(%]$,G)T-F1M86EN,C1M86EN56E04&%::39R=6Y!;&Q-1EIV
M("AI;B`O:&]M92]S96%N+V-O9&EN9R]D+VQO=RUL979E;"]B87)E*0H]/3$T
M-34W/3T ("` 8GD ,' T,3 U0S$Z(%]$,G)T-F1M86EN,C1M86EN56E04&%:
M:3=T<GE%>&5C349-1$9:=EIV("AI;B`O:&]M92]S96%N+V-O9&EN9R]D+VQO
M=RUL979E;"]B87)E*0H]/3$T-34W/3T ("` 8GD ,' T,3 U-3(Z(&UA:6X 
M*&EN("]H;VUE+W-E86XO8V]D:6YG+V0O;&]W+6QE=F5L+V)A<F4I"CT],30U

M9FEN:71E;'D ;&]S=#H
M("` (&EN9&ER96-T;'D ;&]S=#H ,"!B>71E<R!I;B`P(&)L;V-K<PH]/3$T


M(&)L;V-K<PH]/3$T-34W/3T ("` ("` ("!S=7!P<F5S<V5D.B`P(&)Y=&5S

M92!T;R!W:&EC:"!A('!O:6YT97( =V%S(&9O=6YD*2!A<F4 ;F]T('-H;W=N
M+ H]/3$T-34W/3T 5&\ <V5E('1H96TL(')E<G5N('=I=& Z("TM;&5A:RUC
M:&5C:SUF=6QL("TM<VAO=RUR96%C:&%B;&4]>65S"CT],30U-3<]/2`*/3TQ

M97)R;W)S+"!R97)U;B!W:71H.B`M= H]/3$T-34W/3T 15)23U( 4U5-34%2
M63H ,2!E<G)O<G, 9G)O;2`Q(&-O;G1E>'1S("AS=7!P<F5S<V5D.B`T(&9R
&;VT -"D*
`
end
Oct 18 2011
parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Wednesday, October 19, 2011 05:51:51 Sean Silva wrote:
 --nextPart77593048.e8O9o76Zdv
 
 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.
This list is not intended to be posted to. You sign up for it you want to see all of the messages from bugzilla. Please report bugs in bugzilla: d.puremagic.com/issues - Jonathan M Davis
Oct 18 2011