From: Toby Allsopp <toby@mi6.gen.nz>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org
Subject: Re: 23.0.50; Crash in ediff-regions-linewise
Date: Tue, 16 Oct 2007 09:39:33 +1300 [thread overview]
Message-ID: <87ejfw15a2.fsf@candyboy.here> (raw)
In-Reply-To: jwv4pgtr01d.fsf-monnier+emacs@gnu.org
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>>>> "Toby" == Toby Allsopp <toby@mi6.gen.nz> writes:
>
>> It appears that Fmake_indirect_buffer creates a buffer object that is
>> invalid in some way. This then fails a bufferp check and results in
>> an error containing the invalid buffer object.
>
> Can you try the patch below?
This patch fixes the problem for me (with both ediff-regions-linewise
and clone-indirect-buffer-other-window). Yay!
> BTW recompiling with -DENABLE_CHECKING should catch these problems earlier
> and with a more explicit failure.
This makes temacs die due to a failed assertion. See below for
details. I'm out of time to look into this further at the moment.
Toby.
Starting program: /usr/local/src/emacs-cvs/build/src/temacs -batch -l loadup
[Thread debugging using libthread_db enabled]
[New Thread 0x2b82085ac560 (LWP 32544)]
Loading loadup.el (source)...
Using load-path (/usr/local/src/emacs-cvs/emacs/lisp)
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading version.el (source)...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading cus-start...
Loading international/mule...
Loading international/mule-conf.el (source)...
Loading env...
Loading format...
Loading bindings...
Loading files...
Loading cus-face...
Loading faces...
Loading button...
Loading startup...
Lists of integers (garbage collection statistics) are normal output
while building Emacs; they do not indicate a problem.
((11339 . 8589) (4943 . 0) (586 . 12) 15720 20090 (11 . 7) (18 . 0) (821 . 1938))
Loading loaddefs.el (source)...
((29345 . 10742) (7911 . 0) (595 . 10) 41809 20090 (37 . 33) (18 . 0) (3687 . 1304))
Loading simple...
Loading help...
Loading jka-cmpr-hook...
Loading international/mule-cmds...
Loading case-table...
Loading international/utf-8...
Loading international/utf-16...
Loading international/characters...
Loading international/latin-1.el (source)...
Loading international/latin-2.el (source)...
Loading international/latin-3.el (source)...
Loading international/latin-4.el (source)...
Loading international/latin-5.el (source)...
Loading international/latin-8.el (source)...
Loading international/latin-9.el (source)...
Loading language/chinese...
Loading language/cyrillic...
Loading language/indian...
Loading language/devanagari.el (source)...
Loading language/malayalam.el (source)...
Loading language/tamil.el (source)...
Loading language/kannada.el (source)...
Loading language/english.el (source)...
Loading language/ethiopic...
Loading language/european...
Loading language/czech.el (source)...
Loading language/slovak.el (source)...
Loading language/romanian.el (source)...
Loading language/greek.el (source)...
Loading language/hebrew.el (source)...
Loading language/japanese.el (source)...
Loading language/korean.el (source)...
Loading language/lao.el (source)...
Loading language/thai.el (source)...
Loading language/tibetan...
Loading language/vietnamese...
Loading language/misc-lang.el (source)...
Loading language/utf-8-lang.el (source)...
Loading language/georgian.el (source)...
Loading international/ucs-tables...
Loading indent...
Loading window...
Loading frame...
Loading term/tty-colors...
Loading font-core...
Loading facemenu...
Loading emacs-lisp/syntax...
Loading font-lock...
Loading jit-lock...
Loading mouse...
Loading scroll-bar...
Loading select...
Loading emacs-lisp/timer...
Loading isearch...
Loading rfn-eshadow...
((49538 . 11102) (10858 . 0) (632 . 28) 63071 164121 (67 . 3) (19 . 12) (4954 . 1494))
Loading menu-bar...
Loading paths.el (source)...
Loading emacs-lisp/lisp...
Loading textmodes/page...
Loading register...
Loading textmodes/paragraphs...
Loading emacs-lisp/lisp-mode...
Loading textmodes/text-mode...
Loading textmodes/fill...
((56002 . 4638) (11387 . 0) (634 . 26) 75252 166051 (67 . 3) (19 . 12) (5461 . 1514))
Loading replace...
Loading abbrev...
Loading buff-menu...
Loading fringe...
Loading image...
Loading international/fontset...
Loading dnd...
Loading mwheel...
Loading tool-bar...
Emacs fatal error: /usr/local/src/emacs-cvs/emacs/src/alloc.c:4967: assertion failed: (XVECTOR (obj)->size & (PSEUDOVECTOR_FLAG | PVEC_TYPE_MASK)) == (PSEUDOVECTOR_FLAG | (PVEC_COMPILED))
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2b82085ac560 (LWP 32544)]
0x00002b82079a9ac7 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x00002b82079a9ac7 in kill () from /lib/libc.so.6
#1 0x0000000000590f75 in abort () at /usr/local/src/emacs-cvs/emacs/src/emacs.c:431
#2 0x000000000064a7d6 in die (msg=0x799d78 "assertion failed: (XVECTOR (obj)->size & (PSEUDOVECTOR_FLAG | PVEC_TYPE_MASK)) == (PSEUDOVECTOR_FLAG | (PVEC_COMPILED))", file=0x799160 "/usr/local/src/emacs-cvs/emacs/src/alloc.c", line=4967) at /usr/local/src/emacs-cvs/emacs/src/alloc.c:6302
#3 0x0000000000646b17 in Fpurecopy (obj=17537668) at /usr/local/src/emacs-cvs/emacs/src/alloc.c:4967
#4 0x00000000006469f0 in Fpurecopy (obj=17448324) at /usr/local/src/emacs-cvs/emacs/src/alloc.c:4965
#5 0x0000000000643a0f in Fmake_byte_code (nargs=4, args=0x10a3f90) at /usr/local/src/emacs-cvs/emacs/src/alloc.c:3172
#6 0x00000000006a6fe1 in read1 (readcharfun=12988177, pch=0x7fffa7c2103c, first_in_list=0) at /usr/local/src/emacs-cvs/emacs/src/lread.c:2270
#7 0x00000000006a9132 in read_list (flag=-1, readcharfun=12988177) at /usr/local/src/emacs-cvs/emacs/src/lread.c:3166
#8 0x00000000006a4c76 in readevalloop (readcharfun=12988177, stream=0x1043960, sourcename=17016467, evalfun=0x671a52 <Feval>, printflag=0, unibyte=12847505, readfun=12847505, start=12847505, end=12847505) at /usr/local/src/emacs-cvs/emacs/src/lread.c:1529
#9 0x00000000006a2c6b in Fload (file=13905283, noerror=12847505, nomessage=12847505, nosuffix=12847505, must_suffix=12847505) at /usr/local/src/emacs-cvs/emacs/src/lread.c:1029
#10 0x0000000000672791 in Feval (form=15964597) at /usr/local/src/emacs-cvs/emacs/src/eval.c:2376
#11 0x000000000066d844 in Fprogn (args=15964645) at /usr/local/src/emacs-cvs/emacs/src/eval.c:450
#12 0x0000000000672053 in Feval (form=15964037) at /usr/local/src/emacs-cvs/emacs/src/eval.c:2309
#13 0x000000000066d6a3 in Fif (args=15963685) at /usr/local/src/emacs-cvs/emacs/src/eval.c:398
#14 0x0000000000672053 in Feval (form=15941957) at /usr/local/src/emacs-cvs/emacs/src/eval.c:2309
#15 0x00000000006a4e84 in readevalloop (readcharfun=12988177, stream=0xcabea0, sourcename=13276531, evalfun=0x671a52 <Feval>, printflag=0, unibyte=12847505, readfun=12847505, start=12847505, end=12847505) at /usr/local/src/emacs-cvs/emacs/src/lread.c:1562
#16 0x00000000006a2c6b in Fload (file=13276275, noerror=12847505, nomessage=12847505, nosuffix=12847505, must_suffix=12847505) at /usr/local/src/emacs-cvs/emacs/src/lread.c:1029
#17 0x0000000000672791 in Feval (form=13153013) at /usr/local/src/emacs-cvs/emacs/src/eval.c:2376
#18 0x0000000000595bbe in top_level_2 () at /usr/local/src/emacs-cvs/emacs/src/keyboard.c:1405
#19 0x000000000066fd86 in internal_condition_case (bfun=0x595bae <top_level_2>, handlers=12961697, hfun=0x59566a <cmd_error>) at /usr/local/src/emacs-cvs/emacs/src/eval.c:1493
#20 0x0000000000595bed in top_level_1 () at /usr/local/src/emacs-cvs/emacs/src/keyboard.c:1413
#21 0x000000000066f685 in internal_catch (tag=12935537, func=0x595bc0 <top_level_1>, arg=12847505) at /usr/local/src/emacs-cvs/emacs/src/eval.c:1229
#22 0x0000000000595b38 in command_loop () at /usr/local/src/emacs-cvs/emacs/src/keyboard.c:1368
#23 0x0000000000594c48 in recursive_edit_1 () at /usr/local/src/emacs-cvs/emacs/src/keyboard.c:984
#24 0x00000000005951e4 in Frecursive_edit () at /usr/local/src/emacs-cvs/emacs/src/keyboard.c:1046
#25 0x0000000000592dfe in main (argc=4, argv=0x7fffa7c226f8) at /usr/local/src/emacs-cvs/emacs/src/emacs.c:1778
Lisp Backtrace:
"load" (0xa7c21520)
"progn" (0xa7c21798)
"if" (0xa7c21948)
"load" (0xa7c21df0)
next prev parent reply other threads:[~2007-10-15 20:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-13 7:13 23.0.50; Crash in ediff-regions-linewise Toby Allsopp
2007-10-13 19:47 ` Richard Stallman
2007-10-14 8:19 ` Toby Allsopp
2007-10-14 19:05 ` Stefan Monnier
2007-10-14 20:01 ` Andreas Schwab
2007-10-16 15:43 ` Stefan Monnier
2007-10-15 20:39 ` Toby Allsopp [this message]
2007-10-16 15:50 ` Stefan Monnier
2007-10-17 5:42 ` Toby Allsopp
2007-10-17 14:03 ` Stefan Monnier
[not found] ` <874pgu5bxh.fsf@candyboy.here>
2007-10-15 1:37 ` Richard Stallman
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=87ejfw15a2.fsf@candyboy.here \
--to=toby@mi6.gen.nz \
--cc=emacs-pretest-bug@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rms@gnu.org \
/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.