home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!menudo.uh.edu!lobster!nuchat!xcluud!dkl
- From: dkl@xcluud.sccsi.com (David Karl Leikam)
- Subject: Re: Trouble debugging 'Access violation'
- Message-ID: <Bs24KJ.E0q@xcluud.sccsi.com>
- Organization: Greater Montrose UFO Appreciation Society & Data Haven
- References: <Bruzq5.AEz@andy.bgsu.edu>
- Date: Mon, 27 Jul 1992 17:00:18 GMT
- Lines: 26
-
- In article <Bruzq5.AEz@andy.bgsu.edu> jburian@andy.bgsu.edu (John M. Burian) writes:
- >
- >The problem: when my project starts a Wollengong daemon, the daemon
- >exits immediately, with what I believe is an Access Violation error.
- >The daemon is being started with sys$creprc, and I provide a mailbox
- >to write to after the process terminates. Reading the mailbox with
- >sys$qiow, I get the accounting message from the daemons termination,
- >and the final status field is (hex) 1000000C. Since the C (dec 12)
- >is listed as an Access Violation, I assume that's the error, but
- >that 1 way over there makes me wonder, and I don't find any error
- >codes that large.
- >
- >I don't have access to the source for the daemon, and the daemon
- >works fine without my project in there. I guess the question is
- >what are causes for Access Violation errors? I understand that
- >they are actually fairly generic. Why does it work with our local
- >echo daemon (which works with the master server alone, without
- >my project), and not work with Wollengong daemons? Anyone have
- >experience with this?
-
- Access violation is an attempt to address protected memory. The
- best way (or at least the most popular way) to cause one, is with
- an uninitialized pointer. Your problem sounds like a bad parameter
- or incorrect reference mode to an otherwise good parameter, being
- passed.
-
-