From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: emacs user Newsgroups: gmane.emacs.bugs Subject: bug#7517: 24.0.50; repeated crash under Mac OS X Date: Mon, 29 Nov 2010 16:22:43 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1291041916 22970 80.91.229.12 (29 Nov 2010 14:45:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2010 14:45:16 +0000 (UTC) To: 7517@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 29 15:45:11 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PN4yY-00059w-Qw for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Nov 2010 15:45:11 +0100 Original-Received: from localhost ([127.0.0.1]:38759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN4yY-0000wR-36 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Nov 2010 09:45:06 -0500 Original-Received: from [140.186.70.92] (port=41117 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN4yS-0000w4-R6 for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:45:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PN4yQ-0007rL-Rf for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:45:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PN4yQ-0007rE-KO for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:44:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PN4jz-0005or-Ud; Mon, 29 Nov 2010 09:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: emacs user Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Nov 2010 14:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7517 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129104096322305 (code B ref -1); Mon, 29 Nov 2010 14:30:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Nov 2010 14:29:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PN4jJ-0005ni-6V for submit@debbugs.gnu.org; Mon, 29 Nov 2010 09:29:22 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PN4Xd-0005Xk-Jn for submit@debbugs.gnu.org; Mon, 29 Nov 2010 09:17:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PN4cz-0000sa-P4 for submit@debbugs.gnu.org; Mon, 29 Nov 2010 09:22:51 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:38785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PN4cz-0000sW-DB for submit@debbugs.gnu.org; Mon, 29 Nov 2010 09:22:49 -0500 Original-Received: from [140.186.70.92] (port=56854 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN4cx-0001Un-Cs for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:22:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PN4cv-0000rB-Ml for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:22:47 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:44060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PN4cv-0000qq-9e for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:22:45 -0500 Original-Received: by eydd26 with SMTP id d26so15517765eyd.0 for ; Mon, 29 Nov 2010 06:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=XXdmx0g0ROMhBAhiuQQqDyBx4PryrmwU4WONB5S6/wE=; b=O8lc+7C5eEm+/QkTSC/gbq3jlqHOn8v5U3Z4gL0FoG9OufLlnitHLKu9aStesyA5/B 4fsojF5EO/Em/2IktwR86oEtOQhy8b5mz7OC/Fi8rJRUh55iW3yH6mrIOTGZqByS1u+Y ULIt10usOOX6OtuMH63pfbZf6Ac2oW/Up44zQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mEVj7nDM3k0YwPBiAVvDk4u/kuWJ9Jof1YpXIrtW2ED6BdWu5pEGYvUkX7sbRQWYHr m4b4ylNgBVFSpG3F02ZU7vlGye1jio0A/C4JSICCuoVw3hp1gjQXjNn7e/P7cFx7lKL5 TJ81y6594gzHbhKbQdYc4dXufvYg+SbHwHR/M= Original-Received: by 10.216.154.131 with SMTP id h3mr395130wek.74.1291040563136; Mon, 29 Nov 2010 06:22:43 -0800 (PST) Original-Received: by 10.216.185.212 with HTTP; Mon, 29 Nov 2010 06:22:43 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 29 Nov 2010 09:29:20 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 29 Nov 2010 09:30:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:42005 Archived-At: This crash occurs when I use vm to read my mail, and attempt to edit an email written in non-English characters. I cannot provide a simple reproducible example, but it is very easy for me to reproduce this with my setup and mail files. Am happy to try patches etc. Backtrace attached. In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.4.3, NS apple-appkit-1038.32) of 2010-11-19 on dhcp-0126683956-1d-ed.client.fas.harvard.edu Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' '--without-x'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: delete-selection-mode: t display-time-mode: t auto-image-file-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t ~ $ cd /usr/local/emacs/trunk/src /usr/local/emacs/trunk/src $ gdb /usr/local/emacs/trunk/nextstep/Emacs.app/Cont nts/MacOS/Emacs GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC 2010) 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 "x86_64-apple-darwin"...Reading symbols for shared libraries ........ ..... done DISPLAY = :0.0 TERM = xterm Breakpoint 1 at 0x4189374bb95c7f Breakpoint 2 at 0x1000be992: file sysdep.c, line 845. (gdb) run Starting program: /usr/local/emacs/trunk/nextstep/Emacs.app/Contents/MacOS/Emacs Reading symbols for shared libraries .+++++++++++++............................................. ................................. done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Breakpoint 1, 0x00007fff86da8c7f in abort () (gdb) bt full #0 0x00007fff86da8c7f in abort () No symbol table info available. #1 0x0000000100101ea9 in Fgarbage_collect () at alloc.c:5077 bind = catch = handler = stack_top_variable = 0 '\0' i = message_p = 0 total = {4689107254, 1204557, 4337316290, 176147753894, 140734799796272, 4328685322, 40, 4300585072} count = t1 = { tv_sec = 1291039991, tv_usec = 957606 } t2 = { tv_sec = 4328685322, tv_usec = 1606408508 } #2 0x000000010011a2ab in Feval (form=4689107254) at eval.c:2242 fun = val = original_fun = original_args = funcar = backtrace = { next = 0x102027f0a, function = 0x10055b870, args = 0x10055c518, nargs = 33566778, evalargs = 1 '\001', debug_on_exit = 0 '\0' } #3 0x0000000100140f28 in readevalloop (readcharfun=4328685322, stream=0x7fff70dbff40, sourcenam =4800300321, evalfun=0x100119ff0 , printflag=0, unibyte=, readfun=4328534074, start=4328534074, end=4328534074) at lread.c:1737 count1 = 23 c = val = 4689107254 b = (struct buffer *) 0x0 continue_reading_p = 1 whole_buffer = 0 first_sexp = 0 #4 0x0000000100142915 in Fload (file=4320237433, noerror=4328534074, nomessage=4328534122, nosu fix=4328534074, must_suffix=4328534122) at lread.c:1228 stream = (FILE *) 0x7fff70dbff40 fd = 9 count = 12 found = 4801669825 efound = hist_file_name = 4801669825 newer = 0 compiled = 1 handler = safe_p = 1 tmp = {4300585720, 7686741539101004111} version = 23 #5 0x000000010011c15e in do_autoload (fundef=4349060838, funname=) at eval.c:2203 fun = #6 0x000000010011ae52 in Ffuncall (nargs=3, args=) at eval.c:3050 fun = original_fun = 4339766418 funcar = numargs = 2 val = backtrace = { next = 0x7fff5fbfded0, function = 0x7fff5fbfdd40, args = 0x7fff5fbfdd48, nargs = 2, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (Lisp_Object *) 0x7fff5fbfdd48 i = #7 0x0000000100156b0e in Fbyte_code (bytestr=, vector=, maxdepth=) at bytecode.c:679 count = 6 op = vectorp = (Lisp_Object *) 0x11782b3a0 stack = { pc = 0x1173921a9 "\210\016E\203\335", top = 0x7fff5fbfdd50, bottom = 0x7fff5fbfdd40, byte_string = 4689404289, byte_string_start = 0x1173920e0 "\306 \210\307t\030\031\b\203\r", constants = 4689408917, next = 0x0 } top = (Lisp_Object *) 0x7fff5fbfdd40 result = #8 0x000000010011abdc in funcall_lambda (fun=4679307221, nargs=1, arg_vector=0x7fff5fbfdf98) at eval.c:3174 val = syms_left = next = i = 1 optional = 1 rest = 0 #9 0x000000010011aed2 in Ffuncall (nargs=2, args=) at eval.c:3047 fun = original_fun = 4337411042 funcar = numargs = 1 val = backtrace = { next = 0x7fff5fbfe170, function = 0x7fff5fbfdf90, args = 0x7fff5fbfdf98, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (Lisp_Object *) 0x7fff5fbfdf98 i = #10 0x000000010011759f in Fcall_interactively (function=4337411042, record_flag=4328534074, keys 4320148728) at callint.c:849 val = args = (Lisp_Object *) 0x7fff5fbfdf90 visargs = (Lisp_Object *) 0x7fff5fbfdf70 specs = 4328534074 filter_specs = teml = 1 up_event = 4328534074 enable = 4328534074 speccount = 3 next_event = 1 prefix_arg = 4328534074 string = tem = (unsigned char *) 0x1001b53e8 "" varies = (int *) 0x7fff5fbfdf50 i = 1 j = 1 prompt1 = '\0' arg_from_tty = 0 key_count = 1 record_then_fail = 0 save_this_command = 4337411042 save_last_command = 4339778850 save_this_original_command = 4337411042 save_real_this_command = 4337411042 #11 0x000000010011b10e in Ffuncall (nargs=4, args=) at eval.c:2996 fun = original_fun = funcar = numargs = 3 val = backtrace = { next = 0x0, function = 0x7fff5fbfe1e0, args = 0x7fff5fbfe1e8, nargs = 3, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (Lisp_Object *) 0x7fff5fbfe1e8 i = #12 0x000000010011b2e6 in call3 (fn=, arg1= value temporarily unavailable, due to optimizations>, arg2=, arg3=) at eval.c:2820 ret_ungc_val = 4377593632 args = {4328704874, 4337411042, 4328534074, 4328534074} #13 0x00000001000b4de4 in command_loop_1 () at keyboard.c:1720 cmd = keybuf = {404, 4797060806, 140734799798992, 4296256866, 4611686018427404288, 4328590042, 4300563296, 7686741539101004111, 140734799799088, 4300585072, 140734799799088, 4797060806, 43005 2440, 4300584952, 140734799799056, 4295665093, 0, 4300586304, 4300586312, 4328534074, 4328534074 4300584952, 140734799799200, 4295665372, 140734799799088, 4797060806, 0, 140734799799136, 14073 799798816, 0} i = prev_modiff = 131391 prev_buffer = (struct buffer *) 0x11e044af0 #14 0x00000001001192c5 in internal_condition_case (bfun=0x1000b4930 , handlers=4 28590042, hfun=0x1000aa5d0 ) at eval.c:1460 val = c = { tag = 4328534074, val = 4328534074, next = 0x7fff5fbfe530, gcpro = 0x0, jmp = {5617656, 1, 1606411504, 32767, 1606411184, 32767, 5617496, 1, 5594576, 1, 5596000, 1, 3 993160, 1, 1151554, 1, 530, 0, 8099, 895, 1606411600, 32767, 696960, 1, 5618416, 1, 5618352, 1, , 0, 0, 0, 0, 0, -2033454713, 32767, 0}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 0, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 4328590042, var = 4328534074, chosen_clause = 4328534122, tag = 0x7fff5fbfe3d0, next = 0x0 } #15 0x00000001000aa187 in command_loop_2 (ignore=) at keyboard.c:1321 val = 4377593632 #16 0x00000001001193c1 in internal_catch (tag=, func=0x1000aa150 , arg=4328534074) at eval.c:1204 c = { tag = 4328586298, val = 4328534074, next = 0x0, gcpro = 0x0, jmp = {5617656, 1, 1606411792, 32767, 1606411552, 32767, 5617792, 1, 5594576, 1, 5596000, 1, 34993160, 1, 1151920, 1, 530, 0, 8099, 895, 1606411836, 0, 344, 0, 1606411744, 22, 1454950, 1, 10, 8, 1606411900, 32767, 1606411888, 32767, 9613312, 14, 1796832}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 0, interrupt_input_blocked = 0, byte_stack = 0x0 } #17 0x00000001000aa3d6 in command_loop () at keyboard.c:1300 No locals. #18 0x00000001000aa84f in recursive_edit_1 () at keyboard.c:923 val = #19 0x00000001000aa9ef in Frecursive_edit () at keyboard.c:985 count = buffer = 4328534074 #20 0x00000001000a27c8 in main (argc=1, argv=0x7fff5fbfe840) at emacs.c:1721 dummy = 0 stack_bottom_variable = 0 '\0' do_initial_setlocale = skip_args = 0 rlim = { rlim_cur = 8720000, rlim_max = 67104768 } no_loadup = 0 junk = 0x0 dname_arg = 0x0 dname_arg2 = "\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\300_\377\177\000\000\000\000\000\000\000\000\000\000\370\005\300_\377\177\000\000\t\000\000\000\t\000\000\000(\352\277_\377\177\000\000`\a\300_\377\177", '\0' ch_to_dir = 0x0 Lisp Backtrace: "vm-retrieve-operable-messages" (0x5fbfdd48) "vm-edit-message" (0x5fbfdf98) "call-interactively" (0x5fbfe1e8) (gdb) xbacktrace full "vm-retrieve-operable-messages" (0x5fbfdd48) "vm-edit-message" (0x5fbfdf98) "call-interactively" (0x5fbfe1e8) (gdb)