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

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

bug#17184: 24.3.50; crash while bootstrapping current trunk


From: Nicolas Richard
Subject: bug#17184: 24.3.50; crash while bootstrapping current trunk
Date: Tue, 08 Apr 2014 14:54:15 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

Le 08/04/2014 14:21, Daniel Colascione a écrit :
> What happens if you add that Ffset check to emacs-24?

I can bootstrap just fine. Attached is the patch I used (cherry picking
had a small conflict)

> What symbol are we trying to set?
> (Use xsymbol.) What does valid_lisp_object_p (definition) actually
> return when you call it?

Ok, here's a new gdb session. This time I batch compile testcover.el
because I noticed that tcover-ses.el requires it and the problem arises
while requiring testcover.el.

Starting program: /home/youngfrog/sources/emacs-from-git/src/emacs --batch -f 
batch-byte-compile ../lisp/emacs-lisp/testcover.el
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

[New Thread 0xb639bb40 (LWP 25884)]

Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=40)
    at emacs.c:355
355       signal (sig, SIG_DFL);
(gdb) bt
#0  terminate_due_to_signal (sig=6, backtrace_limit=40) at emacs.c:355
#1  0x0816baaf in emacs_abort () at sysdep.c:2130
#2  0x081b5a4b in Ffset (symbol=144208610, definition=137959189) at data.c:733
#3  0x081b5b8a in Fdefalias (symbol=144208610, definition=137959189, 
    docstring=139331522) at data.c:777
#4  0x081ce690 in Ffuncall (nargs=3, args=0xbfffb434) at eval.c:2822
#5  0x08205c55 in exec_byte_code (bytestr=144054457, vector=142916517, 
    maxdepth=12, args_template=139331522, nargs=0, args=0x0) at bytecode.c:919
#6  0x0820535c in Fbyte_code (bytestr=144054457, vector=142916517, maxdepth=12)
    at bytecode.c:482
#7  0x081cd5b1 in eval_sub (form=144189750) at eval.c:2191
#8  0x081f20a1 in readevalloop (readcharfun=139400210, stream=0x893dbe8, 
    sourcename=143932745, printflag=false, unibyte=139331522, 
    readfun=139331522, start=139331522, end=139331522) at lread.c:1934
#9  0x081f108f in Fload (file=137504601, noerror=139331522, 
    nomessage=139331546, nosuffix=139331522, must_suffix=139331546)
    at lread.c:1363

#10 0x081d705a in Frequire (feature=143220250, filename=139331522, 
    noerror=139331522) at fns.c:2671

(gdb) p symbol
No symbol "symbol" in current context.
(gdb) f 2
#2  0x081b5a4b in Ffset (symbol=144208610, definition=137959189) at data.c:733
733         emacs_abort ();
(gdb) p symbol
$1 = 144208610
(gdb) xsymbol
$2 = (struct Lisp_Symbol *) 0x89872e0
"edebug-original-eval-defun"
(gdb) p valid_lisp_object_p (definition)
$3 = 0
(gdb) f 9
#9  0x081f108f in Fload (file=137504601, noerror=139331522, 
    nomessage=139331546, nosuffix=139331522, must_suffix=139331546)
    at lread.c:1363
1363        readevalloop (Qget_file_char, stream, hist_file_name,
(gdb) p file
$4 = 137504601
(gdb) xpr
Lisp_String
$5 = (struct Lisp_String *) 0x8322758 <pure+324536>
"edebug"
(gdb) 

> Can you share your binary and core dump?

Sure: http://homepages.ulb.ac.be/~nrichard/emacs+core.tar.bz2

N.

Attachment: 0001-Add-GC-bug-investigation-code.patch
Description: Text Data


reply via email to

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