From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.bugs Subject: bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac Date: Fri, 23 Oct 2009 12:24:30 -0400 Message-ID: <647005F2-143F-488D-9986-5011ACDDC2DF@gmail.com> References: <878wf2un8p.fsf@stupidchicken.com> Reply-To: Adrian Robert , 4765@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256316460 9451 80.91.229.12 (23 Oct 2009 16:47:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2009 16:47:40 +0000 (UTC) Cc: robert , 4765@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 23 18:47:33 2009 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.50) id 1N1NIY-0007C5-QK for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2009 18:47:31 +0200 Original-Received: from localhost ([127.0.0.1]:53090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1NIY-00086b-75 for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2009 12:47:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1NIQ-00085W-3H for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2009 12:47:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1NIM-00083Y-11 for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2009 12:47:21 -0400 Original-Received: from [199.232.76.173] (port=42077 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1NIL-00083P-Dv for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2009 12:47:17 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51793) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N1NIK-0005ED-Qz for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2009 12:47:17 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9NGlDPa025207; Fri, 23 Oct 2009 09:47:14 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9NGU6Co022726; Fri, 23 Oct 2009 09:30:06 -0700 Resent-Date: Fri, 23 Oct 2009 09:30:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Adrian Robert Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 23 Oct 2009 16:30:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4765 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4765-submit@emacsbugs.donarmstrong.com id=B4765.125631508321890 (code B ref 4765); Fri, 23 Oct 2009 16:30:05 +0000 Original-Received: (at 4765) by emacsbugs.donarmstrong.com; 23 Oct 2009 16:24:43 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-qy0-f197.google.com (mail-qy0-f197.google.com [209.85.221.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9NGOfI4021887 for <4765@emacsbugs.donarmstrong.com>; Fri, 23 Oct 2009 09:24:42 -0700 Original-Received: by qyk35 with SMTP id 35so6126353qyk.19 for <4765@emacsbugs.donarmstrong.com>; Fri, 23 Oct 2009 09:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=p9CKb2lNXIH6CD0mCloYu9dkXBQfCf/bobX19mWr/sM=; b=Kz13QgcVLBiGco3fnx5HDXLMszFU7KxRybVxjzhx+X6zgDcPnbCefdnqaEd2u3EV6U qviN5x2FxuNNqiDNGlA7aYZ7N0HxDjsCJ3simbXB265qCqvDzVjyozJdTPB66Gy81S8Y ehoMyOiXe7KMmpUjUsz28nTmpn7WrWaBcfQBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=iHbW25t+f3A9ypfJlJa6Sf67cwBuH0H07FCl5ql4blp7DxzeFav1PRw8Wd5vrlQ9gN gauC1vn8ISBGHgkhXlSIeuZZLO+kWR952IWpTKashEjxvUiq5x0aN47UgSigcANbeNKD xP6PJbQW2QeiEROkC+fmt6iav1mdCLYXAFLCU= Original-Received: by 10.224.117.203 with SMTP id s11mr5481517qaq.332.1256315075643; Fri, 23 Oct 2009 09:24:35 -0700 (PDT) Original-Received: from anahata.mshome.net (251.sub-75-237-232.myvzw.com [75.237.232.251]) by mx.google.com with ESMTPS id 7sm8497520qwf.46.2009.10.23.09.24.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Oct 2009 09:24:34 -0700 (PDT) In-Reply-To: <878wf2un8p.fsf@stupidchicken.com> X-Mailer: Apple Mail (2.1076) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 23 Oct 2009 12:47:21 -0400 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:32189 Archived-At: On Oct 23, 2009, at 11:46 AM, Chong Yidong wrote: > Hi Adrian, can you reproduce this problem? I can on Snow Leopard and Tiger but this is in -nw mode and the stack trace (below) shows nothing involved from NS side. Does it appear under other OS's? The stack trace below shows it resulting from ns_set_name() called from x_implicitly_set_name. ns_set_name does not check if it is an ns frame, but the X equivalent doesn't either. It seems like something is going wrong earlier if x_implicitly_set_name is being called for a non-GUI frame. -Adrian #0 0x000000010023528a in ns_set_name (f=0x10140dc28, name=4297771651, explicit=0) at nsfns.m:524 #1 0x00000001002354e2 in x_implicitly_set_name (f=0x10140dc28, arg=4297771651, oldval=4320133129) at nsfns.m:587 #2 0x000000010003603b in x_consider_frame_title (frame=4315995180) at xdisp.c:9512 #3 0x0000000100036109 in prepare_menu_bars () at xdisp.c:9566 #4 0x000000010003a015 in redisplay_internal (preserve_echo_area=0) at xdisp.c:11472 #5 0x0000000100038c57 in redisplay () at xdisp.c:11048 #6 0x00000001000df199 in read_char (commandflag=1, nmaps=2, maps=0x7fff5fbfe440, prev_event=4320133129, used_mouse_menu=0x7fff5fbfe888, end_time=0x0) at keyboard.c:2708 #7 0x00000001000ec4c3 in read_key_sequence (keybuf=0x7fff5fbfea30, bufsize=30, prompt=4320133129, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9462 #8 0x00000001000dba23 in command_loop_1 () at keyboard.c:1641 #9 0x00000001001897af in internal_condition_case (bfun=0x1000db5ae , handlers=4320212825, hfun=0x1000dad76 ) at eval.c:1490 #10 0x00000001000db24b in command_loop_2 () at keyboard.c:1358 #11 0x00000001001890d4 in internal_catch (tag=4320197385, func=0x1000db22a , arg=4320133129) at eval.c:1226 #12 0x00000001000db1f2 in command_loop () at keyboard.c:1337