emacs-devel
[Top][All Lists]
Advanced

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

Re: transpose-regions


From: Eli Zaretskii
Subject: Re: transpose-regions
Date: Fri, 23 Mar 2007 15:46:04 +0200

> From: Chong Yidong <address@hidden>
> Date: Thu, 22 Mar 2007 14:06:15 -0400
> Cc: emacs-devel <address@hidden>
> 
> > #4  0x0107e521 in Flength (sequence=35193781) at fns.c:185
> > (gdb) p sequence
> > $1 = 35193768
> > (gdb) xtype
> > Lisp_Int
> > (gdb) xsymbol
> > $2 = (struct Lisp_Symbol *) 0x21903a8
> > 0
> 
> Could you double check this?
> 
> Flength was called with sequence=35193781; how did it mutate into
> 35193768?  The code in Flength doesn't change the value of sequence
> (unless it is a cons cell, in which case it wouldn't end up in the
> "else" code path.)  The only way this could happen is if something
> clobbers the stack.... maybe a compiler bug?

More likely a result of optimized code confusing GDB.




reply via email to

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