Subject: Re: bug#11583: 24.0.97; 24 pretest Emacs.app crashes closing frames

From: Steven Parkes <[email-masked]>
Date: Sat, 2 Jun 2012 19:05:05 -0700

Okay, bt all appended, which also has the lisp backtrace in it.

The stack trace isn't all that similar to the last one, so I'm not quite sure what to make of it.

I've left gdb running, if you want me to look at anything.

This is running from the git mirror, with the most recent commit being

commit 29cc981de6dfae09b1662e1d81657ab6b69b0a05
Author: Glenn Morris <[email-masked]>
Date:   Fri Jun 1 07:18:14 2012 -0400

    Auto-commit of generated files.

Thanks!

(gdb) bt full
#0  0x00007fff87eae38d in objc_msgSend_vtable14 ()
No symbol table info available.
#1  0x00000001001a5c6d in x_free_frame_resources (f=0xb0000000109371a2) at nsterm.m:1164
	dpyinfo = (struct ns_display_info *) 0x10164b720
#2  0x00000001001a2089 in x_destroy_window (f=0xb0000000109371a2) at nsterm.m:1180
No locals.
#3  0x0000000100012a09 in delete_frame (frame=4449145253, force=140734799798688) at frame.c:1343
	kb = (struct kboard *) 0x10058c8b0
	f = (struct frame *) 0x1093091a0
#4  0x000000010012b4fd in Ffuncall (nargs=-5764607522756136542, args=0x10012b5b8) at eval.c:2984
	numargs = 2
	val = 4449791600
	lisp_numargs = 4449791600
	backtrace = {
  next = 0x7fff5fbfe358, 
  function = 0x7fff5fbfe230, 
  args = 0x7fff5fbfe238, 
  nargs = 2, 
  debug_on_exit = 0
}
	original_fun = 4296193464
#5  0x0000000100165675 in exec_byte_code (bytestr=4449791600, vector=4298305232, maxdepth=140734799798832, args_template=4328534074, nargs=140734799798824, args=0x0) at bytecode.c:785
	count = 8
	stack = {
  pc = 0x10049f71b "\202I", 
  byte_string = 4298305201, 
  byte_string_start = 0x10049f6d7 "\b\211\030:\203\r", 
  constants = 4298305237, 
  next = 0x7fff5fbfe3f8
}
	result = 4449791600
#6  0x000000010012dfba in funcall_lambda (fun=140734799799088, nargs=140734799799088, arg_vector=0x7fff5fbfe330) at eval.c:3233
	count = 7
	val = 4449791600
	syms_left = 4298305136
#7  0x000000010012b4e4 in Ffuncall (nargs=3, args=0x102038c1a) at eval.c:3051
	numargs = 1
	val = 4449791600
	lisp_numargs = 140734799799240
	backtrace = {
  next = 0x7fff5fbfe4d8, 
  function = 0x7fff5fbfe3c0, 
  args = 0x7fff5fbfe3c8, 
  nargs = 1, 
  debug_on_exit = 0
}
	original_fun = 4328754202
#8  0x0000000100165675 in exec_byte_code (bytestr=4449791600, vector=4489735712, maxdepth=140734799799232, args_template=4328534074, nargs=140734799799224, args=0x0) at bytecode.c:785
	count = 5
	stack = {
  pc = 0x10b1c57b3 "*\207", 
  byte_string = 4424236113, 
  byte_string_start = 0x10b1c5788 "\304 \305 \030\211\031\203\036", 
  constants = 4489735717, 
  next = 0x0
}
	result = 4449791600
#9  0x000000010012dfba in funcall_lambda (fun=140734799799472, nargs=140734799799472, arg_vector=0x7fff5fbfe4b0) at eval.c:3233
	count = 4
	val = 4449791600
	syms_left = 4489735968
#10 0x000000010012b4e4 in Ffuncall (nargs=2, args=0x10b196552) at eval.c:3051
	numargs = 1
	val = 4449791600
	lisp_numargs = 140734799799656
	backtrace = {
  next = 0x7fff5fbfe698, 
  function = 0x7fff5fbfe560, 
  args = 0x7fff5fbfe568, 
  nargs = 1, 
  debug_on_exit = 0
}
	original_fun = 4481181010
#11 0x0000000100127df9 in Fcall_interactively (function=140734799799920, record_flag=140734799799920, keys=140734799799920) at callint.c:852
	val = 4449791600
	key_count = 1606411888
	save_real_this_command = 4328534074
	save_this_command = 4328534074
	save_last_command = 4328581530
	prefix_arg = 4328534074
	enable = 4449791600
	save_this_original_command = 4328534074
	speccount = 2
#12 0x000000010012b423 in Ffuncall (nargs=2, args=0x10012b5b8) at eval.c:3009
	numargs = 3
	val = 4449791600
	lisp_numargs = 140734799799656
	backtrace = {
  next = 0x0, 
  function = 0x7fff5fbfe700, 
  args = 0x7fff5fbfe708, 
  nargs = 3, 
  debug_on_exit = 0
}
	original_fun = 4296193464
#13 0x000000010012e3a6 in call3 (fn=4, arg1=1, arg2=140734799799656, arg3=412896) at eval.c:2802
	ret_ungc_val = 4449791600
	args = {4328660426, 4481181010, 4328534074, 4496617125}
#14 0x00000001000c16e4 in read_char (commandflag=1606412720, nmaps=140734799800752, maps=0x7fff5fbfe9b0, prev_event=4496617125, used_mouse_menu=0x7fff5fbfe9b0, end_time=0x7fff5fbfe9b0) at keyboard.c:2888
	previous_echo_area_message = 4328534074
	reread = 0
	polling_stopped_here = 0
	local_getcjmp = {66532352, 1, 1606412720, 32767, 1606412080, 32767, 33566778, 1, 0, 0, 66532416, 1, 33566778, 1, 791862, 1, 1, 1606412560, 8098, 1115007, 1, 1606412640, 32767, 47571984, 1, 54292034, 1, 5829344, 1, 
  1606412592, 32767, 1157001, 1, 1606412224, 32767, 34776992, 1}
	key_already_recorded = 0
	c = 4485420422
	save_jump = {66532352, 1, 1606408784, 32767, 1606408144, 32767, 5833864, 1, 2, 0, 66534368, 1, 808592, 1, 791862, 1, 1, 1606408352, 8098, 895, 0, 194626192, 1, 75569145, 1, 132235457, 1, 75569128, 1, 194626197, 1, 198249952, 
  1, 1606408688, 32767, 1156698, 1}
	also_record = 4328534074
	orig_kboard = (struct kboard *) 0x1016509b0
#15 0x00000001000c5007 in read_key_sequence () at keyboard.c:2832
No symbol table info available.
#16 0x00000001000c6b9a in command_loop_1 () at keyboard.c:1449
	keybuf = {4594071430, 76, 4296303866, 2, 5901380968, 4328534122, 4496794352, 4297160113, -1, 2510667751411079379, 4328534074, 4297160113, 4328534074, 4328534122, 4328534074, 140734799801632, 4296323456, 4558581606, 
  4328590282, 2510667751411079379, 140734799801704, 4328534074, 4328534074, 4558581606, 4300801160, 140734799801680, 4295782350, 140734800051648, 4558581606, 4300796640}
#17 0x000000010012ebd3 in internal_condition_case (bfun=0x1000c5690 <command_loop_1>, handlers=4328590234, hfun=0x1000c6c30 <cmd_error>) at eval.c:1515
	c = {
  tag = 4328534074, 
  val = 4328534074, 
  next = 0x7fff5fbfef40, 
  gcpro = 0x0, 
  jmp = {814128, 1, 1606414080, 32767, 1606413792, 32767, 5833864, 1, 5824692, 1, 33622938, 1, 808592, 1, 1239902, 1, 5824692, 1, 8098, 895, 768048, 1, 1239902, 1, 585, 0, 8096, 895, 3, 0, 0, 0, 0, 16711680, 1128353093, 1330011987, 
    1281315918}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 0, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
	h = {
  handler = 4328590234, 
  var = 4328534074, 
  chosen_clause = 4328534122, 
  tag = 0x7fff5fbfee08, 
  next = 0x0
}
	val = 4449791600
#18 0x00000001000c566e in command_loop_2 (ignore=140734799801432) at keyboard.c:1160
No locals.
#19 0x000000010012ecd8 in internal_catch (tag=140734799801432, func=0x1000c5630 <command_loop_2>, arg=140734799801432) at eval.c:1272
	c = {
  tag = 4328586250, 
  val = 4328534074, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {33566778, 1, 1606414384, 32767, 1606414144, 32767, 5825160, 1, 5824692, 1, 808496, 1, 808496, 1, 1240261, 1, 19902464, 1, 8098, 895, 1606414288, 32767, -1918705244, 32767, 0, 0, 1529168, 1, 1606414432, 32767, 1606414440, 
    32767, 1910528, 1, 33566778, 1, 1606414384}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 0, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#20 0x00000001000c7190 in command_loop [inlined] () at /Users/smparkes/scm/emacs/emacs/emacs-24/src/keyboard.c:1139
	val = 4295775792
	count = 33618954
	val = 4295775792
#21 0x00000001000c7190 in recursive_edit_1 () at keyboard.c:759
	val = 4295775792
	count = 33618954
	val = 4295775792
#22 0x00000001000b6f4c in Frecursive_edit () at keyboard.c:823
	count = 0
	buffer = 4449791600
#23 0x00000001000b3a09 in main (argc=33618954, argv=0x7fff5fbff200) at emacs.c:1715
	stack_bottom_variable = 0 '\0'
	dummy = 0
	junk = 0x0
	skip_args = 0
	rlim = {
  rlim_cur = 8720000, 
  rlim_max = 67104768
}
	dname_arg = 0x0
	dname_arg2 = "\000\362\277_\377\177\000\000\032\023\300_\377\177", '\0' <repeats 14 times>, "\001", '\0' <repeats 19 times>, " \a\300_\377\177\000\0000\a\300_\377\177\000\000\000\000\000\000\001\000\000\000(\362\277_\377\177\000"
	ch_to_dir = 0x0

Lisp Backtrace:
"delete-frame" (0x5fbfe238)
"handle-delete-frame" (0x5fbfe3c8)
"dframe-handle-delete-frame" (0x5fbfe568)
"call-interactively" (0x5fbfe708)
(gdb)