From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Redisplay crash Date: Tue, 4 Jan 2005 10:05:51 +0900 (JST) Message-ID: <200501040105.KAA09219@etlken.m17n.org> References: <87llbal35x.fsf@orebokech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1104800787 17913 80.91.229.6 (4 Jan 2005 01:06:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2005 01:06:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 04 02:06:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cld9M-0006iB-00 for ; Tue, 04 Jan 2005 02:06:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CldKX-00024f-IG for ged-emacs-devel@m.gmane.org; Mon, 03 Jan 2005 20:17:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CldKO-000220-MT for emacs-devel@gnu.org; Mon, 03 Jan 2005 20:17:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CldKN-00021S-4N for emacs-devel@gnu.org; Mon, 03 Jan 2005 20:17:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CldKN-00021O-1i for emacs-devel@gnu.org; Mon, 03 Jan 2005 20:17:39 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cld91-0001BM-4Q for emacs-devel@gnu.org; Mon, 03 Jan 2005 20:05:55 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.12.3/8.12.3/Debian-7.1) with ESMTP id j0415qY7030423; Tue, 4 Jan 2005 10:05:52 +0900 Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id j0415qq08704; Tue, 4 Jan 2005 10:05:52 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id KAA09219; Tue, 4 Jan 2005 10:05:51 +0900 (JST) Original-To: Romain Francoise In-reply-to: <87llbal35x.fsf@orebokech.com> (message from Romain Francoise on Mon, 03 Jan 2005 20:32:10 +0100) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31778 In article <87llbal35x.fsf@orebokech.com>, Romain Francoise writes: > Running Emacs CVS from a few hours ago, I get a segmentation fault every > time I try to enter a group in Gnus (using emacs -nw, I didn't try in > X11). It's very reproducible. I last updated before that in October > 2004 so the bug might not be recent. > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1485880672 (LWP 8907)] > 0xa7883051 in mallopt () from /lib/tls/i686/cmov/libc.so.6 > (gdb) bt > #0 0xa7883051 in mallopt () from /lib/tls/i686/cmov/libc.so.6 > #1 0xa7881d65 in realloc () from /lib/tls/i686/cmov/libc.so.6 > #2 0x081685ab in emacs_blocked_realloc (ptr=0x958d590, size=388) > at alloc.c:1279 > #3 0xa7881c9c in realloc () from /lib/tls/i686/cmov/libc.so.6 > #4 0x08168123 in xrealloc (block=0x6d353358, size=25) at alloc.c:758 > #5 0x080e0e53 in encode_terminal_code (src=0xa76f0f08, src_len=156816800, > coding=0x8323200) at term.c:904 > #6 0x080e2c9c in write_glyphs (string=0xa76f0ea8, len=43) at term.c:970 I can't reproduce this bug, but I seems that my change to encode_terminal_code on 2004-11-30 is the cause. At least the argument `src_len' of encode_terminal_code has strange value in your backtrace. Could you try to find out why it has that value by debugger? --- Ken'ichi HANDA handa@m17n.org