Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

How can i figure out what the access violation exception is?

by enigmae (Pilgrim)
on Jul 12, 2001 at 22:08 UTC ( #96130=perlquestion: print w/replies, xml ) Need Help??

enigmae has asked for the wisdom of the Perl Monks concerning the following question:

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

  • Comment on How can i figure out what the access violation exception is?

Replies are listed 'Best First'.
Re: How can i figure out what the access violation exception is?
by no_slogan (Deacon) on Jul 12, 2001 at 22:16 UTC
    MRTG stores data in binary files, correct? Perhaps one of those became corrupted because it was being written when the system was rebooted.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://96130]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2023-03-23 05:05 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.