Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Memory Error

by markwild (Sexton)
on Mar 31, 2001 at 09:31 UTC ( [id://68627]=note: print w/replies, xml ) Need Help??


in reply to Re: Memory Error
in thread Memory Error

Thanks for offerring to help. I wish I could do as you ask!
To dissect the 900-line script would take hours of work. It touches both Oracle and MS SQL7 databases and basically moves records between them.
That said, I really didn't intend on this being a script question as much as an interpreter question. I don't think the problem actually lies within the script, and I am holding out hope that perhaps someone else came across the same problem and resolved it somehow.
--MarkWild

Replies are listed 'Best First'.
Re: Re: Re: Memory Error
by extremely (Priest) on Mar 31, 2001 at 11:43 UTC
    No really. The error you got is a memory protection fault. That means that somewhere in perl the executable or in the modules added to perl that tie to it on a .so or .dll basis are making a mistake. Generally it is trying to access a variable that has already been destroyed by perl or stepping outside of a memory boundary set up by a string. As tye points out, signals can wind up trying to deal with bad data because they can catch perl in between critical steps in certain circumstances and leave things half finished.

    Based on the error having two locations that are the same I'd bet on the interpreter having it's instruction pointer sent out to never-never land and trying to execute a portion of blank memory.

    If you don't at least try no one will ever be able to help you with this problem. Really. I'm not kidding, the error you listed is among the most generic errors in the entire computer world. All it tells us is that something somewhere tried to do something in a place where it wasn't allowed.

    Your line "perhaps someone else came across the same problem and resolved it somehow" might be re-written "perhaps someone else came across a rock and remembers it." There are too many rocks you have to at least tell us what road you are on and which way you were looking.

    --
    $you = new YOU;
    honk() if $you->love(perl)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://68627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-24 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found