From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: Crash calling md5 for a list of buffers Date: Tue, 20 Jan 2004 14:41:51 +0300 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <400D13FF.90602@mail.ru> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1074595998 25952 80.91.224.253 (20 Jan 2004 10:53:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2004 10:53:18 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 11:53:05 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AitVJ-0005Z0-00 for ; Tue, 20 Jan 2004 11:53:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AitUj-0008Uv-Ck for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jan 2004 05:52:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AitU1-0007vf-Nu for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2004 05:51:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AitTT-0007Wk-7b for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2004 05:51:42 -0500 Original-Received: from [80.240.96.70] (helo=mail.dev.rtsoft.ru) by monty-python.gnu.org with smtp (Exim 4.24) id 1AitTS-0007U5-5l for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2004 05:51:10 -0500 Original-Received: (qmail 10147 invoked from network); 20 Jan 2004 10:23:43 -0000 Original-Received: from antipov.dev.rtsoft.ru (HELO mail.ru) (192.168.1.213) by mail.dev.rtsoft.ru with SMTP; 20 Jan 2004 10:23:43 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6657 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6657 Hello, Calling 'md5' can cause the crash with 'Fatal error (6).Aborted (core dumped)'. To reproduce, do: 1. Run emacs with a lot of buffers (for example, go to the source directory of some project and do 'emacs *.c'. 2. Eval one of: - (mapcar 'md5 (buffer-list)) or - (mapcar '(lambda (b) (md5 b nil nil 'raw-text)) (buffer-list)) My post-mortem backtrace is: ---- #0 0x40326671 in kill () from /lib/i686/libc.so.6 #1 0x080cf84c in fatal_error_signal (sig=27993) at emacs.c:354 #2 #3 0x40326671 in kill () from /lib/i686/libc.so.6 #4 0x080cf88a in abort () at emacs.c:387 #5 0x080f0498 in buf_charpos_to_bytepos (b=0x8805980, charpos=459097) at marker.c:141 #6 0x0811f1df in make_buffer_string (start=1, end=27993, props=0) at editfns.c:2151 #7 0x08131a9d in Fmd5 (object=1216014040, start=405215452, end=405215452, coding_system=405385700, noerror=405215452) at fns.c:5169 #8 0x08126510 in Feval (form=136526776) at eval.c:2027 #9 0x0812427d in Fprogn (args=1484879300) at eval.c:431 #10 0x0812721f in funcall_lambda (fun=142702100, nargs=1, arg_vector=0xbfffe554) at eval.c:2844 #11 0x08126dfe in Ffuncall (nargs=2, args=0xbfffe550) at eval.c:2716 #12 0x08126bc4 in call1 (fn=1484879380, arg1=1216014040) at eval.c:2456 #13 0x0812ecd0 in mapcar1 (leni=117, vals=0xbfffe5d0, fn=1484879380, seq=-1073750316) at fns.c:2713 #14 0x0812eef0 in Fmapcar (function=1484879380, sequence=1484918916) at fns.c:2773 #15 0x081264c2 in Feval (form=136525648) at eval.c:2013 #16 0x08126ede in Ffuncall (nargs=2, args=0xbfffe904) at eval.c:2659 #17 0x0814e340 in Fbyte_code (bytestr=135968312, vector=1, maxdepth=-1073747712) at bytecode.c:716 #18 0x081271e0 in funcall_lambda (fun=1209710080, nargs=2, arg_vector=0xbfffea14) at eval.c:2851 #19 0x08126dfe in Ffuncall (nargs=3, args=0xbfffea10) at eval.c:2716 #20 0x08126796 in Fapply (nargs=2, args=0xbfffeaa0) at eval.c:2169 #21 0x08126b85 in apply1 (fn=405374140, arg=1484879044) at eval.c:2423 #22 0x0812390c in Fcall_interactively (function=405374140, record_flag=405215452, keys=1210580568) at callint.c:367 #23 0x080dbeba in Fcommand_execute (cmd=405374140, record_flag=405215452, keys=405215452, special=405215452) at keyboard.c:9250 #24 0x080d22aa in command_loop_1 () at keyboard.c:1661 #25 0x0812537a in internal_condition_case (bfun=0x80d1f2c , handlers=405311796, hfun=0x80d1b54 ) at eval.c:1267 #26 0x080d1e06 in command_loop_2 () at keyboard.c:1245 #27 0x08124f35 in internal_catch (tag=0, func=0x80d1de8 , arg=405215452) at eval.c:1030 #28 0x080d1dbc in command_loop () at keyboard.c:1224 #29 0x080d1924 in recursive_edit_1 () at keyboard.c:950 #30 0x080d1a40 in Frecursive_edit () at keyboard.c:1006 #31 0x080d04d3 in main (argc=111, argv=0xbffff234, envp=0xbffff3f4) at emacs.c:1547 #32 0x40313a67 in __libc_start_main () from /lib/i686/libc.so.6 --- This bug is founded on Emacs 21.3 (GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)) on custom RedHat 9.0-based system (kernel version 2.4.24, gcc version 3.2.2, libc version 2.3.2-27.9.7 (comes from RedHat package)). Compilation flags are default '-g -O2'. I've also got exactly the same results with CVS shapshot (2004-01-20). Dmitry.