Hi

A valgrind run of such a failing test shows an enormous amont of lost memory:

| ==26287== LEAK SUMMARY:
| ==26287==    definitely lost: 20,245 bytes in 23 blocks.
| ==26287==    indirectly lost: 2,934,788 bytes in 42,116 blocks.
| ==26287==      possibly lost: 0 bytes in 0 blocks.
| ==26287==    still reachable: 8,712 bytes in 31 blocks.
| ==26287==         suppressed: 0 bytes in 0 blocks.

And other errors like:

| ==26287== Conditional jump or move depends on uninitialised value(s)
| ==26287==    at 0x4EA3019: Perl_re_compile (regcomp.c:4817)
| ==26287==    by 0x4E85718: Perl_pmruntime (op.c:3444)
| ==26287==    by 0x4E8590D: Perl_ck_split (op.c:7520)
| ==26287==    by 0x4E85E5B: Perl_convert (op.c:2519)
| ==26287==    by 0x4E7D370: Perl_yyparse (perly.y:746)
| ==26287==    by 0x4EFCA0F: S_doeval (pp_ctl.c:2916)
| ==26287==    by 0x4EFEFE4: Perl_pp_require (pp_ctl.c:3520)
| ==26287==    by 0x4EC901D: Perl_runops_standard (run.c:38)
| ==26287==    by 0x4EC43DD: perl_run (perl.c:2391)
| ==26287==    by 0x400CDB: main (perlmain.c:113)

Detailed leak report:

| ==26287== 2,891,518 (5,452 direct, 2,886,066 indirect) bytes in 4 blocks are 
definitely lost in loss record 25 of 42
| ==26287==    at 0x4C1F0BC: calloc (vg_replace_malloc.c:397)
| ==26287==    by 0x4EACB3F: Perl_safesyscalloc (util.c:304)
| ==26287==    by 0x4ED2AC3: Perl_get_arena (sv.c:680)
| ==26287==    by 0x4ED2B4E: S_more_bodies (sv.c:1050)
| ==26287==    by 0x4EDC826: Perl_sv_upgrade (sv.c:1294)
| ==26287==    by 0x4EE13E4: Perl_sv_setpv (sv.c:3950)
| ==26287==    by 0x4EC8A21: perl_construct (perl.c:301)
| ==26287==    by 0x400C6E: main (perlmain.c:107)
| ==26287==
| ==26287==
| ==26287== 55,035 (6,313 direct, 48,722 indirect) bytes in 17 blocks are 
definitely lost in loss record 26 of 42
| ==26287==    at 0x4C1FFAB: malloc (vg_replace_malloc.c:207)
| ==26287==    by 0x4EAB965: Perl_safesysmalloc (util.c:92)
| ==26287==    by 0x4EE02C7: Perl_sv_grow (sv.c:1440)
| ==26287==    by 0x4EE13CE: Perl_sv_setpv (sv.c:3952)
| ==26287==    by 0x4EC8A21: perl_construct (perl.c:301)
| ==26287==    by 0x400C6E: main (perlmain.c:107)
| ==26287==
| ==26287==
| ==26287== 8,480 bytes in 2 blocks are definitely lost in loss record 28 of 42
| ==26287==    at 0x4C20082: realloc (vg_replace_malloc.c:429)
| ==26287==    by 0x4EAC51E: Perl_safesysrealloc (util.c:178)
| ==26287==    by 0x4EF8A76: Perl_savestack_grow (scope.c:119)
| ==26287==    by 0x4EF92EB: Perl_save_sptr (scope.c:408)
| ==26287==    by 0x4E6C115: Perl_yylex (toke.c:1709)
| ==26287==    by 0x4E7B989: Perl_yyparse (perly.c:409)
| ==26287==    by 0x4EFCA0F: S_doeval (pp_ctl.c:2916)
| ==26287==    by 0x4EFEFE4: Perl_pp_require (pp_ctl.c:3520)
| ==26287==    by 0x4EC901D: Perl_runops_standard (run.c:38)
| ==26287==    by 0x4EC39E0: Perl_call_sv (perl.c:2653)
| ==26287==    by 0x4EC3E38: Perl_call_list (perl.c:5202)
| ==26287==    by 0x4E7E770: S_process_special_blocks (op.c:5631)

Bastian

-- 
Too much of anything, even love, isn't necessarily a good thing.
                -- Kirk, "The Trouble with Tribbles", stardate 4525.6



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to