develooper Front page | perl.perl5.porters | Postings from July 2005

[perl #33003] Core dump on simple instruction

From:
Steve Peters via RT
Date:
July 14, 2005 21:24
Subject:
[perl #33003] Core dump on simple instruction
Message ID:
rt-3.0.11-33003-117431.16.1401567067418@perl.org
> [shay - Wed Dec 15 03:19:13 2004]:
> 
> Michael G Schwern wrote:
> 
> >It appears to no longer be coring on 5.8.6.
> >
> It is still crashing for me on Win32 :(
> 
> Produces an Access Violation error (more or less the Win32 equivalent
>    of
> coring).  Here's the call stack at the crash (using 5.8.6):
> 
> Perl_av_extend(av * 0x01830f5c, long 2147483647) line 165 + 15 bytes
> Perl_av_store(av * 0x01830f5c, long 2147483647, sv * 0x28175070
> _PL_sv_undef) line 322 + 13 bytes
> Perl_av_fill(av * 0x01830f5c, long 2147483647) line 783 + 18 bytes
> Perl_magic_setarylen(sv * 0x01830f80, magic * 0x01835648) line 1670 +
>    68
> bytes
> Perl_mg_set(sv * 0x01830f80) line 237 + 14 bytes
> Perl_pp_right_shift() line 1667 + 46 bytes
> Perl_runops_debug() line 1449 + 9 bytes
> S_run_body(long 1) line 1937
> perl_run(interpreter * 0x00233e90) line 1853 + 9 bytes
> RunPerl(int 2, char * * 0x00232430, char * * 0x00232c68) line 217 + 12
>    bytes
> main(int 2, char * * 0x00232430, char * * 0x00232c68) line 18 + 18
>    bytes
> PERL! mainCRTStartup + 227 bytes
> KERNEL32! 77e814c7()
> 
> At this point, the debugger shows "newmax" is 2147483647 and "tmp" is
> 2147482080.
> 
> It crashes with bleadperl too.
> 
> - Steve

Perl_av_extend() has a lot of different paths depending on several #define's.  Can you please 
look up to see what you have for the following #defines?

PERL_MALLOC_WRAP
STRANGE_MALLOC
MYMALLOC

Thanks!



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About