From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string Date: Thu, 08 Sep 2005 13:26:47 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126181781 18901 80.91.229.2 (8 Sep 2005 12:16:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2005 12:16:21 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 14:16:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EDLIW-0000tN-CG for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2005 14:14:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDLIW-0005Qk-1L for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2005 08:14:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EDKan-00029R-SK for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2005 07:29:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EDKal-00028H-Fc for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2005 07:29:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDKak-00026e-1x for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2005 07:29:18 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EDKd9-0000bq-R7 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2005 07:31:48 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id 6C5C85EE098; Thu, 8 Sep 2005 13:27:05 +0200 (CEST) Original-To: Daniel Barrett In-Reply-To: (Daniel Barrett's message of "Tue, 6 Sep 2005 20:35:10 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12943 Archived-At: Daniel Barrett writes: > Here's a stacktrace of a crash in emacs 22.0.50.1. Let me know if you want > me to examine any values in this core dump. Can you provide an "xbacktrace" and "bt full" backtrace. Please use M-x report-emacs-bug to include proper information about your emacs version and environment, including additional information about the crash (as instructed). In any case, VM is one specific package which seems to be able to crash emacs "quite consistently", but so far none of the VM users have been able to help us really pinpoint what causes the trap. If you can help in any way, it would be great. Thanks. > > Platform: SUSE 9.1 Professional with latest patches > Linux myhost 2.6.5-7.201-smp #1 SMP Thu Aug 25 06:20:45 UTC 2005 i686 i686 i386 GNU/Linux > > $ gdb emacs core > GNU gdb 6.1 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". > > Core was generated by `emacs -f vm'. > Program terminated with signal 11, Segmentation fault. > > warning: current_sos: Can't read pathname for load map: Input/output error > > Reading symbols from /usr/X11R6/lib/libXaw3d.so.7...done. > Loaded symbols for /usr/X11R6/lib/libXaw3d.so.7 > Reading symbols from /usr/X11R6/lib/libXmu.so.6...done. > Loaded symbols for /usr/X11R6/lib/libXmu.so.6 > Reading symbols from /usr/X11R6/lib/libXt.so.6...done. > Loaded symbols for /usr/X11R6/lib/libXt.so.6 > Reading symbols from /usr/X11R6/lib/libSM.so.6...done. > Loaded symbols for /usr/X11R6/lib/libSM.so.6 > Reading symbols from /usr/X11R6/lib/libICE.so.6...done. > Loaded symbols for /usr/X11R6/lib/libICE.so.6 > Reading symbols from /usr/X11R6/lib/libXext.so.6...done. > Loaded symbols for /usr/X11R6/lib/libXext.so.6 > Reading symbols from /usr/lib/libtiff.so.3...done. > Loaded symbols for /usr/lib/libtiff.so.3 > Reading symbols from /usr/lib/libjpeg.so.62...done. > Loaded symbols for /usr/lib/libjpeg.so.62 > Reading symbols from /usr/lib/libpng.so.3...done. > Loaded symbols for /usr/lib/libpng.so.3 > Reading symbols from /lib/libz.so.1...done. > Loaded symbols for /lib/libz.so.1 > Reading symbols from /lib/tls/libm.so.6...done. > Loaded symbols for /lib/tls/libm.so.6 > Reading symbols from /usr/lib/libungif.so.4...done. > Loaded symbols for /usr/lib/libungif.so.4 > Reading symbols from /usr/X11R6/lib/libXpm.so.4...done. > Loaded symbols for /usr/X11R6/lib/libXpm.so.4 > Reading symbols from /usr/X11R6/lib/libX11.so.6...done. > Loaded symbols for /usr/X11R6/lib/libX11.so.6 > Reading symbols from /lib/libncurses.so.5...done. > Loaded symbols for /lib/libncurses.so.5 > Reading symbols from /lib/tls/libc.so.6...done. > Loaded symbols for /lib/tls/libc.so.6 > Reading symbols from /lib/ld-linux.so.2...done. > Loaded symbols for /lib/ld-linux.so.2 > Reading symbols from /lib/libdl.so.2...done. > Loaded symbols for /lib/libdl.so.2 > Reading symbols from /lib/libnss_files.so.2...done. > Loaded symbols for /lib/libnss_files.so.2 > Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done. > Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 > Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done. > Loaded symbols for /usr/X11R6/lib/libXcursor.so.1 > Reading symbols from /usr/X11R6/lib/libXrender.so.1...done. > Loaded symbols for /usr/X11R6/lib/libXrender.so.1 > Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done. > Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 > Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2...done. > Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 > #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880 > 1880 string_free_list = NEXT_FREE_LISP_STRING (s); > (gdb) bt > #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880 > #1 0x08133340 in make_uninit_string (length=85) at alloc.c:2441 > #2 0x08154f45 in concat (nargs=1, args=0xbfffcb84, target_type=Lisp_String, last_special=0) at fns.c:661 > #3 0x08155f35 in Fcopy_sequence (arg=139679403) at fns.c:528 > #4 0x0812236e in compile_pattern_1 (cp=0x82f5510, pattern=139679403, translate=137363473, regp=0x0, posix=0, multibyte=0) at search.c:183 > #5 0x081224ed in compile_pattern (pattern=139679403, regp=0x0, translate=137363473, posix=0, multibyte=0) at search.c:248 > #6 0x08123a6d in fast_string_match (regexp=139679403, string=142755163) at search.c:471 > #7 0x0810f9df in Ffind_file_name_handler (filename=142755163, operation=137496889) at fileio.c:362 > #8 0x0811005c in Fexpand_file_name (name=142755163, default_directory=137363473) at fileio.c:1063 > #9 0x08111f3b in Fdo_auto_save (no_message=137363521, current_only=137363473) at fileio.c:5906 > #10 0x080e403a in shut_down_emacs (sig=11, no_x=0, stuff=137363473) at emacs.c:2127 > #11 0x080e598a in fatal_error_signal (sig=11) at emacs.c:410 > #12 > #13 make_uninit_multibyte_string (nchars=5, nbytes=5) at alloc.c:1880 > #14 0x08133340 in make_uninit_string (length=5) at alloc.c:2441 > #15 0x08154f45 in concat (nargs=2, args=0xbfffd250, target_type=Lisp_String, last_special=0) at fns.c:661 > #16 0x08172843 in Fbyte_code (bytestr=142569497, vector=141302980, maxdepth=40) at bytecode.c:1060 > #17 0x08147b3f in funcall_lambda (fun=141302980, nargs=2, arg_vector=0xbfffd300) at eval.c:3046 > #18 0x08147c3f in apply_lambda (fun=142474628, args=40, eval_flag=1) at eval.c:2968 > #19 0x0814742c in Feval (form=142349469) at eval.c:2260 > #20 0x08147c69 in apply_lambda (fun=142829268, args=142349469, eval_flag=1) at eval.c:2976 > #21 0x0814742c in Feval (form=142349437) at eval.c:2260 > #22 0x081476b4 in Feval (form=142349245) at eval.c:2167 > #23 0x081476b4 in Feval (form=142348749) at eval.c:2167 > #24 0x08148032 in Ffuncall (nargs=2, args=0xbfffd7a0) at eval.c:2869 > #25 0x08172beb in Fbyte_code (bytestr=137540265, vector=142194964, maxdepth=32) at bytecode.c:689 > #26 0x08147b3f in funcall_lambda (fun=142194964, nargs=3, arg_vector=0xbfffd8a8) at eval.c:3046 > #27 0x08147e94 in Ffuncall (nargs=4, args=0xbfffd8a4) at eval.c:2914 > #28 0x08172beb in Fbyte_code (bytestr=137620265, vector=142248012, maxdepth=48) at bytecode.c:689 > #29 0x08147b3f in funcall_lambda (fun=142248012, nargs=1, arg_vector=0xbfffd9b4) at eval.c:3046 > #30 0x08147e94 in Ffuncall (nargs=2, args=0xbfffd9b0) at eval.c:2914 > #31 0x08172beb in Fbyte_code (bytestr=137620265, vector=142360452, maxdepth=88) at bytecode.c:689 > #32 0x08147b3f in funcall_lambda (fun=142360452, nargs=1, arg_vector=0xbfffdad4) at eval.c:3046 > #33 0x08147e94 in Ffuncall (nargs=2, args=0xbfffdad0) at eval.c:2914 > #34 0x08172beb in Fbyte_code (bytestr=145841673, vector=142370252, maxdepth=32) at bytecode.c:689 > #35 0x08147b3f in funcall_lambda (fun=142370252, nargs=1, arg_vector=0xbfffdbd4) at eval.c:3046 > #36 0x08147e94 in Ffuncall (nargs=2, args=0xbfffdbd0) at eval.c:2914 > #37 0x08172beb in Fbyte_code (bytestr=137620265, vector=143077724, maxdepth=40) at bytecode.c:689 > #38 0x08147b3f in funcall_lambda (fun=143077724, nargs=5, arg_vector=0xbfffdce4) at eval.c:3046 > #39 0x08147e94 in Ffuncall (nargs=6, args=0xbfffdce0) at eval.c:2914 > #40 0x08172beb in Fbyte_code (bytestr=137672049, vector=143078268, maxdepth=48) at bytecode.c:689 > #41 0x08147b3f in funcall_lambda (fun=143078268, nargs=2, arg_vector=0xbfffddf4) at eval.c:3046 > #42 0x08147e94 in Ffuncall (nargs=3, args=0xbfffddf0) at eval.c:2914 > #43 0x08172beb in Fbyte_code (bytestr=141153593, vector=143041556, maxdepth=48) at bytecode.c:689 > #44 0x08147b3f in funcall_lambda (fun=143041556, nargs=0, arg_vector=0xbfffdf04) at eval.c:3046 > #45 0x08147e94 in Ffuncall (nargs=1, args=0xbfffdf00) at eval.c:2914 > #46 0x08172beb in Fbyte_code (bytestr=142060609, vector=142554956, maxdepth=72) at bytecode.c:689 > #47 0x08147b3f in funcall_lambda (fun=142554956, nargs=1, arg_vector=0xbfffe054) at eval.c:3046 > #48 0x08147e94 in Ffuncall (nargs=2, args=0xbfffe050) at eval.c:2914 > #49 0x08144a04 in Fcall_interactively (function=142022337, record_flag=137363473, keys=143479116) at callint.c:884 > #50 0x080e8ad7 in Fcommand_execute (cmd=142022337, record_flag=137363473, keys=137363473, special=137363473) at keyboard.c:9711 > #51 0x080f3936 in command_loop_1 () at keyboard.c:1782 > #52 0x08146b0d in internal_condition_case (bfun=0x80f35a0 , handlers=137424465, hfun=0x80ee4f0 ) at eval.c:1451 > #53 0x080ed85c in command_loop_2 () at keyboard.c:1318 > #54 0x08146bea in internal_catch (tag=5, func=0x80ed840 , arg=137363473) at eval.c:1210 > #55 0x080ee1d7 in command_loop () at keyboard.c:1297 > #56 0x080ee272 in recursive_edit_1 () at keyboard.c:990 > #57 0x080ee38f in Frecursive_edit () at keyboard.c:1051 > #58 0x080e5115 in main (argc=3, argv=0xbfffe874) at emacs.c:1782 > (gdb) quit > $ > > -- Kim F. Storm http://www.cua.dk