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: Sat, 18 Dec 2010 01:42:02 +0200 Message-ID: References: <87tyic1uzh.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292629983 10672 80.91.229.12 (17 Dec 2010 23:53:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 23:53:03 +0000 (UTC) Cc: 7517@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 18 00:52:57 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 1PTk6X-0007QA-NJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Dec 2010 00:52:56 +0100 Original-Received: from localhost ([127.0.0.1]:44649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTk6W-0002g8-VJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Dec 2010 18:52:53 -0500 Original-Received: from [140.186.70.92] (port=60878 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTk6Q-0002ca-2B for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 18:52:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTk6N-0004Ma-Ni for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 18:52:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTk6N-0004MU-J0 for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 18:52:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PTjqE-00021K-Hh; Fri, 17 Dec 2010 18:36:02 -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: Fri, 17 Dec 2010 23:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7517 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 7517-submit@debbugs.gnu.org id=B7517.12926289447741 (code B ref 7517); Fri, 17 Dec 2010 23:36:02 +0000 Original-Received: (at 7517) by debbugs.gnu.org; 17 Dec 2010 23:35:44 +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 1PTjpv-00020n-J1 for submit@debbugs.gnu.org; Fri, 17 Dec 2010 18:35:44 -0500 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTjps-00020a-J6 for 7517@debbugs.gnu.org; Fri, 17 Dec 2010 18:35:41 -0500 Original-Received: by wwj40 with SMTP id 40so1270965wwj.15 for <7517@debbugs.gnu.org>; Fri, 17 Dec 2010 15:42:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=TTMEkLFAtLQqWoRicrrHtUPnMc/Joax6oarLV9ELiw8=; b=dntvzoi2fPF2wfxc3vxRxrxeeE48IAzjveDt4U9t0+ec00HTfa9djSVPlpDgZtpwdR ti79kqsVSudUwW4B/VYEIwwA5gIY7qw2a9Do4z2ROA+qmFlrwtfegsgfjVTiYhJ5UlOX yk7rRTTKx/lC3I97jBO12zAHfIhzDjFcXxCNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rrjgNYSjclCIBvITbGl8vhZ80y/uduA+gPynjO5EE9bzqSZfEOttz1XSPzVEDyHbwL dWr+DpB6hZ9cweZjnv8vuTBGXMkJxO156NAXBPSRDw8v/uq/HMWDCEN+Fsc4irzvUa7q U81yvdzhpNZFClEehVJYbFGZiPUJmH6ZH+pmo= Original-Received: by 10.216.63.15 with SMTP id z15mr1741538wec.74.1292629322115; Fri, 17 Dec 2010 15:42:02 -0800 (PST) Original-Received: by 10.216.185.212 with HTTP; Fri, 17 Dec 2010 15:42:02 -0800 (PST) In-Reply-To: <87tyic1uzh.fsf@stupidchicken.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 17 Dec 2010 18:36:02 -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:42613 Archived-At: and here is the backtrace for emacs-23.2 for the original bug. this is with optimization. should I try without? $ gdb /usr/local/emacs-23.2/nextstep/Emacs-23.2.app/Contents/MacOS/Emacs GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC 2= 010) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you ar= e welcome to change it and/or distribute copies of it under certain condition= s. 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 (gdb) run Starting program: /usr/local/emacs-23.2/nextstep/Emacs-23.2.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 2010-12-17 18:39:00.121 Emacs[36221:a0f] *** Assertion failure in -[EmacsWindow setTitle:], /SourceCache/AppKit/AppKit-1038.35/AppKit.subproj/NSWindow.m:2036 2010-12-17 18:39:00.124 Emacs[36221:a0f] An uncaught exception was raised 2010-12-17 18:39:00.124 Emacs[36221:a0f] Invalid parameter not satisfying: aString !=3D nil 2010-12-17 18:39:00.128 Emacs[36221:a0f] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString !=3D nil' *** Call stack at first throw: ( 0 CoreFoundation 0x00007fff842277b4 __exceptionPreprocess + 180 1 libobjc.A.dylib 0x00007fff83f070f3 objc_exception_throw + 45 2 CoreFoundation 0x00007fff842275d7 +[NSException raise:format:arguments:] + 103 3 Foundation 0x00007fff8394687a -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198 4 AppKit 0x00007fff8052ab98 -[NSWindow setTitle:] + 141 5 Emacs 0x000000010017b99c ns_set_name_as_filename + 844 6 Emacs 0x0000000100037cd1 prepare_menu_bars + 721 7 Emacs 0x000000010004150a redisplay_internal + 3146 8 Emacs 0x0000000100041e5f redisplay_preserve_echo_area + 47 9 Emacs 0x00000001000058a1 Fredisplay + 22= 5 10 Emacs 0x00000001001092c2 Ffuncall + 1218 11 Emacs 0x0000000100145abe Fbyte_code + 68= 14 12 Emacs 0x0000000100108c0c funcall_lambda = + 588 13 Emacs 0x0000000100109052 Ffuncall + 594 14 Emacs 0x0000000100145abe Fbyte_code + 68= 14 15 Emacs 0x0000000100108c0c funcall_lambda = + 588 16 Emacs 0x0000000100109052 Ffuncall + 594 17 Emacs 0x000000010010acb5 Fapply + 325 18 Emacs 0x000000010010935b Ffuncall + 1371 19 Emacs 0x0000000100145abe Fbyte_code + 68= 14 20 Emacs 0x0000000100108674 Feval + 1476 21 Emacs 0x000000010010b1e6 internal_lisp_condition_case + 502 22 Emacs 0x0000000100144b25 Fbyte_code + 28= 21 23 Emacs 0x0000000100108c0c funcall_lambda = + 588 24 Emacs 0x0000000100109052 Ffuncall + 594 25 Emacs 0x000000010010a79e call1 + 30 26 Emacs 0x0000000100099695 timer_check + 1= 013 27 Emacs 0x000000010014dd28 wait_reading_process_output + 3816 28 Emacs 0x000000010014f4a8 Faccept_process_output + 312 29 Emacs 0x0000000100109283 Ffuncall + 1155 30 Emacs 0x0000000100145abe Fbyte_code + 68= 14 31 Emacs 0x0000000100108674 Feval + 1476 32 Emacs 0x000000010010b1e6 internal_lisp_condition_case + 502 33 Emacs 0x0000000100144b25 Fbyte_code + 28= 21 34 Emacs 0x0000000100108c0c funcall_lambda = + 588 35 Emacs 0x0000000100109052 Ffuncall + 594 36 Emacs 0x0000000100145abe Fbyte_code + 68= 14 37 Emacs 0x0000000100108c0c funcall_lambda = + 588 38 Emacs 0x0000000100109052 Ffuncall + 594 39 Emacs 0x000000010010a9af run_hook_with_args + 271 40 Emacs 0x000000010010ab46 Frun_hooks + 54 41 Emacs 0x000000010010935b Ffuncall + 1371 42 Emacs 0x000000010010a79e call1 + 30 43 Emacs 0x0000000100107727 internal_condition_case + 327 44 Emacs 0x000000010009a9b0 safe_run_hooks = + 80 45 Emacs 0x00000001000a3903 command_loop_1 + 1315 46 Emacs 0x0000000100107727 internal_condition_case + 327 47 Emacs 0x000000010009aa07 command_loop_2 = + 55 48 Emacs 0x0000000100107830 internal_catch = + 224 49 Emacs 0x000000010009b496 command_loop + = 182 50 Emacs 0x000000010009b8ff recursive_edit_1 + 159 51 Emacs 0x000000010009ba9f Frecursive_edit + 287 52 Emacs 0x0000000100091087 main + 3447 53 Emacs 0x00000001000020b4 start + 52 54 ??? 0x0000000000000001 0x0 + 1 ) terminate called after throwing an instance of 'NSException' Program received signal SIGABRT, Aborted. 0x00007fff84003616 in __kill () (gdb) bt full #0 0x00007fff84003616 in __kill () No symbol table info available. #1 0x00007fff840a3cca in abort () No symbol table info available. #2 0x00007fff888e15d2 in __gnu_cxx::__verbose_terminate_handler () No symbol table info available. #3 0x00007fff83f0ad29 in _objc_terminate () No symbol table info available. #4 0x00007fff888dfae1 in __cxxabiv1::__terminate () No symbol table info available. #5 0x00007fff888dfb16 in std::terminate () No symbol table info available. #6 0x00007fff888dfbfc in __cxa_throw () No symbol table info available. #7 0x00007fff83f07192 in objc_exception_throw () No symbol table info available. #8 0x00007fff842275d7 in +[NSException raise:format:arguments:] () No symbol table info available. #9 0x00007fff8394687a in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] () No symbol table info available. #10 0x00007fff8052ab98 in -[NSWindow setTitle:] () No symbol table info available. #11 0x000000010017b99c in ns_set_name_as_filename (f=3D0x100753e70) at nsfn= s.m:666 str =3D (NSString *) 0x0 view =3D (NSView *) 0x100ae85f0 name =3D 4802201153 buf =3D title =3D #12 0x0000000100037cd1 in prepare_menu_bars () at xdisp.c:9475 tail =3D fmt =3D len =3D 0 title =3D 0x100a0c4d0 "" it =3D { window =3D 4797980437, w =3D 0x11dfb5f10, f =3D 0x100753e70, method =3D GET_FROM_BUFFER, stop_charpos =3D 0, end_charpos =3D 0, s =3D 0x0, string_nchars =3D 0, region_beg_charpos =3D -1, region_end_charpos =3D -1, redisplay_end_trigger_charpos =3D 0, multibyte_p =3D 1, header_line_p =3D 0, string_from_display_prop_p =3D 0, ellipsis_p =3D 0, avoid_cursor_p =3D 0, dp =3D 0x116916eb0, dpvec =3D 0x0, dpend =3D 0x0, dpvec_char_len =3D 0, dpvec_face_id =3D 0, saved_face_id =3D 0, ctl_chars =3D {0 }, start =3D { pos =3D { charpos =3D 0, bytepos =3D 0 }, overlay_string_index =3D 0, string_pos =3D { charpos =3D 0, bytepos =3D 0 }, dpvec_index =3D 0 }, current =3D { pos =3D { charpos =3D 0, bytepos =3D 0 }, overlay_string_index =3D -1, string_pos =3D { charpos =3D -1, bytepos =3D -1 }, dpvec_index =3D -1 }, n_overlay_strings =3D 0, overlay_strings =3D {0 }, string_overlays =3D {0 }, string =3D 4320133130, from_overlay =3D 0, stack =3D {{ string =3D 0, string_nchars =3D 0, end_charpos =3D 0, stop_charpos =3D 0, cmp_it =3D { stop_pos =3D 0, id =3D 0, ch =3D 0, lookback =3D 0, nglyphs =3D 0, nchars =3D 0, nbytes =3D 0, from =3D 0, to =3D 0, width =3D 0 }, face_id =3D 0, u =3D { image =3D { object =3D 0, slice =3D { x =3D 0, y =3D 0, width =3D 0, height =3D 0 }, image_id =3D 0 }, comp =3D { object =3D 0 }, stretch =3D { object =3D 0 } }, position =3D { charpos =3D 0, bytepos =3D 0 }, current =3D { pos =3D { charpos =3D 0, bytepos =3D 0 }, overlay_string_index =3D 0, string_pos =3D { charpos =3D 0, bytepos =3D 0 }, dpvec_index =3D 0 }, from_overlay =3D 0, area =3D LEFT_MARGIN_AREA, method =3D GET_FROM_BUFFER, multibyte_p =3D 0, string_from_display_prop_p =3D 0, display_ellipsis_p =3D 0, avoid_cursor_p =3D 0, line_wrap =3D TRUNCATE, voffset =3D 0, space_width =3D 0, font_height =3D 0 }, { string =3D 0, string_nchars =3D 0, end_charpos =3D 0, stop_charpos =3D 0, cmp_it =3D { stop_pos =3D 0, id =3D 0, ch =3D 0, lookback =3D 0, nglyphs =3D 0, nchars =3D 0, nbytes =3D 0, from =3D 0, to =3D 0, width =3D 0 }, face_id =3D 0, u =3D { image =3D { object =3D 0, slice =3D { x =3D 0, y =3D 0, width =3D 0, height =3D 0 }, image_id =3D 0 }, comp =3D { object =3D 0 }, stretch =3D { object =3D 0 } }, position =3D { charpos =3D 0, bytepos =3D 0 }, current =3D { pos =3D { charpos =3D 0, bytepos =3D 0 }, overlay_string_index =3D 0, string_pos =3D { charpos =3D 0, bytepos =3D 0 }, dpvec_index =3D 0 }, from_overlay =3D 0, area =3D LEFT_MARGIN_AREA, method =3D GET_FROM_BUFFER, multibyte_p =3D 0, string_from_display_prop_p =3D 0, display_ellipsis_p =3D 0, avoid_cursor_p =3D 0, line_wrap =3D TRUNCATE, voffset =3D 0, space_width =3D 0, font_height =3D 0 }, { string =3D 0, string_nchars =3D 0, end_charpos =3D 0, stop_charpos =3D 0, cmp_it =3D { stop_pos =3D 0, id =3D 0, ch =3D 0, lookback =3D 0, nglyphs =3D 0, nchars =3D 0, nbytes =3D 0, from =3D 0, to =3D 0, width =3D 0 }, face_id =3D 0, u =3D { image =3D { object =3D 0, slice =3D { x =3D 0, y =3D 0, width =3D 0, height =3D 0 }, image_id =3D 0 }, comp =3D { object =3D 0 }, stretch =3D { object =3D 0 } }, position =3D { charpos =3D 0, bytepos =3D 0 }, current =3D { pos =3D { charpos =3D 0, bytepos =3D 0 }, overlay_string_index =3D 0, string_pos =3D { charpos =3D 0, bytepos =3D 0 }, dpvec_index =3D 0 }, from_overlay =3D 0, area =3D LEFT_MARGIN_AREA, method =3D GET_FROM_BUFFER, multibyte_p =3D 0, string_from_display_prop_p =3D 0, display_ellipsis_p =3D 0, avoid_cursor_p =3D 0, line_wrap =3D TRUNCATE, voffset =3D 0, space_width =3D 0, font_height =3D 0 }, { string =3D 0, string_nchars =3D 0, end_charpos =3D 0, stop_charpos =3D 0, cmp_it =3D { stop_pos =3D 0, id =3D 0, ch =3D 0, lookback =3D 0, nglyphs =3D 0, nchars =3D 0, nbytes =3D 0, from =3D 0, to =3D 0, width =3D 0 }, face_id =3D 0, u =3D { image =3D { object =3D 0, slice =3D { x =3D 0, y =3D 0, width =3D 0, height =3D 0 }, image_id =3D 0 }, comp =3D { object =3D 0 }, stretch =3D { object =3D 0 } }, position =3D { charpos =3D 0, bytepos =3D 0 }, current =3D { pos =3D { charpos =3D 0, bytepos =3D 0 }, overlay_string_index =3D 0, string_pos =3D { charpos =3D 0, bytepos =3D 0 }, dpvec_index =3D 0 }, from_overlay =3D 0, area =3D LEFT_MARGIN_AREA, method =3D GET_FROM_BUFFER, multibyte_p =3D 0, string_from_display_prop_p =3D 0, display_ellipsis_p =3D 0, avoid_cursor_p =3D 0, line_wrap =3D TRUNCATE, voffset =3D 0, space_width =3D 0, font_height =3D 0 }}, sp =3D 0, selective =3D 0, what =3D IT_CHARACTER, face_id =3D 0, selective_display_ellipsis_p =3D 1, ctl_arrow_p =3D 1, face_box_p =3D 0, start_of_box_run_p =3D 0, end_of_box_run_p =3D 0, overlay_strings_at_end_processed_p =3D 0, ignore_overlay_strings_at_pos_p =3D 0, glyph_not_available_p =3D 0, starts_in_middle_of_char_p =3D 0, face_before_selective_p =3D 0, constrain_row_ascent_descent_p =3D 0, line_wrap =3D WINDOW_WRAP, base_face_id =3D 0, c =3D 0, len =3D 0, cmp_it =3D { stop_pos =3D 0, id =3D -1, ch =3D 0, lookback =3D 0, nglyphs =3D 0, nchars =3D 0, nbytes =3D 0, from =3D 0, to =3D 0, width =3D 0 }, char_to_display =3D 0, image_id =3D 0, slice =3D { x =3D 4320133130, y =3D 4320133130, width =3D 4320133130, height =3D 4320133130 }, space_width =3D 4320133130, voffset =3D 0, tab_width =3D 8, font_height =3D 4320133130, object =3D 0, position =3D { charpos =3D 0, bytepos =3D 0 }, truncation_pixel_width =3D 0, continuation_pixel_width =3D 0, first_visible_x =3D 0, last_visible_x =3D 1080, last_visible_y =3D 696, extra_line_spacing =3D 0, max_extra_line_spacing =3D 0, override_ascent =3D -1, override_descent =3D 0, override_boff =3D 0, glyph_row =3D 0x0, area =3D TEXT_AREA, nglyphs =3D 0, pixel_width =3D 0, ascent =3D 0, descent =3D 0, max_ascent =3D 0, max_descent =3D 0, phys_ascent =3D 0, phys_descent =3D 0, max_phys_ascent =3D 0, max_phys_descent =3D 0, current_x =3D 0, continuation_lines_width =3D 0, current_y =3D 0, first_vpos =3D 0, vpos =3D 0, hpos =3D 0, left_user_fringe_bitmap =3D 0, right_user_fringe_bitmap =3D 0, left_user_fringe_face_id =3D 0, right_user_fringe_face_id =3D 0 } f =3D frame =3D Cannot access memory at address 0x0 (gdb) On Fri, Dec 17, 2010 at 1:47 PM, Chong Yidong wrote= : > emacs user writes: > >> This crash occurs when I use vm to read my mail, and attempt to edit >> an email written in non-English characters. =A0I cannot provide a simple >> reproducible example, but it is very easy for me to reproduce this >> with my setup and mail files. =A0Am happy to try patches etc. =A0Backtra= ce >> attached. > > The backtrace doesn't tell much. =A0Please try couple of things to pin > down the problem: > > 1. Compile without optimizations (CFLAGS=3D"-g" ./configure; make) and > =A0 post another backtrace. > > 2. Bisect to find the checkin that introduced this problem. > > Thanks. >