unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Adrian Robert <adrian.b.robert@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: robert <robert@morrison.gslt.hum.gu.se>, 4765@emacsbugs.donarmstrong.com
Subject: bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac
Date: Fri, 23 Oct 2009 12:24:30 -0400	[thread overview]
Message-ID: <647005F2-143F-488D-9986-5011ACDDC2DF@gmail.com> (raw)
In-Reply-To: <878wf2un8p.fsf@stupidchicken.com>


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  
<command_loop_1>, handlers=4320212825, hfun=0x1000dad76 <cmd_error>)  
at eval.c:1490
#10 0x00000001000db24b in command_loop_2 () at keyboard.c:1358
#11 0x00000001001890d4 in internal_catch (tag=4320197385,  
func=0x1000db22a <command_loop_2>, arg=4320133129) at eval.c:1226
#12 0x00000001000db1f2 in command_loop () at keyboard.c:1337







  reply	other threads:[~2009-10-23 16:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 15:46 bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac Chong Yidong
2009-10-23 16:24 ` Adrian Robert [this message]
2009-10-23 16:59   ` Chong Yidong
2009-10-23 20:10     ` Adrian Robert
2009-10-23 20:53       ` Chong Yidong
2011-11-17  0:47       ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2009-10-20 14:38 robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=647005F2-143F-488D-9986-5011ACDDC2DF@gmail.com \
    --to=adrian.b.robert@gmail.com \
    --cc=4765@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=robert@morrison.gslt.hum.gu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).