emacs-devel
[Top][All Lists]
Advanced

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

Re: transpose-regions


From: martin rudalics
Subject: Re: transpose-regions
Date: Thu, 22 Mar 2007 20:19:21 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

>>#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?

OK, here's another one.  At least they always differ by the same value.

I'm also puzzled by the

#3  0x01004620 in pure_write_error () at data.c:121

which should be wrong_type_argument (predicate, value).  I could send
you the Elisp code I use to trigger this.  You'd have to play around
with it a bit, though.

(gdb) break eval.c:1620
Breakpoint 3 at 0x100cb04: file eval.c, line 1620.
(gdb) run
Starting program: c:/Programme/Emacs/bin/emacs.exe -geometry 80x40+0+0
(gdb) cont
Continuing.

Breakpoint 3, Fsignal (error_symbol=23881689, data=34333301) at eval.c:1620
(gdb)
Continuing.

Breakpoint 3, Fsignal (error_symbol=23881689, data=34957365) at eval.c:1620
(gdb)
Continuing.

Breakpoint 3, Fsignal (error_symbol=23761593, data=33773717) at eval.c:1620
(gdb) backtrace
#0  Fsignal (error_symbol=23761593, data=33773717) at eval.c:1620
#1  0x0100cd68 in xsignal (error_symbol=23761593, data=33773717) at eval.c:1722
#2  0x0100cfb7 in xsignal2 () at eval.c:1746
#3  0x01004620 in pure_write_error () at data.c:121
#4  0x0107e521 in Flength (sequence=35190653) at fns.c:185
#5  0x0107f1e0 in concat (nargs=1, args=0xd2ef10, target_type=Lisp_Cons, 
last_special=0) at fns.c:608
#6  0x0107f873 in Fcopy_sequence (arg=35190653) at fns.c:537
#7  0x0111ac12 in copy_properties (source=0x2190348, target=0x20932d8) at 
intervals.c:106
#8  0x0111be5f in graft_intervals_into_buffer (source=0x219096c, position=4420, 
length=1214, buffer=0x20a1a00, inherit=0) at intervals.c:1842
#9  0x0108f6fb in Ftranspose_regions (startr1=35256, endr1=44968, 
startr2=44968, endr2=45072, leave_markers=23697409) at editfns.c:4214
#10 0x0100c87b in Ffuncall (nargs=5, args=0xd2f590) at eval.c:3011
#11 0x0110f83f in Fbyte_code (bytestr=33420691, vector=33684868, maxdepth=40) 
at bytecode.c:679
#12 0x0100bdcd in Feval (form=33258701) at eval.c:2334
#13 0x0100e1da in internal_lisp_condition_case (var=23697409, 
bodyform=33258701, handlers=33258189) at eval.c:1426
#14 0x0110ffe0 in Fbyte_code (bytestr=33420707, vector=33684740, maxdepth=24) 
at bytecode.c:869
#15 0x0100c274 in funcall_lambda (fun=32895460, nargs=0, arg_vector=0xd2f924) 
at eval.c:3184
#16 0x0100c6c6 in Ffuncall (nargs=1, args=0xd2f920) at eval.c:3054
#17 0x0100df03 in apply1 (fn=33610257, arg=23697409) at eval.c:2738
#18 0x0110e61c in Fcall_interactively (function=33610257, record_flag=23697409, 
keys=23756804) at callint.c:406
#19 0x01057506 in Fcommand_execute (cmd=33610257, record_flag=23697409, 
keys=23697409, special=23697409) at keyboard.c:10013
#20 0x0105e2bd in command_loop_1 () at keyboard.c:1873
#21 0x0100aa24 in internal_condition_case (bfun=0x105df60 <command_loop_1>, 
handlers=23761545, hfun=0x1057f40 <cmd_error>) at eval.c:1481
#22 0x01051f6e in command_loop_2 () at keyboard.c:1329
#23 0x0100a949 in internal_catch (tag=23755777, func=0x1051f40 
<command_loop_2>, arg=23697409) at eval.c:1222
#24 0x01051d7e in command_loop () at keyboard.c:1308
#25 0x01051e1f in recursive_edit_1 () at keyboard.c:1006
#26 0x01051f1c in Frecursive_edit () at keyboard.c:1067
#27 0x01002a75 in main (argc=3, argv=0x19a06e0) at emacs.c:1761
#28 0x010011e7 in _end__ ()
#29 0x01001238 in mainCRTStartup ()
#30 0xbff7b9e4 in _libwinspool_a_iname ()
#31 0xbff7b896 in _libwinspool_a_iname ()
#32 0xbff7a24f in _libwinspool_a_iname ()
(gdb) up 4
#4  0x0107e521 in Flength (sequence=35190653) at fns.c:185
(gdb) p sequence
$1 = 35190640
(gdb) xtype
Lisp_Int
(gdb) up 1
#5  0x0107f1e0 in concat (nargs=1, args=0xd2ef10, target_type=Lisp_Cons, 
last_special=0) at fns.c:608
(gdb) p argnum
$2 = 0
(gdb) p args[0]
$3 = 35190653
(gdb) xtype args[0]
Lisp_Cons
(gdb)





reply via email to

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