emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs server fails to start with large uid on unix


From: Benjamin Rutt
Subject: emacs server fails to start with large uid on unix
Date: Fri, 5 Jan 2007 15:31:20 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I have a large unix uid:

$ id
uid=800154870(ruttbe) gid=705(www)

it seems the emacs server of pretest 92 can't cope with this, possibly
b/c of the limit on emacs lisp's integer size.  perhaps calc should be
used, as it can handle bignums?  also `file-attributes' may have a problem 
with this large UID.  see the backtrace upon M-x
server-start after an emacs -q:

Debugger entered--Lisp error: (range-error "truncate" 800154870.0)
  format("/tmp/emacs%d" 800154870.0)
  byte-code("=8c1=8c2!=88=..." [current-load-list make-variable-buffer-local 
server-existing-buffer server-name default-boundp set-default "server" server-
socket-dir format "/tmp/emacs%d" user-uid] 5)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

Thanks, --BR


In GNU Emacs 22.0.92.2 (sparc-sun-solaris2.8, X toolkit)
 of 2007-01-03 on xxxxxxxx.com
X server distributor `The Cygwin/X Project', version 11.0.60899901
configured using `configure '--prefix=/home/ruttbe/.upak-
jade/installed/emacs22-pretest''

Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
M-x s e r v e <tab> s t <tab> <return> M-! i d <return> 
M-x r e p o r t - e m <tab> <return>

Recent messages:
For information about the GNU Project and its goals, type C-h C-p.
Debug on Error enabled globally
For information about the GNU Project and its goals, type C-h C-p.
Loading server...
Loading debug...done
Entering debugger...
uid=800154870(ruttbe) gid=705(www)
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done






reply via email to

[Prev in Thread] Current Thread [Next in Thread]