From: hb@csd.uu.se (Henrik B}kman  CSD)
Newsgroups: alt.lucid-emacs.help
Subject: lemacs 19.4 on hpux 9.01
Date: 26 Jan 1993 17:46:10 GMT
Organization: Computing Science Department
Distribution: world
NNTP-Posting-Host: woody.csd.uu.se

Hello.

I have problems with lemacs 19.4 on hpux 9.01. It compiles ok
and dumps but when I run it, in the src-directory, I got
Fatal error... This is a dump from xdb   

    1209: Lisp_Object
    1210: intern (str)
    1211:      const char *str;
    1212: {
    1213:   Lisp_Object tem;
    1214:   int len = strlen (str);
    1215:   Lisp_Object obarray = Vobarray;
 >  1216:   if (!VECTORP (obarray) || XVECTOR (obarray)->size == 0)
    1217:     obarray = check_obarray (obarray);
    1218:   tem = oblookup (obarray, (unsigned char *) str, len);
    1219:   if (SYMBOLP (tem))
    1220:     return tem;
    1221:   return Fintern ((!NILP (Vpurify_flag)
    1222:                    ? make_pure_symbol_name (str, len)
    1223:                    : make_string (str, len)),
 File: lread.c    Procedure: intern    Line: 1216                              
Do you want to save a backup copy of the core file? n
Core file from:  xemacs
Child died due to: segmentation violation
WARNING: /usr/lib/end.o was not linked with this program (UE836)
         Shared-library debugging cannot be made available (UE837)
Procedures:   1716
Files: 71
>

I have got it to crash, with segmentation fault, in different places
in lread.c under different "compilations".

When I run it installed I got this "error"
kobra> cd /local/gnu/bin/lemacs-19.4/
kobra> ./emacs

WARNING:
couldn't find an obvious default for variable lock-directory, and
there were no defaults specified in paths.h when emacs was built.
Perhaps some directories don't exist, or the emacs executable,
/mount/c201d2s0/hppa/local/gnu/bin/lemacs-19.4/emacs is in a strange
place?

Without lock-directory set, file locking won't work.  Consider
creating /usr/local/gnu/lib/lemacs-19.4/lock as a directory or
symbolic link for use as the lock directory.  (This directory must be
globally writable.)
Fatal error (11).Segmentation fault (core dumped)
kobra>

It complains about missing lock directory BUT I have set PATH_LOCK
in paths.h as you can see...

kobra> cat paths.h
/* The default search path for Lisp function "load".
   This sets load-path.  */
#define PATH_LOADSEARCH "/usr/local/gnu/lib/lemacs-19.4/lisp"

/* the extra search path for programs to invoke.
 This is appended to whatever the PATH environment variable says
 to set the Lisp variable exec-path and the first file namein it
  sets the Lisp variable exec-directory.  */
#define PATH_EXEC "/usr/local/gnu/lib/lemacs-19.4/etc"

/* the name of the directory that contains lock files
 with which we record what files are being modified in Emacs.
 This directory should be writable by everyone.
 THE STRING MUST END WITH A SLASH!!!  */
#define PATH_LOCK "/usr/local/gnu/lib/lemacs-19.4/lock/"

/* the name of the file !!!SuperLock!!! in the directory
 specified by PATH_LOCK.  Yes, this is redundant.  */
#define PATH_SUPERLOCK "/usr/local/gnu/lib/lemacs-19.4/lock/!!!SuperLock!!!"
kobra>

and if you look in /usr/local/gnu/lib/lemacs-19.4 there is a 
directory lock with mod 777.

kobra> ls -al /usr/local/gnu/lib/lemacs-19.4/
total 16
drwxr-xr-x   6 root     sys         1024 Jan 26 18:02 .
drwxr-xr-x  10 root     local       1024 Jan 26 18:01 ..
drwxr-xr-x   3 root     sys         2048 Jan 26 18:35 etc
drwxr-xr-x   2 root     sys         2048 Jan 26 18:02 info
drwxr-xr-x  22 root     sys         1024 Jan 26 18:03 lisp
drwxrwxrwx   2 root     sys         1024 Jan 26 18:34 lock
kobra> 

Help me!!!

-- 
----------------------------------------------------------------------
Henrik Bakman           Adress: Box 311          Tel: +46 18 181044
System Manager                  751 05 UPPSALA   Fax: +46 18 521270
Computing Science Dep.          SWEDEN           Email: hb@csd.uu.se
Uppsala University
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Wed, 27 Jan 1993 18:01:54 EST
Date: Tue, 26 Jan 1993 20:43:14 GMT
From: wolfgang@wsrcc.com (Wolfgang S. Rupprecht)
Organization: W S Rupprecht Computer Consulting, Fremont CA
Subject: Re: dialup (line) mode help
Newsgroups: alt.lucid-emacs.help