home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / lucidem / help / 964 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  4.2 KB

  1. Path: sparky!uunet!tcsi.com!iat.holonet.net!news.cerf.net!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!newsserver.jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!mcsun!sunic!corax.udac.uu.se!csd.uu.se!hb
  2. From: hb@csd.uu.se (Henrik B}kman  CSD)
  3. Newsgroups: alt.lucid-emacs.help
  4. Subject: lemacs 19.4 on hpux 9.01
  5. Date: 26 Jan 1993 17:46:10 GMT
  6. Organization: Computing Science Department
  7. Lines: 98
  8. Distribution: world
  9. Message-ID: <1k3td2INNi7g@corax.udac.uu.se>
  10. NNTP-Posting-Host: woody.csd.uu.se
  11.  
  12. Hello.
  13.  
  14. I have problems with lemacs 19.4 on hpux 9.01. It compiles ok
  15. and dumps but when I run it, in the src-directory, I got
  16. Fatal error... This is a dump from xdb   
  17.  
  18.     1209: Lisp_Object
  19.     1210: intern (str)
  20.     1211:      const char *str;
  21.     1212: {
  22.     1213:   Lisp_Object tem;
  23.     1214:   int len = strlen (str);
  24.     1215:   Lisp_Object obarray = Vobarray;
  25.  >  1216:   if (!VECTORP (obarray) || XVECTOR (obarray)->size == 0)
  26.     1217:     obarray = check_obarray (obarray);
  27.     1218:   tem = oblookup (obarray, (unsigned char *) str, len);
  28.     1219:   if (SYMBOLP (tem))
  29.     1220:     return tem;
  30.     1221:   return Fintern ((!NILP (Vpurify_flag)
  31.     1222:                    ? make_pure_symbol_name (str, len)
  32.     1223:                    : make_string (str, len)),
  33.  File: lread.c    Procedure: intern    Line: 1216                              
  34. Do you want to save a backup copy of the core file? n
  35. Core file from:  xemacs
  36. Child died due to: segmentation violation
  37. WARNING: /usr/lib/end.o was not linked with this program (UE836)
  38.          Shared-library debugging cannot be made available (UE837)
  39. Procedures:   1716
  40. Files: 71
  41. >
  42.  
  43. I have got it to crash, with segmentation fault, in different places
  44. in lread.c under different "compilations".
  45.  
  46. When I run it installed I got this "error"
  47. kobra> cd /local/gnu/bin/lemacs-19.4/
  48. kobra> ./emacs
  49.  
  50. WARNING:
  51. couldn't find an obvious default for variable lock-directory, and
  52. there were no defaults specified in paths.h when emacs was built.
  53. Perhaps some directories don't exist, or the emacs executable,
  54. /mount/c201d2s0/hppa/local/gnu/bin/lemacs-19.4/emacs is in a strange
  55. place?
  56.  
  57. Without lock-directory set, file locking won't work.  Consider
  58. creating /usr/local/gnu/lib/lemacs-19.4/lock as a directory or
  59. symbolic link for use as the lock directory.  (This directory must be
  60. globally writable.)
  61. Fatal error (11).Segmentation fault (core dumped)
  62. kobra>
  63.  
  64. It complains about missing lock directory BUT I have set PATH_LOCK
  65. in paths.h as you can see...
  66.  
  67. kobra> cat paths.h
  68. /* The default search path for Lisp function "load".
  69.    This sets load-path.  */
  70. #define PATH_LOADSEARCH "/usr/local/gnu/lib/lemacs-19.4/lisp"
  71.  
  72. /* the extra search path for programs to invoke.
  73.  This is appended to whatever the PATH environment variable says
  74.  to set the Lisp variable exec-path and the first file namein it
  75.   sets the Lisp variable exec-directory.  */
  76. #define PATH_EXEC "/usr/local/gnu/lib/lemacs-19.4/etc"
  77.  
  78. /* the name of the directory that contains lock files
  79.  with which we record what files are being modified in Emacs.
  80.  This directory should be writable by everyone.
  81.  THE STRING MUST END WITH A SLASH!!!  */
  82. #define PATH_LOCK "/usr/local/gnu/lib/lemacs-19.4/lock/"
  83.  
  84. /* the name of the file !!!SuperLock!!! in the directory
  85.  specified by PATH_LOCK.  Yes, this is redundant.  */
  86. #define PATH_SUPERLOCK "/usr/local/gnu/lib/lemacs-19.4/lock/!!!SuperLock!!!"
  87. kobra>
  88.  
  89. and if you look in /usr/local/gnu/lib/lemacs-19.4 there is a 
  90. directory lock with mod 777.
  91.  
  92. kobra> ls -al /usr/local/gnu/lib/lemacs-19.4/
  93. total 16
  94. drwxr-xr-x   6 root     sys         1024 Jan 26 18:02 .
  95. drwxr-xr-x  10 root     local       1024 Jan 26 18:01 ..
  96. drwxr-xr-x   3 root     sys         2048 Jan 26 18:35 etc
  97. drwxr-xr-x   2 root     sys         2048 Jan 26 18:02 info
  98. drwxr-xr-x  22 root     sys         1024 Jan 26 18:03 lisp
  99. drwxrwxrwx   2 root     sys         1024 Jan 26 18:34 lock
  100. kobra> 
  101.  
  102. Help me!!!
  103.  
  104. -- 
  105. ----------------------------------------------------------------------
  106. Henrik Bakman           Adress: Box 311          Tel: +46 18 181044
  107. System Manager                  751 05 UPPSALA   Fax: +46 18 521270
  108. Computing Science Dep.          SWEDEN           Email: hb@csd.uu.se
  109. Uppsala University
  110.