emacs-devel
[Top][All Lists]
Advanced

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

Re: 32-bit MinGW build with JIT


From: Eli Zaretskii
Subject: Re: 32-bit MinGW build with JIT
Date: Sat, 18 Aug 2018 12:14:54 +0300

Tried the same 32-bit MinGW build on another machine.  Got a similar
crash while compiling macroexp.el:

       ELC      emacs-lisp/macroexp.elc

     lisp.h:2019: Emacs fatal error: assertion failed: sym->u.s.redirect == 
SYMBOL_FORWARDED && sym->u.s.val.fwd

Trying to reproduce this under GDB, I don't get the assertion
violation, but sym->u.s.val.fwd looks bogus, because
do_symval_forwarding aborts:

     #0  0x7c90120f in ntdll!DbgBreakPoint () from C:\WINDOWS\system32\ntdll.dll
     #1  0x0124ae24 in emacs_abort () at w32fns.c:10775
     #2  0x011878c6 in do_symval_forwarding (
         valcontents=0x2032a6b <dumped_data+10676555>) at data.c:1032
     #3  0x0118866e in find_symbol_value (symbol=XIL(0xa493b0)) at data.c:1274
     #4  0x011ab727 in specbind (symbol=XIL(0xa493b0), value=XIL(0xa492e0))
         at eval.c:3362
     #5  0x060100c4 in ?? ()
     #6  0x011aa08f in funcall_subr (error_obj=XIL(0x1634b35), subr=0xfa5218,
         numargs=5, args=0x827840) at eval.c:2909
     #7  0x011aa672 in funcall_lambda (fun=XIL(0x1634b35), nargs=5,
         arg_vector=0x827840) at eval.c:3033

     (gdb) p sym.u.s.val.fwd
     $8 = (union Lisp_Fwd *) 0x2032a6b <dumped_data+10676555>
     (gdb) p *$
     $9 = {
       u_intfwd = {
         type = 53117696,
         intvar = 0x32a7b02
       },
       u_boolfwd = {
         type = 53117696,
         boolvar = 0x32a7b02
       },
       u_objfwd = {
         type = 53117696,
         objvar = 0x32a7b02
       },
       u_buffer_objfwd = {
         type = 53117696,
         offset = 53115650,
         predicate = make_number(13279936)
       },
       u_kboard_objfwd = {
         type = 53117696,
         offset = 53115650
       }

Any ideas are welcome.



reply via email to

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