From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.devel Subject: Re: editfns.c (Fformat): fix for segfault Date: Mon, 05 May 2003 10:47:52 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <85n0i1bwzr.fsf@pi.meyering.net> References: <851xzo9f2l.fsf@pi.meyering.net> <85n0i4yvbs.fsf@pi.meyering.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052125162 20321 80.91.224.249 (5 May 2003 08:59:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 May 2003 08:59:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 05 10:59:18 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19CbmY-00059N-00 for ; Mon, 05 May 2003 10:57:10 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19CbpT-0006t0-00 for ; Mon, 05 May 2003 11:00:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19CbiQ-0007uf-07 for emacs-devel@quimby.gnus.org; Mon, 05 May 2003 04:52:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19Cbhe-0007VY-00 for emacs-devel@gnu.org; Mon, 05 May 2003 04:52:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19Cbgt-0006x5-00 for emacs-devel@gnu.org; Mon, 05 May 2003 04:51:20 -0400 Original-Received: from anice-201-1-1-11.abo.wanadoo.fr ([80.13.35.11] helo=elf.meyering.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19CbdZ-0004fF-00; Mon, 05 May 2003 04:47:54 -0400 Original-Received: by elf.meyering.net (Postfix, from userid 1002) id 1633440EE; Mon, 5 May 2003 10:47:52 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun, 04 May 2003 09:04:27 -0400") Original-Lines: 55 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13686 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13686 Richard Stallman wrote: > Does this solve the problem? > *** print.c.~1.185.~ Fri Mar 14 16:00:39 2003 > --- print.c Sat May 3 18:09:00 2003 ... I applied that patch and rebuilt yesterday. It just aborted: Program received signal SIGABRT, Aborted. 0x402e2a41 in kill () from /lib/libc.so.6 (gdb) w #0 0x402e2a41 in kill () from /lib/libc.so.6 #1 0x080fef29 in abort () at /mirror/d/emacs/src/emacs.c:412 #2 0x0815f2bd in Fgarbage_collect () at /mirror/d/emacs/src/alloc.c:4103 #3 0x08179c26 in Ffuncall (nargs=3, args=0xbfffd8e0) at /mirror/d/emacs/src/eval.c:2664 #4 0x08179a2e in run_hook_list_with_args (funlist=1492461932, nargs=3, args=0xbfffd8e0) at /mirror/d/emacs/src/eval.c:2446 #5 0x0812aeac in signal_before_change (start_int=1, end_int=11, preserve_ptr=0xbfffd9e0) at /mirror/d/emacs/src/insdel.c:2058 #6 0x0812abe2 in prepare_to_modify_buffer (start=1, end=11, preserve_ptr=0xbfffd9e0) at /mirror/d/emacs/src/insdel.c:1956 #7 0x0812a2fb in del_range_1 (from=1, to=11, prepare=1, ret_string=0) at /mirror/d/emacs/src/insdel.c:1689 #8 0x0812a286 in del_range (from=154412777, to=0) at /mirror/d/emacs/src/insdel.c:1663 #9 0x0811f6f5 in Ferase_buffer () at /mirror/d/emacs/src/buffer.c:1975 #10 0x0818c307 in Fprin1_to_string (object=956063660, noescape=405897284) at /mirror/d/emacs/src/print.c:785 #11 0x08171818 in Fformat (nargs=4, args=0xbfffdc24) at /mirror/d/emacs/src/editfns.c:3353 #12 0x08179dc4 in Ffuncall (nargs=5, args=0xbfffdc20) at /mirror/d/emacs/src/eval.c:2705 #13 0x081b1d34 in Fbyte_code (bytestr=949038292, vector=1215229440, maxdepth=6) at /mirror/d/emacs/src/bytecode.c:709 #14 0x0817a61c in funcall_lambda (fun=1220041448, nargs=1, arg_vector=0xbfffdde4) at /mirror/d/emacs/src/eval.c:2911 #15 0x0817a065 in Ffuncall (nargs=2, args=0xbfffdde0) at /mirror/d/emacs/src/eval.c:2772 #16 0x081b1d34 in Fbyte_code (bytestr=949038404, vector=1214792128, maxdepth=7) at /mirror/d/emacs/src/bytecode.c:709 ... (gdb) xbacktrace "format" "nnmail-generate-active" "nnmail-save-active" "nnmail-get-new-mail" "nnml-request-scan" "gnus-request-scan" "gnus-activate-group" "gnus-get-unread-articles" "gnus-group-get-new-news" "call-interactively"