Subject: 24.2; gtk3 (from Macports); visible-bell trips cairo assertion

From: Simon Leinen <[email-masked]>
Date: Sun, 9 Sep 2012 18:59:52 +0200

My .emacs sets visible-bell to t.  When I compile Emacs on MacOS X with
Gtk3 (from Macports) as the X toolkit and run it, it crashes almost
instantly with a failed assertion in cairo_pattern_destroy().

I can reproduce this using emacs -Q by saying:

  M-: (setq visible-bell t)
  M-x ding

Here are the backtraces from GDB.

(gdb) r
Starting program: /private/var/tmp/emacs/build/src/emacs -Q
Reading symbols for shared libraries .................. done
Assertion failed: (CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&pattern->ref_count)), function cairo_pattern_destroy, file cairo-pattern.c, line 822.

Program received signal SIGABRT, Aborted.
0x00007fff986dbce2 in __pthread_kill ()
(gdb) bt full
#0  0x00007fff986dbce2 in __pthread_kill ()
No symbol table info available.
#1  0x00007fff8e5677d2 in pthread_kill ()
No symbol table info available.
#2  0x00007fff8e558a7a in abort ()
No symbol table info available.
#3  0x00007fff8e58b5de in __assert_rtn ()
No symbol table info available.
#4  0x0000000100ecd44c in cairo_pattern_destroy ()
No symbol table info available.
#5  0x0000000100eb600d in _cairo_gstate_set_source ()
No symbol table info available.
#6  0x0000000100eade35 in cairo_set_source ()
No symbol table info available.
#7  0x0000000100eadfc6 in cairo_set_source_rgb ()
No symbol table info available.
#8  0x00000001000ae32a in XTflash [inlined] () at /private/var/tmp/emacs/emacs-24.2/src/xterm.c:3050
	wakeup = {tv_sec = 4299859674, tv_usec = 537281269}
	window = (GdkWindow *) 0x0
	cr = (cairo_t *) 0x10293fa00
	flash_left = 4
	flash_height = 0
	height = 5203816
	flash_right = 556795399
	width = 556795399
#9  0x00000001000ae32a in XTring_bell (f=0x10a100670) at xterm.c:3236
	wakeup = {tv_sec = 4299859674, tv_usec = 537281269}
	window = (GdkWindow *) 0x0
	cr = (cairo_t *) 0x10293fa00
	flash_left = 4
	flash_height = 0
	height = 5203816
	flash_right = 556795399
	width = 556795399
#10 0x0000000100002f03 in Fding () at dispnew.c:5959
	arg = #11 0x00000001001849ff in Ffuncall (nargs=21763, args=0x100184bd8) at eval.c:3001
	numargs = 0
	backtrace = {next = 0x7fff5fbfdfb8, function = 0x7fff5fbfde88, args = 0x7fff5fbfde90, nargs = 0, debug_on_exit = 0}
#12 0x00000001001c3a61 in exec_byte_code (nargs=140734799797888, args=0x2a) at bytecode.c:785
	count = 20
	stack = {pc = 0x1004ab447 "ˆ.!ˆ.‰‰#‚Z\001‰=ƒR", byte_string = {i = -9223372036317495514, s = {val = 537280294, type = Lisp_String}, u = {val = 537280294, type = Lisp_String}}, byte_string_start = 0x1004ab422 "  \001\001{\003!\005†\017", constants = {i = -6917529027103801558, s = {val = 537280298, type = Lisp_Vectorlike}, u = {val = 537280298, type = Lisp_Vectorlike}}, next = 0x7fff5fbfe068}
	bytestr = #13 0x0000000100184af7 in Ffuncall (nargs=1, args=0x400000002132c7c9) at eval.c:3050
	numargs = 2
	backtrace = {next = 0x7fff5fbfe0e8, function = 0x7fff5fbfe020, args = 0x7fff5fbfe028, nargs = 2, debug_on_exit = 0}
#14 0x00000001001c3a61 in exec_byte_code (nargs=0, args=0x7fff5fbfe158) at bytecode.c:785
	count = 20
	stack = {pc = 0x1004ab126 "‡", byte_string = {i = -9223372036317495187, s = {val = 537280621, type = Lisp_String}, u = {val = 537280621, type = Lisp_String}}, byte_string_start = 0x1004ab122 ".\"‡", constants = {i = -6917529027103801231, s = {val = 537280625, type = Lisp_Vectorlike}, u = {val = 537280625, type = Lisp_Vectorlike}}, next = 0x7fff5fbfe3f8}
	bytestr = #15 0x0000000100184af7 in Ffuncall (nargs=3, args=0xa000000020064066) at eval.c:3050
	numargs = 0
	backtrace = {next = 0x7fff5fbfe1c0, function = 0x7fff5fbfe150, args = 0x7fff5fbfe158, nargs = 0, debug_on_exit = 0}
#16 0x0000000100186af3 in eval_sub () at eval.c:2321
	sa_count = 20
	argvals = {{i = 9, s = {val = 9, type = Lisp_Int}, u = {val = 9, type = Lisp_Int}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4296559576, s = {val = 4296559576, type = Lisp_Int}, u = {val = 4296559576, type = Lisp_Int}}, {i = 4611686018427387904, s = {val = 0, type = Lisp_Symbol}, u = {val = 0, type = Lisp_Symbol}}, {i = -6917529027103566116, s = {val = 537515740, type = Lisp_Vectorlike}, u = {val = 537515740, type = Lisp_Vectorlike}}, {i = 140734799798736, s = {val = 140734799798736, type = Lisp_Int}, u = {val = 140734799798736, type = Lisp_Int}}, {i = 4300171112, s = {val = 4300171112, type = Lisp_Int}, u = {val = 4300171112, type = Lisp_Int}}}
	original_args = {i = -4611686017870099496, s = {val = 557288408, type = Lisp_Cons}, u = {val = 557288408, type = Lisp_Cons}}
	original_fun = {i = 4611686018984197319, s = {val = 556809415, type = Lisp_Symbol}, u = {val = 556809415, type = Lisp_Symbol}}
	backtrace = {next = 0x7fff5fbfe478, function = 0x7fff5fbfe1f0, args = 0x7fff5fbfe150, nargs = 1, debug_on_exit = 0}
	form = #17 0x0000000100188a5f in internal_lisp_condition_case (var={i = 4611686018984364093, s = {val = 556976189, type = Lisp_Symbol}, u = {val = 556976189, type = Lisp_Symbol}}) at eval.c:1468
	c = {tag = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, val = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, next = 0x7fff5fbfe888, gcpro = 0x0, jmp = {557288394, -1073741824, 1606411136, 32767, 1606410832, 32767, 1606411184, 32767, 0, 0, 557288406, -1073741824, 1606411168, 32767, 1608013, 1, 0, 1073741824, 8100, -1610611841, 1606411176, 32767, 0, -536870912, 1606411136, 32767, 1591843, 1, 4, 0, 3, 0, 0, 1073741824, 1606411384, 32767, 1606411168}, backlist = 0x7fff5fbfe478, handlerlist = 0x7fff5fbfe860, lisp_eval_depth = 8, pdlcount = 20, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7fff5fbfe3f8}
	h = {handler = {i = -4611686017870099510, s = {val = 557288394, type = Lisp_Cons}, u = {val = 557288394, type = Lisp_Cons}}, var = {i = 4611686018984364093, s = {val = 556976189, type = Lisp_Symbol}, u = {val = 556976189, type = Lisp_Symbol}}, chosen_clause = {i = 4611686018984200427, s = {val = 556812523, type = Lisp_Symbol}, u = {val = 556812523, type = Lisp_Symbol}}, tag = 0x7fff5fbfe280, next = 0x7fff5fbfe860}
	bodyform = #18 0x00000001001c4320 in exec_byte_code (nargs=140734799799192, args=0x7fff5fbfe3b8) at bytecode.c:981
	count = 20
	stack = {pc = 0x1004ab0fa "\001\"ƒƒ", byte_string = {i = -9223372036317495160, s = {val = 537280648, type = Lisp_String}, u = {val = 537280648, type = Lisp_String}}, byte_string_start = 0x1004ab083 "  \001\001Uƒ\017", constants = {i = -6917529027103801204, s = {val = 537280652, type = Lisp_Vectorlike}, u = {val = 537280652, type = Lisp_Vectorlike}}, next = 0x7fff5fbfed38}
	bytestr = #19 0x0000000100184af7 in Ffuncall (nargs=4611686018984364093, args=0x400000002132c831) at eval.c:3050
	numargs = 0
	backtrace = {next = 0x7fff5fbfe618, function = 0x7fff5fbfe4f8, args = 0x7fff5fbfe500, nargs = 0, debug_on_exit = 0}
#20 0x00000001001873d6 in apply1 (fn=Cannot access memory at address 0x0
) at eval.c:2737
	fn = #21 0x000000010017fd38 in Fcall_interactively () at callint.c:377
	events = 4611686018984183303
	key_count = 1606411760
	speccount = 19
	function = #22 0x0000000100184a23 in Ffuncall (nargs=4611686018984364081, args=0x100184bd8) at eval.c:3008
	numargs = 3
	backtrace = {next = 0x7fff5fbfec18, function = 0x7fff5fbfe680, args = 0x7fff5fbfe688, nargs = 3, debug_on_exit = 0}
#23 0x0000000100187e96 in call3 () at eval.c:2801
	args = {{i = 4611686018984199091, s = {val = 556811187, type = Lisp_Symbol}, u = {val = 556811187, type = Lisp_Symbol}}, {i = 4611686018984364081, s = {val = 556976177, type = Lisp_Symbol}, u = {val = 556976177, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}}
	fn = #24 0x0000000100116d68 in command_loop_1 () at keyboard.c:1572
	keybuf = {{i = 13, s = {val = 13, type = Lisp_Int}, u = {val = 13, type = Lisp_Int}}, {i = 5195040, s = {val = 5195040, type = Lisp_Int}, u = {val = 5195040, type = Lisp_Int}}, {i = 4611686018984183297, s = {val = 556795393, type = Lisp_Symbol}, u = {val = 556795393, type = Lisp_Symbol}}, {i = -4611686017870102264, s = {val = 557285640, type = Lisp_Cons}, u = {val = 557285640, type = Lisp_Cons}}, {i = -4611686017870102264, s = {val = 557285640, type = Lisp_Cons}, u = {val = 557285640, type = Lisp_Cons}}, {i = 140734799800152, s = {val = 140734799800152, type = Lisp_Int}, u = {val = 140734799800152, type = Lisp_Int}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4300093055, s = {val = 4300093055, type = Lisp_Int}, u = {val = 4300093055, type = Lisp_Int}}, {i = 140734799800144, s = {val = 140734799800144, type = Lisp_Int}, u = {val = 140734799800144, type = Lisp_Int}}, {i = 40, s = {val = 40, type = Lisp_Int}, u = {val = 40, type = Lisp_Int}}, {i = 140734799800136, s = {val = 140734799800136, type = Lisp_Int}, u = {val = 140734799800136, type = Lisp_Int}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 140734799800320, s = {val = 140734799800320, type = Lisp_Int}, u = {val = 140734799800320, type = Lisp_Int}}, {i = 4296817347, s = {val = 4296817347, type = Lisp_Int}, u = {val = 4296817347, type = Lisp_Int}}, {i = -4611686017870102264, s = {val = 557285640, type = Lisp_Cons}, u = {val = 557285640, type = Lisp_Cons}}, {i = -4611686017870102264, s = {val = 557285640, type = Lisp_Cons}, u = {val = 557285640, type = Lisp_Cons}}, {i = -4611686017870102218, s = {val = 557285686, type = Lisp_Cons}, u = {val = 557285686, type = Lisp_Cons}}, {i = 4611686018984201487, s = {val = 556813583, type = Lisp_Symbol}, u = {val = 556813583, type = Lisp_Symbol}}, {i = -4611686017870102218, s = {val = 557285686, type = Lisp_Cons}, u = {val = 557285686, type = Lisp_Cons}}, {i = 40, s = {val = 40, type = Lisp_Int}, u = {val = 40, type = Lisp_Int}}, {i = 0, s = {val = 0, type = Lisp_Int}, u = {val = 0, type = Lisp_Int}}, {i = 0, s = {val = 0, type = Lisp_Int}, u = {val = 0, type = Lisp_Int}}, {i = 4333338624, s = {val = 4333338624, type = Lisp_Int}, u = {val = 4333338624, type = Lisp_Int}}, {i = 21, s = {val = 21, type = Lisp_Int}, u = {val = 21, type = Lisp_Int}}, {i = 4297517080, s = {val = 4297517080, type = Lisp_Int}, u = {val = 4297517080, type = Lisp_Int}}, {i = 4300093067, s = {val = 4300093067, type = Lisp_Int}, u = {val = 4300093067, type = Lisp_Int}}, {i = -9223372036317586177, s = {val = 537189631, type = Lisp_String}, u = {val = 537189631, type = Lisp_String}}, {i = 4300092913, s = {val = 4300092913, type = Lisp_Int}, u = {val = 4300092913, type = Lisp_Int}}, {i = -6917529027103892221, s = {val = 537189635, type = Lisp_Vectorlike}, u = {val = 537189635, type = Lisp_Vectorlike}}}
#25 0x00000001001886d3 in internal_condition_case (bfun=0x1001166f0 <command_loop_1>, hfun=0x100117e10 <cmd_error>) at eval.c:1514
	c = {tag = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, val = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, next = 0x7fff5fbfe9c0, gcpro = 0x0, jmp = {1146384, 1, 1606412672, 32767, 1606412384, 32767, 5203816, 1, 5199064, 1, 556802413, 1073741824, 1140464, 1, 1607262, 1, 16, 0, 8100, 895, 556795399, 1073741824, 1606412704, 32767, 1849773, 1, 556795399, 1073741824, 556795399, 1073741824, 1606412992, 32767, 1606412984, 32767, 556795405, 1073741824, 17}, backlist = 0x7fff5fbfec18, handlerlist = 0x7fff5fbff5c0, lisp_eval_depth = 6, pdlcount = 18, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7fff5fbfed38}
	h = {handler = {i = 4611686018984190317, s = {val = 556802413, type = Lisp_Symbol}, u = {val = 556802413, type = Lisp_Symbol}}, var = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, chosen_clause = {i = 5, s = {val = 5, type = Lisp_Int}, u = {val = 5, type = Lisp_Int}}, tag = 0x7fff5fbfe888, next = 0x7fff5fbff5c0}
	handlers = #26 0x00000001001166ce in command_loop_2 () at keyboard.c:1160
	ignore = #27 0x00000001001887d8 in internal_catch (func=0x100116690 <command_loop_2>) at eval.c:1271
	c = {tag = {i = 4611686018984197049, s = {val = 556809145, type = Lisp_Symbol}, u = {val = 556809145, type = Lisp_Symbol}}, val = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, next = 0x7fff5fbff5e8, gcpro = 0x0, jmp = {556795399, 1073741824, 1606412976, 32767, 1606412736, 32767, 5203912, 1, 5199064, 1, 1140368, 1, 5203816, 1, 1607621, 1, 0, 1073741824, 8100, 895, 1606412992, 32767, 1606413000, 32767, 0, 0, 5203816, 1, -1344311129, -305381117, 0, -1073741824, 556896114, -1073741824, 556795399, 1073741824, 1606412976}, backlist = 0x7fff5fbfec18, handlerlist = 0x7fff5fbff5c0, lisp_eval_depth = 6, pdlcount = 18, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7fff5fbfed38}
	tag = #28 0x00000001001183bd in command_loop [inlined] () at /private/var/tmp/emacs/emacs-24.2/src/keyboard.c:1125
	count = 556809145
#29 0x00000001001183bd in recursive_edit_1 () at keyboard.c:759
	count = 556809145
#30 0x0000000100139319 in read_minibuf (initial={i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, expflag=1606413168, allow_props=0, inherit_input_method=0, histpos={i = 0, s = {val = 0, type = Lisp_Int}, u = {val = 0, type = Lisp_Int}}, defalt={i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}) at minibuf.c:677
	count = 10
	pos = 17
	map = #31 0x000000010013611b in Fread_from_minibuffer (default_value={i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, inherit_input_method={i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}) at minibuf.c:980
	histpos = {i = 0, s = {val = 0, type = Lisp_Int}, u = {val = 0, type = Lisp_Int}}
	prompt = #32 0x0000000100184ab3 in Ffuncall (nargs=4611686018984197049, args=0x100184bd8) at eval.c:3027
	numargs = 7
	backtrace = {next = 0x7fff5fbfedb8, function = 0x7fff5fbfecd0, args = 0x7fff5fbfecd8, nargs = 7, debug_on_exit = 0}
#33 0x00000001001c3a61 in exec_byte_code (nargs=140734799801536, args=0x0) at bytecode.c:785
	count = 7
	stack = {pc = 0x1004a8a67 "‰šƒY", byte_string = {i = -9223372036317492502, s = {val = 537283306, type = Lisp_String}, u = {val = 537283306, type = Lisp_String}}, byte_string_start = 0x1004a8a25 "\003:ƒ\r", constants = {i = -6917529027103798546, s = {val = 537283310, type = Lisp_Vectorlike}, u = {val = 537283310, type = Lisp_Vectorlike}}, next = 0x7fff5fbfefe8}
	bytestr = #34 0x0000000100184af7 in Ffuncall (nargs=8, args=0x400000002132ca6d) at eval.c:3050
	numargs = 8
	backtrace = {next = 0x7fff5fbfef18, function = 0x7fff5fbfee30, args = 0x7fff5fbfee38, nargs = 8, debug_on_exit = 0}
#35 0x0000000100138206 in Fcompleting_read (def=Cannot access memory at address 0x0
) at minibuf.c:1725
	args = {{i = 4611686018984364653, s = {val = 556976749, type = Lisp_Symbol}, u = {val = 556976749, type = Lisp_Symbol}}, {i = -9223372036312978202, s = {val = 541797606, type = Lisp_String}, u = {val = 541797606, type = Lisp_String}}, {i = -6917529027084287999, s = {val = 556793857, type = Lisp_Vectorlike}, u = {val = 556793857, type = Lisp_Vectorlike}}, {i = 4611686018984197063, s = {val = 556809159, type = Lisp_Symbol}, u = {val = 556809159, type = Lisp_Symbol}}, {i = 4611686018984183309, s = {val = 556795405, type = Lisp_Symbol}, u = {val = 556795405, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4611686018984189369, s = {val = 556801465, type = Lisp_Symbol}, u = {val = 556801465, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}}
	prompt = #36 0x0000000100184ab3 in Ffuncall (nargs=9, args=0x4000000021300607) at eval.c:3027
	numargs = 6
	backtrace = {next = 0x7fff5fbff0c8, function = 0x7fff5fbfef80, args = 0x7fff5fbfef88, nargs = 6, debug_on_exit = 0}
#37 0x00000001001c3a61 in exec_byte_code (nargs=140734799802240, args=0x7fff5fbfef88) at bytecode.c:785
	count = 5
	stack = {pc = 0x1004a5ceb "*‡", byte_string = {i = -9223372036317488437, s = {val = 537287371, type = Lisp_String}, u = {val = 537287371, type = Lisp_String}}, byte_string_start = 0x1004a5ca0 "\030\020Ž.\b\"ˆ\t=ƒ\026", constants = {i = -6917529027103794481, s = {val = 537287375, type = Lisp_Vectorlike}, u = {val = 537287375, type = Lisp_Vectorlike}}, next = 0x0}
	bytestr = #38 0x0000000100187a93 in funcall_lambda (nargs=140734799802528, arg_vector=0x7fff5fbff0a0) at eval.c:3232
	count = 5
	fun = #39 0x0000000100184af7 in Ffuncall (nargs=7, args=0x4000000021310333) at eval.c:3050
	numargs = 0
	backtrace = {next = 0x7fff5fbff1c8, function = 0x7fff5fbff138, args = 0x7fff5fbff140, nargs = 0, debug_on_exit = 0}
#40 0x0000000100187f1a in call0 (fn={i = 4611686018984248115, s = {val = 556860211, type = Lisp_Symbol}, u = {val = 556860211, type = Lisp_Symbol}}) at eval.c:2755
No locals.
#41 0x0000000100107838 in Fexecute_extended_command () at keyboard.c:10369
	saved_last_point_position = 192
	hstarted = 1
	prefixarg = #42 0x00000001001849ff in Ffuncall (nargs=4611686018984183303, args=0x100184bd8) at eval.c:3001
	numargs = 1
	backtrace = {next = 0x7fff5fbff378, function = 0x7fff5fbff250, args = 0x7fff5fbff258, nargs = 1, debug_on_exit = 0}
#43 0x0000000100180ee4 in Fcall_interactively () at callint.c:852
	key_count = 1606415184
	speccount = 3
	function = #44 0x0000000100184a23 in Ffuncall (nargs=2, args=0x100184bd8) at eval.c:3008
	numargs = 3
	backtrace = {next = 0x0, function = 0x7fff5fbff3e0, args = 0x7fff5fbff3e8, nargs = 3, debug_on_exit = 0}
#45 0x0000000100187e96 in call3 () at eval.c:2801
	args = {{i = 4611686018984199091, s = {val = 556811187, type = Lisp_Symbol}, u = {val = 556811187, type = Lisp_Symbol}}, {i = 4611686018984189873, s = {val = 556801969, type = Lisp_Symbol}, u = {val = 556801969, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}}
	fn = #46 0x0000000100116d68 in command_loop_1 () at keyboard.c:1572
	keybuf = {{i = 134217848, s = {val = 134217848, type = Lisp_Int}, u = {val = 134217848, type = Lisp_Int}}, {i = 4300162408, s = {val = 4300162408, type = Lisp_Int}, u = {val = 4300162408, type = Lisp_Int}}, {i = 4300161948, s = {val = 4300161948, type = Lisp_Int}, u = {val = 4300161948, type = Lisp_Int}}, {i = 0, s = {val = 0, type = Lisp_Int}, u = {val = 0, type = Lisp_Int}}, {i = 140734799803504, s = {val = 140734799803504, type = Lisp_Int}, u = {val = 140734799803504, type = Lisp_Int}}, {i = 140734799803584, s = {val = 140734799803584, type = Lisp_Int}, u = {val = 140734799803584, type = Lisp_Int}}, {i = 4296569141, s = {val = 4296569141, type = Lisp_Int}, u = {val = 4296569141, type = Lisp_Int}}, {i = 3, s = {val = 3, type = Lisp_Int}, u = {val = 3, type = Lisp_Int}}, {i = -6917529027103837986, s = {val = 537243870, type = Lisp_Vectorlike}, u = {val = 537243870, type = Lisp_Vectorlike}}, {i = 1606672376, s = {val = 1606672376, type = Lisp_Int}, u = {val = 1606672376, type = Lisp_Int}}, {i = 0, s = {val = 0, type = Lisp_Int}, u = {val = 0, type = Lisp_Int}}, {i = -1311601907380293465, s = {val = 994241101833400487, type = Lisp_Float}, u = {val = 994241101833400487, type = Lisp_Float}}, {i = -6917529027103837986, s = {val = 537243870, type = Lisp_Vectorlike}, u = {val = 537243870, type = Lisp_Vectorlike}}, {i = 4300162408, s = {val = 4300162408, type = Lisp_Int}, u = {val = 4300162408, type = Lisp_Int}}, {i = 4300161948, s = {val = 4300161948, type = Lisp_Int}, u = {val = 4300161948, type = Lisp_Int}}, {i = -4611686017870547680, s = {val = 556840224, type = Lisp_Cons}, u = {val = 556840224, type = Lisp_Cons}}, {i = 4296063024, s = {val = 4296063024, type = Lisp_Int}, u = {val = 4296063024, type = Lisp_Int}}, {i = 140734799803824, s = {val = 140734799803824, type = Lisp_Int}, u = {val = 140734799803824, type = Lisp_Int}}, {i = 4296568116, s = {val = 4296568116, type = Lisp_Int}, u = {val = 4296568116, type = Lisp_Int}}, {i = 140734800051584, s = {val = 140734800051584, type = Lisp_Int}, u = {val = 140734800051584, type = Lisp_Int}}, {i = 4300713984, s = {val = 4300713984, type = Lisp_Int}, u = {val = 4300713984, type = Lisp_Int}}, {i = 140734800051584, s = {val = 140734800051584, type = Lisp_Int}, u = {val = 140734800051584, type = Lisp_Int}}, {i = 140734800082072, s = {val = 140734800082072, type = Lisp_Int}, u = {val = 140734800082072, type = Lisp_Int}}, {i = 140734799803696, s = {val = 140734799803696, type = Lisp_Int}, u = {val = 140734799803696, type = Lisp_Int}}, {i = 140734799871673, s = {val = 140734799871673, type = Lisp_Int}, u = {val = 140734799871673, type = Lisp_Int}}, {i = 1606635792, s = {val = 1606635792, type = Lisp_Int}, u = {val = 1606635792, type = Lisp_Int}}, {i = 4611686018984183297, s = {val = 556795393, type = Lisp_Symbol}, u = {val = 556795393, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}}
#47 0x00000001001886d3 in internal_condition_case (bfun=0x1001166f0 <command_loop_1>, hfun=0x100117e10 <cmd_error>) at eval.c:1514
	c = {tag = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, val = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, next = 0x7fff5fbff720, gcpro = 0x0, jmp = {1146384, 1, 1606416096, 32767, 1606415808, 32767, 5203816, 1, 5194652, 1, 556802413, 1073741824, 1140464, 1, 1607262, 1, 5194652, 1, 8100, 1073742719, 1095728, 1, 1607262, 1, 338, 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 = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
	h = {handler = {i = 4611686018984190317, s = {val = 556802413, type = Lisp_Symbol}, u = {val = 556802413, type = Lisp_Symbol}}, var = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, chosen_clause = {i = 140734799804160, s = {val = 140734799804160, type = Lisp_Int}, u = {val = 140734799804160, type = Lisp_Int}}, tag = 0x7fff5fbff5e8, next = 0x0}
	handlers = #48 0x00000001001166ce in command_loop_2 () at keyboard.c:1160
	ignore = #49 0x00000001001887d8 in internal_catch (func=0x100116690 <command_loop_2>) at eval.c:1271
	c = {tag = {i = 4611686018984189817, s = {val = 556801913, type = Lisp_Symbol}, u = {val = 556801913, type = Lisp_Symbol}}, val = {i = 4611686018984183303, s = {val = 556795399, type = Lisp_Symbol}, u = {val = 556795399, type = Lisp_Symbol}}, next = 0x0, gcpro = 0x0, jmp = {556795399, 1073741824, 1606416400, 32767, 1606416160, 32767, 5195112, 1, 5194652, 1, 1140368, 1, 1140368, 1, 1607621, 1, 38371328, 1, 8100, 895, 1606416304, 32767, -1906605660, 32767, 1606416368, 0, 1920532, 1, 1606416456, 32767, 1606416464, 32767, 2186960, 1, 556795399, 1073741824, 1606416400}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
	tag = #50 0x0000000100118380 in command_loop [inlined] () at /private/var/tmp/emacs/emacs-24.2/src/keyboard.c:1139
	count = 556801913
#51 0x0000000100118380 in recursive_edit_1 () at keyboard.c:759
	count = 556801913
#52 0x0000000100106a5d in Frecursive_edit () at keyboard.c:823
	count = 0
#53 0x000000010010324f in main (argc=1606416704, argv=0x7fff5fbff940) at emacs.c:1715
	stack_bottom_variable = 0 '\0'
	skip_args = 0
	rlim = {rlim_cur = 8720000, rlim_max = 67104768}
	junk = 0x0
	ch_to_dir = 0x7fff5fbff9a0 "(._"
	dummy = {i = 317108413333453, s = {val = 317108413333453, type = Lisp_Int}, u = {val = 317108413333453, type = Lisp_Int}}
	dname_arg = 0x0
(gdb) xbacktrace
"ding" (0x5fbfde90)
"completion--do-completion" (0x5fbfe028)
0x320330 PVEC_COMPILED
"funcall" (0x5fbfe150)
"minibuffer-complete-and-exit" (0x5fbfe500)
"call-interactively" (0x5fbfe688)
"read-from-minibuffer" (0x5fbfecd8)
"completing-read-default" (0x5fbfee38)
"completing-read" (0x5fbfef88)
"read-extended-command" (0x5fbff140)
"execute-extended-command" (0x5fbff258)
"call-interactively" (0x5fbff3e8)
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /private/var/tmp/emacs/build/src/emacs -Q
Reading symbols for shared libraries .................. done

In GNU Emacs 24.2.2 (x86_64-apple-darwin11.4.2, GTK+ Version 3.4.4)
 of 2012-09-09 on Simons-MacBook-Air.local
Windowing system distributor `The X.Org Foundation', version 11.0.11006000
Configured using:
 `configure '--verbose' '--enable-asserts'
 '--enable-use-lisp-union-type' '--enable-profiling'
 '--with-x-toolkit=gtk3''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> C-x C-f # <tab> <backspace> ~ / # <tab> 
C-g M-x r e p o - e m - b <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)