I am running an NT 4.0 server service pack 6 box with the latest active perl on it. I am using a program called MRTG (multi-router traffic grapher) that uses SNTP to graph bandwidth of routers on our network. The program has been working for about 8 months now, and yesterdayi rebooted the machine, and tryed to start up the MRTG and Dr. Watson gives this error:

An application error has occurred and an application error log is being generated. PERL.EXE Exception: access violation (0xc0000005), Address: 0x00460041

When i use perl for most anything else it works great, but for some reason it always gives this access violation now. I thought the perl binary could have gotten corrupted so i removed it and reinstalled it. When i do the query manually it seems to give this fault when writing output to a disk, however when i redirect it to STDOUT, it gives the error still. I was just curious if anyone has had this problem before? What could have caused it, my code is solid and has been working for a while, i don't know how a reboot could cause such problems.

thanks for your time
-lkrause@uwyo.edu


In reply to How can i figure out what the access violation exception is? by enigmae

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.