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

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

Re: Invalid datatype while make bootstrap


From: Kim F. Storm
Subject: Re: Invalid datatype while make bootstrap
Date: Fri, 04 Nov 2005 12:00:01 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Jens Kubieziel <address@hidden> writes:

> * Kim F. Storm schrieb am 2005-11-02 um 10:16 Uhr:
>> > If I could provide any more useful information please let me know.
>>
>> What system are you building on?
>
> It's a x86 system (AMD Athlon).

I don't understand why you don't get any symbol table information.
Ok, bootstrap-emacs is a dumped emacs, but a normally dumped emacs
does have symbol information.  Anybody knows?

So, I don't see exactly where this happens, but there are some
clues:

> (gdb) r -batch --no-site-file --multibyte -l autoload --eval '(setq \
> generated-autoload-file \
> "/home/jens/Software/Source/emacs/lisp/loaddefs.el")' -f 
> batch-update-autoloads
> [...]
> (gdb) bt full
> #0  0x0816b0c9 in mark_object ()
..
> #50 0x08187bb8 in funcall_lambda ()
> #51 0x08187ef6 in Ffuncall ()
> #52 0x08188249 in call1 ()
> #53 0x08065c4f in Fmodify_frame_parameters ()

Who call modify-frame-parameters during batch-update-autoloads ?

Well, it is called via unbind_to in a signal handler...

> #72 0x08186cd1 in unbind_to ()
> #73 0x08186ea9 in unwind_to_catch ()
> #74 0x081890b0 in Fsignal ()
> #75 0x081720f8 in wrong_type_argument ()
> #76 0x08188626 in Fapply ()
> #77 0x08189b91 in Fmacroexpand ()

Somebody macroexpands something which results in a wrong_type_argument.

This is most likely called from make-autoload on some form:

> #112 0x08182056 in Fsave_restriction ()
> #113 0x0818a041 in Feval ()
> #114 0x0818a8f1 in Fprogn ()
> #115 0x08181e66 in Fsave_excursion ()
> #116 0x0818a041 in Feval ()
> #117 0x0818a90f in Fprogn ()
> #118 0x0818a041 in Feval ()
> #119 0x0818a42c in Funwind_protect ()

Here is the unwind-protect... (perhaps...)

> #120 0x0818a041 in Feval ()
> #186 0x08189e66 in Feval ()
> #187 0x0818a42c in Funwind_protect ()

and another one...

> #188 0x0818a041 in Feval ()
> #189 0x0818af0a in Flet ()
> #194 0x0818a2f3 in apply_lambda ()
> #195 0x08189e66 in Feval ()
> #196 0x08112143 in top_level_2 ()
> #197 0x0818687b in internal_condition_case ()


Perhaps you could add this line to emacs-lisp/autoload.el to get a
more precise idea where and why it crashed...  But I'm not sure it
will tell us a lot:


(defun make-autoload (form file)
  "Turn FORM into an autoload or defvar for source file FILE.
Returns nil if FORM is not a special autoload form (i.e. a function definition
or macro definition or a defcustom)."

  (message "Autoload form %S" form)   <<<<---- ADD THIS LINE

  (let ((car (car-safe form)) expand)
    (cond


--
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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