all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: tom@tromey.com
Cc: emacs-devel@gnu.org
Subject: Re: 32-bit MinGW build with JIT
Date: Sat, 18 Aug 2018 12:14:54 +0300	[thread overview]
Message-ID: <83lg94f33l.fsf@gnu.org> (raw)
In-Reply-To: <83y3d6gqox.fsf@gnu.org> (message from Eli Zaretskii on Thu, 16 Aug 2018 20:35:26 +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	other threads:[~2018-08-18  9:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-16 14:09 32-bit MinGW build with JIT Eli Zaretskii
2018-08-16 17:35 ` Eli Zaretskii
2018-08-18  9:14   ` Eli Zaretskii [this message]
2018-08-19 15:24 ` Tom Tromey
2018-08-19 15:37   ` Eli Zaretskii
2018-08-19 15:50     ` Tom Tromey
2018-08-19 16:15       ` Eli Zaretskii
2018-08-27 19:52         ` Ken Brown
2018-08-28  5:25           ` Eli Zaretskii
2018-08-28 13:12             ` Ken Brown
2018-08-28 16:58               ` Eli Zaretskii
2018-08-19 17:11     ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lg94f33l.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.