From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: dmantipov@yandex.ru, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109660: Functions to get and set Lisp_Object fields of buffer-local variables.
Date: Sat, 18 Aug 2012 11:42:14 +0300 [thread overview]
Message-ID: <83ipcgh9qx.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0STfgnhY0CHKod9h2+=oL8+6+WiVdbXm3NoxfM07yNJ9LQ@mail.gmail.com>
> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Fri, 17 Aug 2012 23:02:27 +0200
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> On Fri, Aug 17, 2012 at 4:24 PM, Dmitry Antipov <dmantipov@yandex.ru> wrote:
> > ------------------------------------------------------------
> > revno: 109660
> > committer: Dmitry Antipov <dmantipov@yandex.ru>
> > branch nick: trunk
> > timestamp: Fri 2012-08-17 18:24:43 +0400
> > message:
> > Functions to get and set Lisp_Object fields of buffer-local variables.
>
>
> "./../nt/oo-spd/i386/addsection" "oo-spd/i386/temacs.bin"
> "oo-spd/i386/temacs.exe" EMHEAP 27
> Dumping from oo-spd/i386/temacs.bin
> to oo-spd/i386/temacs.exe
> "./oo-spd/i386/temacs.exe" -batch -l loadup dump
>
> lisp.h:2416: Emacs fatal error: assertion failed: found == !EQ
> (blv->defcell, blv->valcell)
The old code had no asserts, so I commented out the assert (locally),
and the build proceeded with no problems.
Here's a backtrace and some additional relevant data from an
unoptimized build, if it helps:
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 6036.0x1760]
0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) bt
#0 0x7c90120f in ntdll!DbgUiConnectToDbg ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x0122e84e in w32_abort () at w32fns.c:7217
#2 0x010434c2 in die (
msg=0x153d2a8 "assertion failed: found == !EQ (blv->defcell, blv->valcell)", file=0x153cd52 "lisp.h", line=2416) at alloc.c:6691
#3 0x01027fc7 in set_blv_found (blv=0x34479c0, found=1) at lisp.h:2416
#4 0x01028cf1 in set_internal (symbol=54901482, newval=54822938,
where=54849029, bindflag=1) at data.c:1187
#5 0x01038c4e in specbind (symbol=54901482, value=54822938) at eval.c:3209
#6 0x0106a272 in Fload (file=54999057, noerror=54822938, nomessage=54822938,
nosuffix=54822938, must_suffix=54822938) at lread.c:1164
#7 0x0103547a in eval_sub (form=54804902) at eval.c:2173
#8 0x0103495f in Feval (form=54804902, lexical=54822938) at eval.c:2021
#9 0x01005448 in top_level_2 () at keyboard.c:1213
#10 0x01032e24 in internal_condition_case (bfun=0x100542c <top_level_2>,
handlers=54873594, hfun=0x1004fb3 <cmd_error>) at eval.c:1308
#11 0x0100547a in top_level_1 (ignore=54822938) at keyboard.c:1221
#12 0x010327e3 in internal_catch (tag=54863426, func=0x100544a <top_level_1>,
arg=54822938) at eval.c:1065
#13 0x010053b5 in command_loop () at keyboard.c:1176
#14 0x01004971 in recursive_edit_1 () at keyboard.c:804
#15 0x01004c93 in Frecursive_edit () at keyboard.c:868
#16 0x010029c4 in main (argc=5, argv=0xa42678) at emacs.c:1666
Lisp Backtrace:
"load" (0x82fc20)
(gdb) frame 6
#6 0x0106a272 in Fload (file=54999057, noerror=54822938, nomessage=54822938,
nosuffix=54822938, must_suffix=54822938) at lread.c:1164
1164 specbind (Qlexical_binding, Qnil);
(gdb) p file
$1 = 54999057
(gdb) xstring
$2 = (struct Lisp_String *) 0x3473810
"loadup.el"
(gdb) frame 4
#4 0x01028cf1 in set_internal (symbol=54901482, newval=54822938,
where=54849029, bindflag=1) at data.c:1187
1187 set_blv_found (blv, 1);
(gdb) p blv->where
$3 = 54849029
(gdb) xbuffer
$4 = (struct buffer *) 0x344ee00
(unsigned char *) 0x3450018 "*scratch*"
(gdb) p blv->defcell
$5 = 54808358
(gdb) xcar
$6 = 0x345baea
(gdb) xsymbol
$7 = (struct Lisp_Symbol *) 0x345bae8
"lexical-binding"
(gdb) p blv->valcell
$8 = 54808358
(gdb) p blv->fwd
$9 = (union Lisp_Fwd *) 0x163c2e0
prev parent reply other threads:[~2012-08-18 8:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1T2OIW-0006a5-Jm@vcs.savannah.gnu.org>
2012-08-17 21:02 ` [Emacs-diffs] /srv/bzr/emacs/trunk r109660: Functions to get and set Lisp_Object fields of buffer-local variables Juanma Barranquero
2012-08-18 8:42 ` Eli Zaretskii [this message]
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=83ipcgh9qx.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=dmantipov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.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.