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!


In reply to Re: Re: Unexpected 'Out of Memory' by BrowserUk
in thread Unexpected 'Out of Memory' by Abigail-II

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.