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: Sat, 17 Dec 2011 17:20:05 +0100 Message-ID: References: <4EEB48B2.9090602@swipnet.se> <83liqc1tac.fsf@gnu.org> <83fwgk1atk.fsf@gnu.org> <838vmb1tu6.fsf@gnu.org> <54BDFFDD-C0D2-4242-94D8-91D988B74283@swipnet.se> 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 1324138818 15856 80.91.229.12 (17 Dec 2011 16:20:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2011 16:20:18 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 17 17:20:14 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 1Rbwzd-0000yx-QQ for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2011 17:20:14 +0100 Original-Received: from localhost ([::1]:40019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbwzc-0000H8-BX for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2011 11:20:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbwzZ-0000Go-9d for emacs-devel@gnu.org; Sat, 17 Dec 2011 11:20:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbwzY-0004YU-65 for emacs-devel@gnu.org; Sat, 17 Dec 2011 11:20:09 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:53195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbwzW-0004Wa-Mi; Sat, 17 Dec 2011 11:20:06 -0500 Original-Received: by iacb35 with SMTP id b35so5105146iac.0 for ; Sat, 17 Dec 2011 08:20:05 -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=JS5/4rHr23OjqKxrBoKiRiD+EX+lVeXnwC+sVhTNfZc=; b=uK39S1EqjfJyC7soM7hU2B9231LXu/10BAejolBlOCYT1nctsh4BLytrC/l6Ex++Y9 sR5pkARkVXXmTqQpdW3gySUeALgr1ljkx/QKQFJPo8+U+u6UgtRMT7hQDFyJzyNeJlbe JJK0KCcMSwhOa7qc4nul5/PdhQYYdby5RThSA= Original-Received: by 10.50.219.226 with SMTP id pr2mr5833756igc.77.1324138805749; Sat, 17 Dec 2011 08:20:05 -0800 (PST) Original-Received: by 10.50.6.165 with HTTP; Sat, 17 Dec 2011 08:20:05 -0800 (PST) In-Reply-To: <54BDFFDD-C0D2-4242-94D8-91D988B74283@swipnet.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.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:146776 Archived-At: On Sat, Dec 17, 2011 at 5:09 PM, Jan Dj=E4rv wrote: > Hello. > > 17 dec 2011 kl. 16:39 skrev Carsten Mattner: > >> >> New session same #4 for that call >> (gdb) frame 4 >> #4 =A00x00285202 in Fx_own_selection_internal (selection_name=3D27744162= , >> selection_value=3D78814449) at nsselect.m:425 >> 425 =A0 =A0 =A0 =A0 ns_handle_selection_request (&ev); >> Current language: =A0auto; currently objective-c >> (gdb) p selection_name >> $1 =3D 27744162 >> (gdb) xtype >> Undefined command: "xtype". =A0Try "help". >> (gdb) xsymbol >> Undefined command: "xsymbol". =A0Try "help". >> (gdb) >> >> Could gdb be too old for xsymbol/xtype commands? Are those aliases? > > They are commands from .gdbinit in Emacs src directory. =A0You should sta= rt gdb when standing in that directory, or source that file into gdb. =A0Th= at is, when gdb is started: > > (gdb) source /src/.gdbinit Oops, sorry, forgot to follow etc/DEBUG (gdb) bt #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=3D0xbfffef78) at nsselect.m:247 #4 0x00285202 in Fx_own_selection_internal (selection_name=3D27744162, selection_value=3D39064129) at nsselect.m:425 #5 0x001b025b in Ffuncall (nargs=3D3, args=3D0xbffff080) 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=3D0xbffff430) at eval.c:3217 #8 0x001b04a0 in Ffuncall (nargs=3D3, args=3D0xbffff42c) at eval.c:3035 #9 0x001af8e4 in call2 (fn=3D27744138, arg1=3D27744162, arg2=3D39064129) a= t eval.c:2770 #10 0x000f7a33 in command_loop_1 () at keyboard.c:1656 #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=3D0xbffff9c0) at emacs.c:1709 Lisp Backtrace: "x-own-selection-internal" (0xbffff084) "x-set-selection" (0xbffff430) (gdb) frame 4 #4 0x00285202 in Fx_own_selection_internal (selection_name=3D27744162, selection_value=3D39064129) at nsselect.m:425 425 ns_handle_selection_request (&ev); Current language: auto; currently objective-c (gdb) p selection_name $1 =3D 27744162 (gdb) xtype Lisp_Symbol (gdb) xsymbol $2 =3D (struct Lisp_Symbol *) 0x1a757a0 "PRIMARY" (gdb) I didn't run src/emacs but the application bundle for the Cocoa app to properly load and display an interactive window and not just one which doesn't accept input events from keyboard/mouse.