digitalmars.D.bugs - valgrind flags memory leak in _d_monitor_create
- Sean Silva (55/55) Oct 18 2011 I'm on Ubuntu x64, with the vanilla DMD .deb installed.
- Jonathan M Davis (5/14) Oct 18 2011 This list is not intended to be posted to. You sign up for it you want t...
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/3TQ-#4U-ST]($UE;6-H96-K+"!A(&UE;6]R>2!E<G)O<B!D971E8W1O< H] M/3$T-34W/3T 0V]P>7)I9VAT("A#*2`R,#`R+3(P,3`L(&%N9"!'3E4 1U!, 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-3<]/2`*/3TQ-#4U-ST](`H]/3$T-34W/3T 2$5!4"!354U-05)9. H]/3$T M-34W/3T ("` (&EN('5S92!A="!E>&ET.B`R-# 8GET97, :6X -"!B;&]C M:W,*/3TQ-#4U-ST]("` =&]T86P :&5A<"!U<V%G93H ,38 86QL;V-S+"`Q 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;W-T(&EN(&QO<W, <F5C;W)D(#0 ;V8 -`H]/3$T-34W/3T ("` 870 ,' T M0S(W.49#.B!C86QL;V, *'9G7W)E<&QA8V5?;6%L;&]C+F,Z-#8W*0H]/3$T 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;B]C;V1I;F<O9"]L;W<M;&5V96PO8F%R92D*/3TQ-#4U-ST]("` (&)Y(#!X M-#(Q04(R.B!?1#1C;W)E-G1H<F5A9#94:')E860X:7-$865M;VY-1DYD6F( M*&EN("]H;VUE+W-E86XO8V]D:6YG+V0O;&]W+6QE=F5L+V)A<F4I"CT],30U M-3<]/2` ("!B>2`P>#0Q045%1CH 7T0T8V]R939T:')E860Q-'1H<F5A9%]J M;VEN06QL55IV,39?7V9O<F5A8VAB;V1Y,C<Y349+0S1C;W)E-G1H<F5A9#94 M:')E861::2`H:6X +VAO;64O<V5A;B]C;V1I;F<O9"]L;W<M;&5V96PO8F%R M92D*/3TQ-#4U-ST]("` (&)Y(#!X-#(Q144Q.B!?1#1C;W)E-G1H<F5A9#94 M:')E860W;W!!<'!L>49-1$9+0S1C;W)E-G1H<F5A9#94:')E861::5II("AI 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 M-3<]/2`*/3TQ-#4U-ST]($Q%04L 4U5-34%263H*/3TQ-#4U-ST]("` (&1E M9FEN:71E;'D ;&]S=#H -S( 8GET97, :6X ,2!B;&]C:W,*/3TQ-#4U-ST] M("` (&EN9&ER96-T;'D ;&]S=#H ,"!B>71E<R!I;B`P(&)L;V-K<PH]/3$T M-34W/3T ("` ("!P;W-S:6)L>2!L;W-T.B`P(&)Y=&5S(&EN(#` 8FQO8VMS M"CT],30U-3<]/2` ("!S=&EL;"!R96%C:&%B;&4Z(#$W-B!B>71E<R!I;B`S M(&)L;V-K<PH]/3$T-34W/3T ("` ("` ("!S=7!P<F5S<V5D.B`P(&)Y=&5S M(&EN(#` 8FQO8VMS"CT],30U-3<]/2!296%C:&%B;&4 8FQO8VMS("AT:&]S 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 M-#4U-ST]($9O<B!C;W5N=', ;V8 9&5T96-T960 86YD('-U<'!R97-S960 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
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