all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1698: 23.0.60; OSX: Wrong type argument: wholenump, -1
@ 2008-12-25  1:43 Markus Triska
  2008-12-27 17:31 ` Dan Nicolaescu
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Triska @ 2008-12-25  1:43 UTC (permalink / raw)
  To: emacs-pretest-bug


On OSX 10.4 with X11, when I do:

   $ emacs -Q -f server-start

and in another terminal do exactly the same:

   $ emacs -Q -f server-start

then the second Emacs instance shows the following error message:

   Wrong type argument: wholenump, -1

When I do M-x toggle-debug-on-error before calling `server-start' in
the second instance, then the Lisp backtrace is (byte-code omitted):

   Debugger entered--Lisp error: (wrong-type-argument wholenump -1)
     make-network-process(:name "server-client-test" :family local :server nil :noquery t :service "/tmp/emacs502/server")
     byte-code("<omitted>" [server-use-tcp temp-buffer name server-auth-dir server-socket-dir generate-new-buffer " *temp*" ((byte-code "<omitted>" [temp-buffer buffer-name kill-buffer] 2)) insert-file-contents-literally expand-file-name looking-at "127.0.0.1:[0-9]+ \\([0-9]+\\)" comm system-process-attributes string-to-number match-string 1 t :other delete-process make-network-process :name "server-client-test" :family local :server nil :noquery :service] 14)
     server-running-p("server")
     server-start(nil)
     call-interactively(server-start t nil)
     execute-extended-command(nil)
     call-interactively(execute-extended-command nil nil)

The file /tmp/emacs502/server is:

  srwx------   1 mt    wheel    0 25 Dec 02:27 server


In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
 of 2008-12-25 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
  value of $LC_ALL: nil
  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: en_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t







^ permalink raw reply	[flat|nested] 6+ messages in thread
* bug#1698: 23.0.60; OSX: Wrong type argument: wholenump, -1
@ 2009-01-01  9:06 Chong Yidong
  2009-01-01 14:17 ` Markus Triska
  0 siblings, 1 reply; 6+ messages in thread
From: Chong Yidong @ 2009-01-01  9:06 UTC (permalink / raw)
  To: Markus Triska; +Cc: 1698

>    $ emacs -Q -f server-start
>
> and in another terminal do exactly the same:
>
>    $ emacs -Q -f server-start
>
> then the second Emacs instance shows the following error message:
>
>    Wrong type argument: wholenump, -1

Could you run Emacs in gdb, set a breakpoint at wrong_type_argument, and
get a backtrace?  Thanks.






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-01 16:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-25  1:43 bug#1698: 23.0.60; OSX: Wrong type argument: wholenump, -1 Markus Triska
2008-12-27 17:31 ` Dan Nicolaescu
  -- strict thread matches above, loose matches on Subject: below --
2009-01-01  9:06 Chong Yidong
2009-01-01 14:17 ` Markus Triska
2009-01-01 15:59   ` Andreas Schwab
2009-01-01 16:42     ` Markus Triska

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.