[comp.emacs] Access violations in GNU Emacs 18.47 on VMS 4.5

x_larsen_b%use.uio.uninett@TOR.NTA.NO (Bj|rn Larsen) (07/25/87)

Can somebody help me?

Some time ago I installed GNU Emacs version 18.41 on our system.

'Our system' is a cluster of one 8650 and two 11/750s running
VMS 4.5 and equipped with VAXC version 2.1.

I soon experienced problems with Emacs. Once in a while it would abort
with an access violation while garbage collecting. This happened on all
three machines. (For those that know the gory details of GNU Emacs memory
management, the acc vio took place in the routine compact_strings.)

I got a little bewildered, and promptly FTPed a new copy of the GNU Emacs
distribution, and recompiled. Same behavior.

Then I sent a message to info-gnu-emacs describing the error, asking for
help. I got two replies, both saying something like 'we run GNU Emacs on
our VMS system, and have no problems with it.'

So I assumed that those people eighter a) had a newer version of GNU Emacs
or b) had a newer version of VAXC.

Then, last week, I FTPed the distibution of GNU Emacs 18.47, hoping it would
behave better. It did not. I still get the accvios, at the same place in the
code. And I still get them on all three machines.

And then, yesterday, I managed to bring up VAXC 2.3 and recompiled, relinked
and rebuilt GNU Emacs.  No change.

And now I am getting worried.

Of course, I could wait for VMS 4.6 and the new version of VAXCRTL
to come along, but I dont think that will help me.

Can some kind soul _please_ give me some clues as to why a program that runs
successfully on all other VMS systems I know of should fail on my particular
system?

System parameters is one thing that comes to mind. I think the system 
parameters on our systems are rather standard, but could someone tell me
which particular parameters I ought to check?

In particular: if there is anybody out there that runs GNU Emacs with a setup
simular to mine and that could help me do some troubleshooting, I would be
ever grateful.

This is what I have tried so far:

- compiling and building Emacs just as described in the documentation
  (tried with VAXC 2.1 & 2.3, GNU Emacs 18.41 & 18.47)

- compiled /nodebug/optimize

- compiled /debug/nooptimize

- tried most of the above with both VAXCRTL/LIBRARY and VAXCRTL/SHARE.

I am posting this to both info-gnu-emacs and info-vax, since I didn't get too
much response last time I tried. Sorry for any overlap caused by this.


Yours,

Bjorn Larsen		blarsen@ifi.uio.no
Systems Manager		x_larsen_b@inger.arpa
University of Oslo	x_larsen_b%use.uio.uninett@tor.nta.no
Norway