Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

valgrind leaks #1046

Closed
rurban opened this Issue · 1 comment

1 participant

@rurban
Collaborator

Most are related to :slurpy args and encoding, but even t/op/say_6.pir

.sub main :main
    $N2 = 1.414
    say $N2
.end

leaks.

==23179==    definitely lost: 4,096 bytes in 2 blocks
==23179==    indirectly lost: 1,256 bytes in 29 blocks
t/op/calling_101.pir
==23275==    definitely lost: 24 bytes in 1 blocks
==23275==    indirectly lost: 508 bytes in 6 blocks
t/op/calling_30.pir
==23353==    definitely lost: 24 bytes in 1 blocks
==23353==    indirectly lost: 701 bytes in 8 blocks
t/op/calling_49.pir
==23357==    indirectly lost: 1,258 bytes in 23 blocks
t/op/calling_50.pir
==23384==    definitely lost: 24 bytes in 1 blocks
==23384==    indirectly lost: 759 bytes in 10 blocks
t/op/calling_56.pir
==23414==    definitely lost: 4,096 bytes in 2 blocks
==23414==    indirectly lost: 744 bytes in 17 blocks
t/op/calling_63.pir
==23418==    definitely lost: 24 bytes in 1 blocks
==23418==    indirectly lost: 384 bytes in 4 blocks
t/op/calling_64.pir
==23467==    definitely lost: 172 bytes in 4 blocks
==23467==    indirectly lost: 16,458 bytes in 3 blocks
t/op/calling_81.pir
==23762==    definitely lost: 2,048 bytes in 1 blocks
==23762==    indirectly lost: 352 bytes in 8 blocks
t/op/exceptions_28.pir
==23766==    definitely lost: 2,048 bytes in 1 blocks
==23766==    indirectly lost: 352 bytes in 8 blocks
t/op/exceptions_29.pir
==23807==    definitely lost: 4,096 bytes in 2 blocks
==23807==    indirectly lost: 664 bytes in 15 blocks
t/op/interp_2.pir
==23819==    definitely lost: 2,068 bytes in 4 blocks
==23819==    indirectly lost: 82 bytes in 5 blocks
t/op/jitn_13.pir
==23857==    definitely lost: 165 bytes in 2 blocks
==23857==    indirectly lost: 16,458 bytes in 3 blocks
t/op/lexicals_20.pir
==23903==    definitely lost: 48 bytes in 2 blocks
==23903==    indirectly lost: 1,846 bytes in 22 blocks
t/op/lexicals_30.pir
==23955==    indirectly lost: 16,458 bytes in 3 blocks
t/op/lexicals_41.pir
==23959==    definitely lost: 16,544 bytes in 14 blocks
==23959==    indirectly lost: 4,016 bytes in 118 blocks
t/op/lexicals_42.pir
==23977==    definitely lost: 4,096 bytes in 2 blocks
==23977==    indirectly lost: 744 bytes in 17 blocks
t/op/lexicals_46.pir
==24049==    definitely lost: 172 bytes in 3 blocks
==24049==    indirectly lost: 384 bytes in 4 blocks
t/op/load_bytecode_2.pir
==24069==    definitely lost: 2,068 bytes in 4 blocks
==24069==    indirectly lost: 82 bytes in 5 blocks
t/op/say_4.pir
==24073==    definitely lost: 2,068 bytes in 4 blocks
==24073==    indirectly lost: 82 bytes in 5 blocks
t/op/say_5.pir
==24077==    definitely lost: 2,068 bytes in 4 blocks
==24077==    indirectly lost: 82 bytes in 5 blocks
t/op/say_6.pir
==24081==    definitely lost: 2,068 bytes in 4 blocks
==24081==    indirectly lost: 82 bytes in 5 blocks
t/op/say_7.pir
==24090==    definitely lost: 8,252 bytes in 7 blocks
==24090==    indirectly lost: 1,414 bytes in 42 blocks
t/op/spawnw_7.pir
==24104==    definitely lost: 2,048 bytes in 1 blocks
==24104==    indirectly lost: 264 bytes in 6 blocks
t/op/string_cclass_1.pir
==24108==    definitely lost: 2,048 bytes in 1 blocks
==24108==    indirectly lost: 264 bytes in 6 blocks
t/op/string_cclass_2.pir
==24112==    definitely lost: 2,048 bytes in 1 blocks
==24112==    indirectly lost: 264 bytes in 6 blocks
t/op/string_cclass_3.pir
==24116==    definitely lost: 2,048 bytes in 1 blocks
==24116==    indirectly lost: 264 bytes in 6 blocks
t/op/string_cclass_4.pir
==24153==    definitely lost: 2,068 bytes in 4 blocks
==24153==    indirectly lost: 82 bytes in 5 blocks
t/op/string_cs_30.pir
==24157==    definitely lost: 2,068 bytes in 4 blocks
==24157==    indirectly lost: 82 bytes in 5 blocks
t/op/string_cs_31.pir
==24161==    definitely lost: 4,096 bytes in 2 blocks
==24161==    indirectly lost: 744 bytes in 17 blocks
t/op/string_cs_32.pir
==24165==    definitely lost: 4,096 bytes in 2 blocks
==24165==    indirectly lost: 744 bytes in 17 blocks
t/op/string_cs_33.pir
==24215==    definitely lost: 2,068 bytes in 4 blocks
==24215==    indirectly lost: 82 bytes in 5 blocks
t/op/stringu_11.pir
==24314==    definitely lost: 8,252 bytes in 7 blocks
==24314==    indirectly lost: 1,414 bytes in 42 blocks
t/op/stringu_32.pir
==24322==    definitely lost: 2,068 bytes in 4 blocks
==24322==    indirectly lost: 82 bytes in 5 blocks
t/op/stringu_33.pir
==24340==    definitely lost: 2,068 bytes in 4 blocks
==24340==    indirectly lost: 82 bytes in 5 blocks
t/op/stringu_34.pir
@rurban rurban self-assigned this
@rurban
Collaborator

I don't observe those leaks on darwin and linux anymore.

@rurban rurban closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.