emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109660: Functions to get and set


From: Eli Zaretskii
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

> From: Juanma Barranquero <address@hidden>
> Date: Fri, 17 Aug 2012 23:02:27 +0200
> Cc: Emacs developers <address@hidden>
> 
> On Fri, Aug 17, 2012 at 4:24 PM, Dmitry Antipov <address@hidden> wrote:
> > ------------------------------------------------------------
> > revno: 109660
> > committer: Dmitry Antipov <address@hidden>
> > 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



reply via email to

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