From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ae6ad2aab5b0a60c X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.enet.dec.com (Stephen Hoffman) Subject: Re: More decc problems on alpha6.1 Date: 1996/05/10 Message-ID: <4n07e1$2mm@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 154178857 distribution: world references: <4mo0dp$6ic@explorer.csc.com> organization: Digital Equipment Corp reply-to: hoffman@xdelta.enet.dec.com (Stephen Hoffman) newsgroups: comp.sys.dec In article <4mo0dp$6ic@explorer.csc.com>, cagard@csc.com (Cynthia Agard) writes: :This old fortran vax/vms programmer is having problems with decc alpha 6.1 :environment. I'll assume OpenVMS Alpha V6.1 based on the version number. Are you familiar with the OpenVMS source code debugger? :Tell me what is wrong with this?? :I'm skipping over stuff and showing you the meat of my problem. It's not particularly obvious from the code that was posted. :The following is contained in a single module which blows up whenever :I run it. The contents of the access violation message typically point to some interesting information relevent to the fault -- you already appear to know the PC, but it also points to the address that was referenced when the access violation occured, and whether or not the access was a read or a write. "$ HELP/MESSAGE ACCVIO" will get you some information on what I mean here... Use the source code debugger, and step through to the failing source line. (SET BREAK/EXCEPTION; GO is one way to get to the failing line quickly.) Then see what's wrong with the code near the area: : /* sure am skipping over a bunch of stuff */ : suffix_loc = strlen (attrname) - 1; : attrname [suffix_loc]++; /*=====THIS IS WHERE IT EXPLODES ACC VIO */ You'll want to see if suffix_loc is valid, and you'll want to see if attrname is valid. Then you'll want to figure out how things got confused... ------------------------- pure personal opinion --------------------------- Stephen Hoffman OpenVMS Engineering hoffman@xdelta.enet.dec.com ---------------------------------------------------------------------------