[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac

From: Adrian Robert
Subject: bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac
Date: Fri, 23 Oct 2009 12:24:30 -0400

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.


#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 via email to

[Prev in Thread] Current Thread [Next in Thread]