in reply to Re: Unexpected 'Out of Memory'
in thread Unexpected 'Out of Memory'

If it helps, the segfault on my system occurs at this instruction (marked '>') in the execution of Perl_mark_stack_grow, called from Perl_sv_clear.

Disassembly of Function perl58.dll!Perl_sv_clear (0x28066647) 0x2806674E: CALL 0x2805FB9D ; SYM:Perl_m +arkstack_grow 0x28066753: POP ECX 0x28066754: MOV ECX,DWORD PTR [ESI+0x40] ; <==0x28066 +74B(*-0x9) 0x28066757: MOV EAX,EBX 0x28066759: SUB EAX,DWORD PTR [ESI+0xC] 0x2806675C: PUSH 0x96 0x28066764: ADD EBX,0x4 0x28066767: SAR EAX,0x2 > 0x2806676A: MOV DWORD PTR [ECX],EAX 0x2806676C: MOV EAX,DWORD PTR [EBP+0x8] ; ARG:0x8 0x2806676F: MOV DWORD PTR [EBX],EAX

Up to that point the stack is showing

PID: 604 TID: 468 - Stack Contents for 0x2806676A 0x2806676A: perl58.dll:Perl_sv_clear + 0x0123 0x28066D47: perl58.dll:Perl_sv_free + 0x0108 0x28065787: perl58.dll:Perl_sv_force_normal_flags + 0x00AE 0x28060E74: perl58.dll:Perl_leave_scope + 0x0320 0x2805FB9A: perl58.dll:Perl_pop_scope + 0x001C 0x2803F50E: perl58.dll:Perl_sv_compile_2op + 0x5E1A 0x2805F97F: perl58.dll:Perl_runops_standard + 0x000C 0x2808A125: perl58.dll:RunPerl + 0x0086 0x00401012: perl.exe+0x00001012 0x77E814C7: GetCurrentDirectoryW + 0x0044

which may or may not be useful in tracking down the problem?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Timing (and a little luck) are everything!