Re: Distel crashes

bugme not <[email protected]> Thu, 8 Jun 2006 08:27:44 +0000 (UTC)
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
bugme not <bugmenope <at> gmail.com> writes:
> 
> I'm trying to communicate with an R10B node (started with +R9) from
> Emacs using Distel. It's working nicely, however sometimes Distel
> crashes with the error: "Unknown tag: nil"

It seems distel has problems with big numbers (the comment at the beginning 
of erlext.el mentions some unmapped types).

If I try to parse this file in a remote node from distel:

  -define(a, 1000000000).
  -define(b, 1000000000).

then it throws the unknown tag error:

Debugger entered--Lisp error: (error "Unknown tag: nil")
  signal(error ("Unknown tag: nil"))
  error("Unknown tag: %S" nil)


If the file contains only this:

  -define(a, 1000000000).

then an other error occurs:

Debugger entered--Lisp error: (cl-assertion-failed (eq (erlext-get-code 
(quote null)) (erlext-read1)))
  signal(cl-assertion-failed ((eq (erlext-get-code ...) (erlext-read1))))
  erlext-read-list()


It should at least exit gracefully ("type xy is not handled yet"), but it 
doesn't matter, since without these mappings it cannot be used 
for serious things. Sad.