From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Mattner Newsgroups: gmane.emacs.devel Subject: Re: C-g crash in C-x C-f (OSX Lion) Date: Fri, 16 Dec 2011 21:19:19 +0100 Message-ID: References: <4EEB48B2.9090602@swipnet.se> <83liqc1tac.fsf@gnu.org> 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 1324066771 3228 80.91.229.12 (16 Dec 2011 20:19:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2011 20:19:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 16 21:19:27 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RbeFa-00019C-1A for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2011 21:19:26 +0100 Original-Received: from localhost ([::1]:42554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbeFZ-0001oy-76 for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2011 15:19:25 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbeFW-0001ot-QX for emacs-devel@gnu.org; Fri, 16 Dec 2011 15:19:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbeFV-0007H2-MQ for emacs-devel@gnu.org; Fri, 16 Dec 2011 15:19:22 -0500 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:45354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbeFU-0007Gl-2P; Fri, 16 Dec 2011 15:19:20 -0500 Original-Received: by ghrr18 with SMTP id r18so2784302ghr.0 for ; Fri, 16 Dec 2011 12:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=no1nW4U0xlHKFvsozyXI/iw2uP+5x4EdbPLzDYuobg4=; b=J/LoxZzVSQ5cZJ0j+gwqAkSC8SQdzKQ45QGjacCH8fPTv2qhTYF7rmzSPpc3WqcekV e8SqZbUjoutogjWVGTeewRKFb11JZOPEssFX/r+NdrYoZlj4ERWuX/1pF6RU6Y/kgM67 /FcqLycMIhjhH5uOTZy4zAqylJmd2OkkhBSas= Original-Received: by 10.50.42.166 with SMTP id p6mr10488572igl.17.1324066759222; Fri, 16 Dec 2011 12:19:19 -0800 (PST) Original-Received: by 10.50.6.165 with HTTP; Fri, 16 Dec 2011 12:19:19 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146749 Archived-At: On Fri, Dec 16, 2011 at 9:14 PM, Carsten Mattner wrote: > On Fri, Dec 16, 2011 at 9:11 PM, Carsten Mattner > wrote: >> On Fri, Dec 16, 2011 at 8:02 PM, Carsten Mattner >> wrote: >>> On Fri, Dec 16, 2011 at 8:00 PM, Carsten Mattner >>> wrote: >>>> OK, I made it crash. >>>> I'm not sure what it was exactly but I was about to discard the change= s >>>> to a file and pressed kill-buffer (C-x k) and probably C-g to cancel. >>> >>> Should I try without evil-mode loaded? >>> >>> Maybe I should kept it in gdb for more commands to run on the live >>> image. Sorry, I will keep the next crash open if you think it's useful. >> >> Happened again and this time also when I did a visual selection of >> text in a buffer. >> >> Eli, any further inspection you want me to do for revealing more info ab= out >> the crash? >> >> I was also able to make it crash when started with -nw. >> Looks like the same fault: > > Sorry, it's not the same backtrace. My fault. > This is the one with the Cocoa frontend: > #0 =A00x9adc5d50 in strlen () > #1 =A00x001e7601 in intern (str=3D0x0) at lread.c:3707 > #2 =A00x00283efb in ns_string_to_symbol (t=3D0x0) at nsselect.m:86 > #3 =A00x002847ab in ns_handle_selection_request (event=3D0xbfffef88) at > nsselect.m:247 > > vs the below with with the terminal frontend. > > Next I will not load evil-mode and see what happens. Can these crashes happen due to enabled assertions? Doesn't look like that to me, but with evil-mode not loaded I was able to make it crash by pressing C-S-> and then C-S-b (was trying to remember the Emacs editing binding equivalent of { in evil-mode. #0 0x9adc5d50 in strlen () #1 0x001e7601 in intern (str=3D0x0) at lread.c:3707 #2 0x00283efb in ns_string_to_symbol (t=3D0x0) at nsselect.m:86 #3 0x002847ab in ns_handle_selection_request (event=3D0xbfffef88) at nsselect.m:247 #4 0x00285202 in Fx_own_selection_internal (selection_name=3D27744162, selection_value=3D47468977) at nsselect.m:425 #5 0x001b025b in Ffuncall (nargs=3D3, args=3D0xbffff090) at eval.c:2989 #6 0x0020e3b1 in exec_byte_code (bytestr=3D3581977, vector=3D3581997, maxdepth=3D20, args_template=3D27703842, nargs=3D0, args=3D0x0) at bytecode.c:785 #7 0x001b0e01 in funcall_lambda (fun=3D3581941, nargs=3D2, arg_vector=3D0xbffff440) at eval.c:3217 #8 0x001b04a0 in Ffuncall (nargs=3D3, args=3D0xbffff43c) at eval.c:3035 #9 0x001af8e4 in call2 (fn=3D27744138, arg1=3D27744162, arg2=3D47468977) a= t eval.c:2770 #10 0x000f7a89 in command_loop_1 () at keyboard.c:1659 #11 0x001ac5d6 in internal_condition_case (bfun=3D0xf6b70 , handlers=3D27748746, hfun=3D0xf6180 ) at eval.c:1499 #12 0x000f66cd in command_loop_2 (ignore=3D27703842) at keyboard.c:1159 #13 0x001abebf in internal_catch (tag=3D27746770, func=3D0xf6690 , arg=3D27703842) at eval.c:1256 #14 0x000f664b in command_loop () at keyboard.c:1138 #15 0x000f5b95 in recursive_edit_1 () at keyboard.c:758 #16 0x000f5d86 in Frecursive_edit () at keyboard.c:822 #17 0x000f3b6a in main (argc=3D1, argv=3D0xbffff9cc) at emacs.c:1709 .... (gdb) bt full#0 0x9adc5d50 in strlen () No symbol table info available. #1 0x001e7601 in intern (str=3D0x0) at lread.c:3707 tem =3D 1178832048 len =3D 4363 obarray =3D 0 #2 0x00283efb in ns_string_to_symbol (t=3D0x0) at nsselect.m:86 No locals. #3 0x002847ab in ns_handle_selection_request (event=3D0xbfffef88) at nsselect.m:247 pb =3D (id) 0x0 type =3D (NSString *) 0xacc4eb98 selection_name =3D 47582326