I had not tried Devel::Trace, running that now I have found that in the last 3 times running/crashing it stopped at 3 different places in the code. The last on stopped at:
@contents = @$contentsref;

nothing wrong with that line, or any of the others that I have seen....

Yes I have VS Debug....running it by hitting 'cancel' gives me:
"Unhandled exception in perl.exe (NTDLL.DLL): 0xC0000005: Access Violation."

Further inspection shows:
NTDLL! 77fcb3af()    ->  77FCB3AF   mov         dword ptr eax+4,ecx
NTDLL! 77fcc8d7()    ->  77FCC8D7   mov         esi,eax
MSVCRT! 78001e00()   ->  78001E00   mov         ecx,dword ptr ebp-10h
PERL58! 280869f9()   ->  280869F9   mov         eax,dword ptr edi
PERL58! 28066179()   ->  28066179   cmp         dword ptr esi+4,0
PERL58! 28024dd7()   ->  28024DD7   add         esp,0Ch
GUI!01d90ec7()       ->  01D90EC7   add         esp,4
USER32! 77e3a2d0()   ->  77E3A2D0   cmp         dword ptr esp+4,0DCBAABCDh
USER32! 77e16362()   ->  77E16362   mov         ecx,eax
USER32! 77e17341()   ->  77E17341   jmp         77E17389
USER32! 77e308f5()   ->  77E308F5   ret         8
USER32! 77e2e00c()   ->  77E2E00C   jmp         77E2E01D
USER32! 77e3a2d0()   ->  77E3A2D0   cmp         dword ptr esp+4,0DCBAABCDh
USER32! 77e145e5()   ->  77E145E5   mov         ecx,eax
USER32! 77e15b51()   ->  77E15B51   ret         4
PERL58! 28040681()   ->  28040681   cmp         dword ptr ebp-10h,0
PERL58! 2805eda5()   ->  2805EDA5   test         eax,eax
PERL58! 28089764()   ->  28089764   pop         ecx
PERL! 00401012()     ->  00401012   add         esp,0Ch
KERNEL32! 7c5987e7() ->  7C5987E7   push         eax


I hope this means something to someone out there, cause my assembly knowledge is next to none.
The above code was taken from "context" in the debugger.

As far as file numbers being a factor...yes definately I know that the more files that I am converting the greater the chance of seeing this error....I think that it is statistical and not the cause. I have seen it fault @ 5% completion and at 75% completion, so the problem does occur at different file numbers.

I hope that this info can shed some light on this...if anyone else has any suggestions or needs any other info just say it...I will try nearly anything :)


Thanks again,

Cameron

In reply to Re: Re: Problems with Win32::OLE and Excel specifically memory could not read/written. by Anonymous Monk
in thread Problems with Win32::OLE and Excel specifically memory could not read/written. by Anonymous Monk

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.