My script, whose function is kinda irrelevant for this discussion (though it's reeeeal cool), causes Perl.exe to throw an error when it finishes executing.
Specifically, I get a Windows Error dialog box that says: "Perl.exe - Application Error" in the title, and the remainder says "The instruction at "0x41249623" referenced memory at "0x41249623". The memory could not be "read". Click on OK to terminate the program. Click on CANCEL to debug the program".
My script executes to the last line, interestingly enough. I get the same error on other Win2k systems in my office as well. Also on a Win98 system. The script does use a few modules, notably DBI, DBD-Oracle, DBD-ODBC.
I'm running ActiveStates build 623 on a Win2k system. The problem also existed while running build 620. Curiously, after some edits to the script the error sometimes goes away, but it always returns after subsequent mods.
Any thoughts as to what causes this or how to debug it? I'm checking ActiveState for anything related, but nothing has turned up yet.
Thanks, in advance.
--MarkWild

In reply to Memory Error by markwild

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.