From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Emacs crashes Date: Tue, 14 Mar 2006 09:39:38 +0900 Message-ID: References: <17429.54459.803236.351040@kahikatea.snap.net.nz> NNTP-Posting-Host: main.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 1142296816 5171 80.91.229.2 (14 Mar 2006 00:40:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 00:40:16 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 14 01:40:13 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIxa7-0000Dc-4G for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 01:40:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIxa6-0002OC-Ha for ged-emacs-devel@m.gmane.org; Mon, 13 Mar 2006 19:40:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIxZu-0002MM-08 for emacs-devel@gnu.org; Mon, 13 Mar 2006 19:39:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIxZr-0002KU-Qv for emacs-devel@gnu.org; Mon, 13 Mar 2006 19:39:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIxZr-0002KN-GL for emacs-devel@gnu.org; Mon, 13 Mar 2006 19:39:55 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FIxdw-00023H-7M for emacs-devel@gnu.org; Mon, 13 Mar 2006 19:44:08 -0500 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k2E0de1a008444; Tue, 14 Mar 2006 09:39:40 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k2E0ddMK013871; Tue, 14 Mar 2006 09:39:40 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FIxZa-0006Zm-00; Tue, 14 Mar 2006 09:39:38 +0900 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) 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: news.gmane.org gmane.emacs.devel:51581 Archived-At: In article , storm@cua.dk (Kim F. Storm) writes: > I haven't seen any of these -- so there are now 6 different crashes. > Looks like a completely random memory corruption. Yesterday, I met Emacs crash this way: Program received signal SIGSEGV, Segmentation fault. 0x40359560 in mallopt () from /lib/libc.so.6 (gdb) bt 10 #0 0x40359560 in mallopt () from /lib/libc.so.6 #1 0x4035a339 in mallopt () from /lib/libc.so.6 #2 0x08138341 in emacs_blocked_malloc (size=1078031196, ptr=0x8137cad) at alloc.c:1217 #3 0x40357f55 in malloc () from /lib/libc.so.6 #4 0x08137cad in xmalloc (size=140991128) at alloc.c:740 #5 0x0809c8a8 in coding_allocate_composition_data (coding=0x89c41c8, char_offset=1078031196) at coding.c:1708 #6 0x080a5d17 in decode_coding_string (str=151149291, coding=0x10, nocopy=0) at coding.c:6294 #7 0x08182865 in read_process_output (proc=144453228, channel=46) at process.c:5040 (gdb) up 5 #5 0x0809c8a8 in coding_allocate_composition_data (coding=0x89c41c8, char_offset=1078031196) at coding.c:1708 1708 = (struct composition_data *) xmalloc (sizeof *cmp_data); But, this Emacs was compiled before these changes: 2006-03-10 Kim F. Storm * alloc.c (USE_POSIX_MEMALIGN): Fix last change. 2006-03-09 Stefan Monnier * alloc.c (USE_POSIX_MEMALIGN): New macro. (ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it. --- Kenichi Handa handa@m17n.org