unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
@ 2009-02-02  8:39 ` YAMAMOTO Mitsuharu
  2009-02-04 11:50   ` bug#2154: marked as done (23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout) Emacs bug Tracking System
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-02-02  8:39 UTC (permalink / raw)
  To: emacs-pretest-bug

Steps to reproduce:
  1. $ Emacs.app/Contents/MacOS/Emacs -Q
  2. (let (last-nonmenu-event) (y-or-n-p-with-timeout "foo" 3 'bar)) C-j

Result:
  The GUI dialog appears, but doesn't pop down after 3 seconds.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

In GNU Emacs 23.0.90.1 (powerpc-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-02-02 on yamamoto-mitsuharu-no-power-mac-g5.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.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
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<menu-bar> <help-menu> <send-emacs-bug-report>

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#2154: marked as done (23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout)
  2009-02-02  8:39 ` bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout YAMAMOTO Mitsuharu
@ 2009-02-04 11:50   ` Emacs bug Tracking System
       [not found]   ` <handler.2154.D2154.123374786227909.notifdone@emacsbugs.donarmstrong.com>
  2009-08-26 15:05   ` bug#2154: marked as done (23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout) Emacs bug Tracking System
  2 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-02-04 11:50 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]


Your message dated Wed, 4 Feb 2009 13:44:33 +0200
with message-id <127B9A17-5256-48F0-9D13-9FE490FA6EE4@gmail.com>
and subject line Closing
has caused the Emacs bug report #2154,
regarding 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2154: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2154
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3556 bytes --]

From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
Date: Mon, 02 Feb 2009 17:39:00 +0900
Message-ID: <wly6wpnsgr.wl%mituharu@math.s.chiba-u.ac.jp>

Steps to reproduce:
  1. $ Emacs.app/Contents/MacOS/Emacs -Q
  2. (let (last-nonmenu-event) (y-or-n-p-with-timeout "foo" 3 'bar)) C-j

Result:
  The GUI dialog appears, but doesn't pop down after 3 seconds.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

In GNU Emacs 23.0.90.1 (powerpc-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-02-02 on yamamoto-mitsuharu-no-power-mac-g5.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.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
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<menu-bar> <help-menu> <send-emacs-bug-report>

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



[-- Attachment #3: Type: message/rfc822, Size: 2515 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 2154-done@emacsbugs.donarmstrong.com
Subject: Closing
Date: Wed, 4 Feb 2009 13:44:33 +0200
Message-ID: <127B9A17-5256-48F0-9D13-9FE490FA6EE4@gmail.com>

Closing, fixed with patch checked in 2009/02/04 to nsmenu.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
       [not found]   ` <handler.2154.D2154.123374786227909.notifdone@emacsbugs.donarmstrong.com>
@ 2009-02-05  0:42     ` YAMAMOTO Mitsuharu
  2009-02-05  1:54       ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-02-05  0:42 UTC (permalink / raw)
  To: 2154

reopen 2154

The same experiment below causes reproducible crash on my side (Mac OS
X 10.5.6, CFLAGS='-g -Wno-pointer-sign').
  1. $ Emacs.app/Contents/MacOS/Emacs -Q
  2. (let (last-nonmenu-event) (y-or-n-p-with-timeout "foo" 3 'bar)) C-j

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

In GNU Emacs 23.0.90.1 (powerpc-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-02-05 on yamamoto-mitsuharu-no-power-mac-g5.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.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
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000001
0x0010bc4c in timer_check (do_it_now=72) at /Users/mituharu/src/cvs/emacs-23/emacs/src/keyboard.c:4659
4659		  return difference;
(gdb) bt full
#0  0x0010bc4c in timer_check (do_it_now=72) at /Users/mituharu/src/cvs/emacs-23/emacs/src/keyboard.c:4659
	timer = 42270916
	idle_timer = 25165833
	vector = (Lisp_Object *) 0x28500c8
	timer_time = {
  tv_sec = 1233794406, 
  tv_usec = 879399
}
	idle_timer_time = {
  tv_sec = 1080033280, 
  tv_usec = 0
}
	difference = {
  tv_sec = 2, 
  tv_usec = 926120
}
	timer_difference = {
  tv_sec = 2, 
  tv_usec = 926120
}
	idle_timer_difference = {
  tv_sec = 527, 
  tv_usec = -1582186029
}
	nexttime = {
  tv_sec = -1, 
  tv_usec = -1
}
	now = {
  tv_sec = 1233794403, 
  tv_usec = 953279
}
	idleness_now = {
  tv_sec = 0, 
  tv_usec = 0
}
	timers = 25165833
	idle_timers = 25165833
	chosen_timer = 42270916
	gcpro1 = {
  next = 0x0, 
  var = 0x0, 
  nvars = 0
}
	gcpro2 = {
  next = 0x0, 
  var = 0x7cb8f5, 
  nvars = -1598910256
}
	gcpro3 = {
  next = 0x969490d0, 
  var = 0xbfffcdc0, 
  nvars = 0
}
#1  0x002a6950 in -[EmacsDialogPanel runDialogAt:] (self=0x282d3d0, _cmd=0x2de3fc, p={x = 842, y = 362}) at /Users/mituharu/src/cvs/emacs-23/emacs/src/nsmenu.m:1886
	e = (NSEvent *) 0x0
	session = (NSModalSession) 0x8dec50
	ret = -1002
#2  0x002a4ca0 in ns_popup_dialog (position=25165881, contents=8173845, header=25165833) at /Users/mituharu/src/cvs/emacs-23/emacs/src/nsmenu.m:1563
	specpdl_count = 18
	dialog = (id) 0x282d3d0
	window = 9008372
	tem = 2973068
	f = (struct frame *) 0x897370
	p = {
  x = 842, 
  y = 362
}
	isQ = 1 '\001'
#3  0x002a6bc0 in Fx_popup_dialog (position=25165881, contents=8173845, header=25165833) at /Users/mituharu/src/cvs/emacs-23/emacs/src/nsmenu.m:1986
No locals.
#4  0x001e299c in Fy_or_n_p (prompt=25647083) at /Users/mituharu/src/cvs/emacs-23/emacs/src/fns.c:2652
	pane = 8173837
	menu = 8173845
	obj = 42270916
	key = 1
	def = 25165833
	map = 7715589
	answer = 17
	xprompt = 25647083
	args = {41, 17}
	gcpro1 = {
  next = 0x28500c4, 
  var = 0x30, 
  nvars = 0
}
	gcpro2 = {
  next = 0xbfffcf70, 
  var = 0x20efa0, 
  nvars = -1073753792
}
	count = 17
#5  0x001d2424 in Ffuncall (nargs=2, args=0xbfffd080) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3044
	fun = 4505300
	original_fun = 25267369
	funcar = 1
	numargs = 1
	lisp_numargs = -1073754048
	val = 42270916
	backtrace = {
  next = 0xbfffd31c, 
  function = 0xbfffd080, 
  args = 0xbfffd084, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbfffd084
	i = 0
#6  0x0023b2d4 in Fbyte_code (bytestr=3614659, vector=3614684, maxdepth=48) at /Users/mituharu/src/cvs/emacs-23/emacs/src/bytecode.c:678
	count = 17
	op = 1
	vectorp = (Lisp_Object *) 0x3727e0
	bytestr_length = 17
	stack = {
  pc = 0x3ebe01 "\025\307\207", 
  top = 0xbfffd084, 
  bottom = 0xbfffd080, 
  byte_string = 3614659, 
  byte_string_start = 0x3ebdf3 "\306\b\307\310\t$\211\022\vB\023\311\f!\025\307\207", 
  constants = 3614684, 
  next = 0xbfffd8f4
}
	top = (Lisp_Object *) 0xbfffd080
	result = 1
#7  0x001d0afc in Feval (form=3614645) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:2381
	numargs = 24
	args_left = 25165833
	i = 3
	maxargs = 3
	argvals = {3614659, 3614684, 48, -1073753184, 0, -1073753232, 2171360, -1073752960}
	fun = 4509036
	val = 50
	original_fun = 25276753
	original_args = 3614653
	funcar = 2503736
	backtrace = {
  next = 0xbfffdb2c, 
  function = 0xbfffd314, 
  args = 0xbfffd354, 
  nargs = 3, 
  evalargs = 1 '\001', 
  debug_on_exit = 0 '\0'
}
	gcpro1 = {
  next = 0xbfffd480, 
  var = 0x40, 
  nvars = 1
}
	gcpro2 = {
  next = 0x33, 
  var = 0xbfffd3a0, 
  nvars = 115
}
	gcpro3 = {
  next = 0x33, 
  var = 0xbfffd354, 
  nvars = 3
}
#8  0x001cdd74 in internal_catch (tag=7488093, func=0x1d0334 <Feval>, arg=3614645) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:1247
	c = {
  tag = 7488093, 
  val = 25165833, 
  next = 0xbfffee6c, 
  gcpro = 0x0, 
  jmp = {-1073753168, 4774164, 0 <repeats 13 times>, -1073743648, 12, 0, 0, -1073753168, 1891432, 1891668, 1207960584, 0, 34325246, 0, -524288, -2113921024, 0, -1073753096, 0, 0, -1073752960, 2158496, -1073752496, 0, 2158568, -1771111472, -1073752816, 0, 20977276, -1073752672, 3, 1, 2510400, 0, 0, 190, 3, 3, 25263697, 25647355, 0, 0, 0, 80, -1073752864, 2509444, -1073752736, 0, 6150408, 0, 6123531, 190, 20977272, 140, -1073752752, -1771111608, 25386320, -2021289069, -1073752720, 80, -1771111560, 20977272, -1073752720, 0, -1073752976, 40, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -20212890
 69, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -103
 5222635, -2021289069, 12, 12, 16, 5475429, 41, 25263697, 3, 192, -1073752528, 1, -1073752592, 1914900, -1073752448, 1, 1915064, 0, -1073752496, 255, 20977276, 2288584, -1073752224, 0, 20977276, 2494248, -1073752400, 0, -1073752528, 22394988, 25165833, 1, 1263296, 25326401, 4508372, -1073751732, -1073752384, 25165833, 20977276, 1263324, 0, -1073752380, 1, 0, 20977276, -1073752360, 0, 2, -1073752416, 2336260, -1073751824, 12, 2339748, 20977272, 40, 25386208, 15, 25165833, -1073751824, 0, 10, 0, 0, 7488085, 7488013, 0, 25326401, 22394988, -1073752368, 1908196, -1073752272, 1, 41, 25165881, -1073752272, 0, 7488085, 25165833, 7488085, 80}, 
  backlist = 0xbfffdb2c, 
  handlerlist = 0xbffff198, 
  lisp_eval_depth = 7, 
  pdlcount = 17, 
  poll_suppress_count = 0, 
  interrupt_input_blocked = 0, 
  byte_stack = 0xbfffd8f4
}
#9  0x0023c360 in Fbyte_code (bytestr=3614587, vector=3614604, maxdepth=40) at /Users/mituharu/src/cvs/emacs-23/emacs/src/bytecode.c:853
	v1 = 3614645
	count = 13
	op = 141
	vectorp = (Lisp_Object *) 0x372790
	bytestr_length = 27
	stack = {
  pc = 0x3ebe12 "\203\024", 
  top = 0xbfffd774, 
  bottom = 0xbfffd770, 
  byte_string = 3614587, 
  byte_string_start = 0x3ebe05 "\305\211B\305\211\b\030\031\032\211\033\306\215\203\024", 
  constants = 3614604, 
  next = 0xbfffe004
}
	top = (Lisp_Object *) 0xbfffd770
	result = 1883484
#10 0x001d2fe4 in funcall_lambda (fun=3614532, nargs=3, arg_vector=0xbfffda60) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3231
	val = 0
	syms_left = 25165833
	next = 25219609
	count = 10
	i = 3
	optional = 0
	rest = 0
#11 0x001d2ab8 in apply_lambda (fun=3614532, args=7488045, eval_flag=1) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3155
	args_left = 25165833
	numargs = 24
	arg_vector = (Lisp_Object *) 0xbfffda60
	gcpro1 = {
  next = 0xbfffdad0, 
  var = 0x1, 
  nvars = 3
}
	gcpro2 = {
  next = 0x18139d1, 
  var = 0x44c9e4, 
  nvars = -1073750508
}
	gcpro3 = {
  next = 0xbfffdb10, 
  var = 0x1aa5e01, 
  nvars = 25165857
}
	i = 3
	tem = 25351313
#12 0x001d0d08 in Feval (form=7488037) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:2417
	fun = 3614532
	val = 140
	original_fun = 27928361
	original_args = 7488045
	funcar = 25165833
	backtrace = {
  next = 0xbfffdd2c, 
  function = 0xbfffdb24, 
  args = 0xbfffda60, 
  nargs = 3, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	gcpro1 = {
  next = 0xbfffdbc0, 
  var = 0x2844ec, 
  nvars = 1755672
}
	gcpro2 = {
  next = 0x50, 
  var = 0x2, 
  nvars = -1598508048
}
	gcpro3 = {
  next = 0x1808cc1, 
  var = 0x1805e1a, 
  nvars = 25165833
}
#13 0x001cb9f8 in Fprogn (args=7488085) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:449
	val = 25165833
	gcpro1 = {
  next = 0x2607dc, 
  var = 0x0, 
  nvars = 80
}
#14 0x001cd714 in Flet (args=7488029) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:1089
	temps = (Lisp_Object *) 0xbfffdc60
	tem = 25165833
	elt = 25201857
	varlist = 25165833
	count = 9
	argnum = 1
	gcpro1 = {
  next = 0x3800a8, 
  var = 0x87, 
  nvars = 9
}
	gcpro2 = {
  next = 0x3e3a38, 
  var = 0x0, 
  nvars = 1
}
#15 0x001d07b8 in Feval (form=7488013) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:2322
	numargs = 16
	args_left = 7488029
	i = 0
	maxargs = 0
	argvals = {3, 9, 7488013, 56, -1073750300, 1755672, 20977276, 2}
	fun = 4503036
	val = 33913244
	original_fun = 25263697
	original_args = 7488029
	funcar = 254
	backtrace = {
  next = 0xbfffde14, 
  function = 0xbfffdd24, 
  args = 0xbfffdd28, 
  nargs = -1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	gcpro1 = {
  next = 0xbfffdda0, 
  var = 0x0, 
  nvars = -1073750704
}
	gcpro2 = {
  next = 0x1d2b6c, 
  var = 0xbfffddc0, 
  nvars = 1
}
	gcpro3 = {
  next = 0x1d2ff8, 
  var = 0x2, 
  nvars = 0
}
#16 0x001d2424 in Ffuncall (nargs=2, args=0xbfffde94) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3044
	fun = 4503276
	original_fun = 25263961
	funcar = 25250449
	numargs = 1
	lisp_numargs = 24
	val = 7488013
	backtrace = {
  next = 0xbfffe184, 
  function = 0xbfffde94, 
  args = 0xbfffde98, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbfffde98
	i = 25273273
#17 0x0023b2d4 in Fbyte_code (bytestr=3670515, vector=3670532, maxdepth=24) at /Users/mituharu/src/cvs/emacs-23/emacs/src/bytecode.c:678
	count = 8
	op = 1
	vectorp = (Lisp_Object *) 0x380208
	bytestr_length = 18
	stack = {
  pc = 0x3e3958 "!)\207", 
  top = 0xbfffde98, 
  bottom = 0xbfffde90, 
  byte_string = 3670515, 
  byte_string_start = 0x3e3949 "\b\203\b", 
  constants = 3670532, 
  next = 0xbfffe374
}
	top = (Lisp_Object *) 0xbfffde94
	result = 2048
#18 0x001d2fe4 in funcall_lambda (fun=3670476, nargs=1, arg_vector=0xbfffe204) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3231
	val = 25251618
	syms_left = 25165833
	next = 27942545
	count = 7
	i = 1
	optional = 0
	rest = 0
#19 0x001d27ac in Ffuncall (nargs=2, args=0xbfffe200) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3090
	fun = 3670476
	original_fun = 27942521
	funcar = 25252137
	numargs = 1
	lisp_numargs = 25165857
	val = 25308433
	backtrace = {
  next = 0xbfffe4f4, 
  function = 0xbfffe200, 
  args = 0xbfffe204, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0x1d2b6c
	i = -1073749600
#20 0x0023b2d4 in Fbyte_code (bytestr=3670763, vector=3670780, maxdepth=24) at /Users/mituharu/src/cvs/emacs-23/emacs/src/bytecode.c:678
	count = 6
	op = 1
	vectorp = (Lisp_Object *) 0x380300
	bytestr_length = 31
	stack = {
  pc = 0x3e38bc "\v)B\211\034A\n=\204\033", 
  top = 0xbfffe204, 
  bottom = 0xbfffe200, 
  byte_string = 3670763, 
  byte_string_start = 0x3e38af "\b\204\b", 
  constants = 3670780, 
  next = 0xbfffe6e4
}
	top = (Lisp_Object *) 0xbfffe200
	result = 1914900
#21 0x001d2fe4 in funcall_lambda (fun=3670724, nargs=1, arg_vector=0xbfffe574) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3231
	val = -2021289069
	syms_left = 25165833
	next = 27942545
	count = 5
	i = 1
	optional = 0
	rest = 0
#22 0x001d27ac in Ffuncall (nargs=2, args=0xbfffe570) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3090
	fun = 3670724
	original_fun = 25302841
	funcar = 25250449
	numargs = 1
	lisp_numargs = 0
	val = 25165881
	backtrace = {
  next = 0xbfffe864, 
  function = 0xbfffe570, 
  args = 0xbfffe574, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbfffe4c0
	i = 1
#23 0x0023b2d4 in Fbyte_code (bytestr=3668963, vector=3668980, maxdepth=16) at /Users/mituharu/src/cvs/emacs-23/emacs/src/bytecode.c:678
	count = 4
	op = 1
	vectorp = (Lisp_Object *) 0x37fbf8
	bytestr_length = 13
	stack = {
  pc = 0x3e3c18 "\210\301 )\207", 
  top = 0xbfffe574, 
  bottom = 0xbfffe570, 
  byte_string = 3668963, 
  byte_string_start = 0x3e3c10 "p\030\301 \210\302\303!\210\301 )\207", 
  constants = 3668980, 
  next = 0x0
}
	top = (Lisp_Object *) 0xbfffe570
	result = -1073748248
#24 0x001d2fe4 in funcall_lambda (fun=3668932, nargs=0, arg_vector=0xbfffe92c) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3231
	val = 254
	syms_left = 25165833
	next = 25196033
	count = 4
	i = 0
	optional = 0
	rest = 0
#25 0x001d27ac in Ffuncall (nargs=1, args=0xbfffe928) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3090
	fun = 3668932
	original_fun = 25600641
	funcar = 25252233
	numargs = 0
	lisp_numargs = 16
	val = 2965696
	backtrace = {
  next = 0xbfffeb34, 
  function = 0xbfffe928, 
  args = 0xbfffe92c, 
  nargs = 0, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0x1800009
	i = 3668932
#26 0x001d19f0 in apply1 (fn=25600641, arg=25165833) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:2785
	ret_ungc_val = 25278033
	gcpro1 = {
  next = 0x0, 
  var = 0x0, 
  nvars = 0
}
#27 0x001c8734 in Fcall_interactively (function=25600641, record_flag=25165833, keys=20979836) at /Users/mituharu/src/cvs/emacs-23/emacs/src/callint.c:390
	input = 25165833
	args = (Lisp_Object *) 0x1800009
	visargs = (Lisp_Object *) 0x0
	specs = 25165833
	filter_specs = 25165833
	teml = 5886517
	up_event = 25165833
	enable = 25165833
	speccount = 3
	next_event = -1073747520
	prefix_arg = 25165833
	string = (unsigned char *) 0x0
	tem = (unsigned char *) 0x1807249 ""
	varies = (int *) 0x0
	i = 2
	j = 25165833
	count = 25165833
	foo = 20977276
	prompt1 = "\001\200\000\t\277\377\352@\000\000\000\000\277\377\351\360\000\022\022P\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223\302K\301\225\207\205\223\223"
	tem1 = 0x7f8 <Address 0x7f8 out of bounds>
	arg_from_tty = 0
	gcpro1 = {
  next = 0xc24bc195, 
  var = 0x87859393, 
  nvars = -1035222635
}
	gcpro2 = {
  next = 0x87859393, 
  var = 0xc24bc195, 
  nvars = -2021289069
}
	gcpro3 = {
  next = 0xc24bc195, 
  var = 0x87859393, 
  nvars = -1035222635
}
	gcpro4 = {
  next = 0x87859393, 
  var = 0xc24bc195, 
  nvars = -2021289069
}
	gcpro5 = {
  next = 0xbfffeaf0, 
  var = 0x87859393, 
  nvars = -1035222635
}
	key_count = 1
	record_then_fail = 0
	save_this_command = 25600641
	save_last_command = 25228513
	save_this_original_command = 25600641
	save_real_this_command = 25600641
#28 0x001d24bc in Ffuncall (nargs=4, args=0xbfffebb8) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:3050
	fun = 4502532
	original_fun = 25277985
	funcar = 1755672
	numargs = 3
	lisp_numargs = -1073747072
	val = 29292566
	backtrace = {
  next = 0x0, 
  function = 0xbfffebb8, 
  args = 0xbfffebbc, 
  nargs = 3, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbfffebbc
	i = 1233794403
#29 0x001d1be0 in call3 (fn=25277985, arg1=25600641, arg2=25165833, arg3=25165833) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:2870
	ret_ungc_val = 7754693
	gcpro1 = {
  next = 0x18075d1, 
  var = 0xbfffec00, 
  nvars = 4
}
	args = {25277985, 25600641, 25165833, 25165833}
#30 0x0011a0d0 in Fcommand_execute (cmd=25600641, record_flag=25165833, keys=25165833, special=25165833) at /Users/mituharu/src/cvs/emacs-23/emacs/src/keyboard.c:10404
	final = 3668932
	tem = 25165833
	prefixarg = 25165833
#31 0x0010453c in command_loop_1 () at /Users/mituharu/src/cvs/emacs-23/emacs/src/keyboard.c:1899
	scount = 2
	cmd = 25600641
	lose = -1073746800
	nonundocount = 0
	keybuf = {80, 5390336, 0, -1073746704, 1901388, -1073746464, 1, 1903880, 0, -1073746592, 21772860, 3286756, 25165833, 1, -1603670636, -1073746184, -1603631172, 4099, 12, -1603681316, -1814263876, -1073746240, -1812683004, -1812741406, 5461805, 3286756, 25600361, 25165833, 0, -1073746620}
	i = 1
	prev_modiff = 23
	prev_buffer = (struct buffer *) 0x1401678
	already_adjusted = 0
#32 0x001ce5ec in internal_condition_case (bfun=0x10217c <command_loop_1>, handlers=25205425, hfun=0x101570 <cmd_error>) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:1511
	val = 5461805
	c = {
  tag = 25165833, 
  val = 25165833, 
  next = 0xbffff258, 
  gcpro = 0x0, 
  jmp = {-1073746384, -1073746324, 0 <repeats 13 times>, -1073743648, 12, 0, 0, -1073746384, 1893492, 1893708, 603980834, 5390336, -1814303940, -1073746112, -524288, -2113921024, 0, -1073746308, 7, 8458096, -1814303584, -1073746016, 0, -1814301792, -1814258880, -1073746000, 0, -1814257648, 0, -1073745840, 33579104, -2, -1814260728, -1073746032, -1603443456, 5390336, -1814303940, -1073746016, 1141015561, -1814303860, 8489307, -1073746016, 20, 0, 0, 12, 33577984, 0, 33579136, 25857288, -1880930636, 0, 0, -1073745936, 603980802, -1073746032, 1707480, -1073745936, 8489088, 1707568, -1814255560, -1073745856, 8489200, 25857288, 5, 5, 0, 8489163, 13, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021
 289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, 
 -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1073745728, 603980834, -1881063520, 1, -1073745728, -1073745796, 5, 0, 0, 0, 5, 13, 1, 501, 25857291, 12, -1073745696, 0, -1073745760, 0, 0, 4517192, -1880938592, 4517192, -1880930636, 5246501, 4836, -1881063480, -1073745616, -1073745700, -1881063096, 0, 0, 0, 5, 5, -1073745584, 2, 25857291, 1796968, -1073745584, 1107297314, -1880929852, 1796968, -1073745584, 180, 1707244, 4, 25857307, 23069256, 4096, -1880926184, 0, -1880930636, 77, -1881122792, -1073745520, 0, -1881122628, 12, -1073745504, 0, -1073745584, 1796968, -1073745488, -1073749152, 1797524, -1073749088, -1073749056, -1, -1073745004, 25857339, -1073745440, 0, -1073743648}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 0, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
	h = {
  handler = 25205425, 
  var = 25165833, 
  chosen_clause = 5390336, 
  tag = 0xbfffee6c, 
  next = 0x0
}
#33 0x00101be8 in command_loop_2 () at /Users/mituharu/src/cvs/emacs-23/emacs/src/keyboard.c:1357
	val = 1
#34 0x001cdd74 in internal_catch (tag=25201545, func=0x101ba8 <command_loop_2>, arg=25165833) at /Users/mituharu/src/cvs/emacs-23/emacs/src/eval.c:1247
	c = {
  tag = 25201545, 
  val = 25165833, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {-1073745376, 4774164, 0 <repeats 13 times>, -1073743648, 12, 0, 0, -1073745376, 1891432, 1891668, -2080373726, 775808, -1814322076, 1639164, -524288, -2113921024, 0, -1073745304, 0, -1603689776, -1073745168, 152604, -1073745056, 7, 0, -1814322480, -1073745056, 0, -1073743648, 3, 5390336, 48, 8458032, 3, 5390336, 48, 8458080, -1814295996, -1073745008, 20987080, -1814295060, 0, 0, 0, 1, 8489472, 5390336, 3200, 8489472, 155012, 0, 0, -1073743648, 41, 5390336, 3, -1073743648, 41, 5390336, 3, 8457463, -1814322480, -1073744912, 959329838, -1814322292, 1537832, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -20212890
 69, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -103
 5222635, -2021289069, -1035222635, -2021289069, 0, 0, 41, -1814322788, -1073744752, 0, -1814322736, 33578828, -1073744720, 25629985, 33611264, 24888, -1073744624, -1, -1073744784, 12276, -1073744624, 0, -1073744768, 2334920, -1073744672, 9, -1073744752, 2334920, -1073744656, 1147236983, -1073743648, 172, -1073744608, 11, 0, -1814322480, -1073744624, 1520, -1814322292, 8458032, 0, 0, 8458032, 8458080, 10, -1, 8458080, 27132, -1073744592, 0, -1073743648, 12, -1073744560, 0, -1073743648, 12, 5390336, 172, 0, 2, -1073744544, 1932481125, -1073744608, 1754024, -1073744480, 1667785074, 1755672, 25165833, 2, 0, 25349217, 25349810, 25165833, 20977272, -1073744560, 1753196, -1073744480, 0, 1753404, -1814322788, 0, 2915706}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 0, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#35 0x00101b4c in command_loop () at /Users/mituharu/src/cvs/emacs-23/emacs/src/keyboard.c:1336
No locals.
#36 0x00100d5c in recursive_edit_1 () at /Users/mituharu/src/cvs/emacs-23/emacs/src/keyboard.c:951
	count = 1
	val = 8457456
#37 0x0010103c in Frecursive_edit () at /Users/mituharu/src/cvs/emacs-23/emacs/src/keyboard.c:1013
	count = 0
	buffer = 25165833
#38 0x000fe874 in main (argc=2, argv=0xbffff8e4) at /Users/mituharu/src/cvs/emacs-23/emacs/src/emacs.c:1852
	dummy = 0
	stack_bottom_variable = -113 '\217'
	do_initial_setlocale = 1
	skip_args = 0
	rlim = {
  rlim_cur = 8388608, 
  rlim_max = 67104768
}
	no_loadup = 0
	junk = 0x0
	dname_arg = 0x0
	dname_arg2 = "\217\340\004\314\217\341\302\004\277\377\367\360\000\000\000\001\000\000\000\004\217\340\002t\000\000\000\004\217\343#\004\217\340\003x\217\340\023\234\277\377\367\360\000\000\000\000\217\3421\264\000\000\000\000\277\377\367\360", '\0' <repeats 16 times>, "\277\377\370\344"

Lisp Backtrace:
"y-or-n-p" (0xbfffd084)
"byte-code" (0xbfffd354)
"y-or-n-p-with-timeout" (0xbfffda60)
"let" (0xbfffdd28)
"eval" (0xbfffde98)
"eval-last-sexp-1" (0xbfffe204)
"eval-last-sexp" (0xbfffe574)
"eval-print-last-sexp" (0xbfffe92c)
"call-interactively" (0xbfffebbc)






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
  2009-02-05  0:42     ` bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout YAMAMOTO Mitsuharu
@ 2009-02-05  1:54       ` Glenn Morris
  2009-02-05  2:05         ` Processed: " Emacs bug Tracking System
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2009-02-05  1:54 UTC (permalink / raw)
  To: YAMAMOTO Mitsuharu; +Cc: 2154

reopen 2154
stop

YAMAMOTO Mitsuharu wrote:

> reopen 2154

FYI, such commands only take effect if you cc the control server
(bcc'd in this message). See admin/notes/bugtracker.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Processed: Re: bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
  2009-02-05  1:54       ` Glenn Morris
@ 2009-02-05  2:05         ` Emacs bug Tracking System
  0 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-02-05  2:05 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs Bugs, ns for {2154}

Processing commands for control@emacsbugs.donarmstrong.com:

> reopen 2154
bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
Warning: Unknown package 'ns'
bug reopened, originator not changed.

> stop
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#2154: marked as done (23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout)
  2009-02-02  8:39 ` bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout YAMAMOTO Mitsuharu
  2009-02-04 11:50   ` bug#2154: marked as done (23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout) Emacs bug Tracking System
       [not found]   ` <handler.2154.D2154.123374786227909.notifdone@emacsbugs.donarmstrong.com>
@ 2009-08-26 15:05   ` Emacs bug Tracking System
  2 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-08-26 15:05 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

Your message dated Wed, 26 Aug 2009 10:58:20 -0400
with message-id <94D1C32B-E82E-4EF5-80CB-0056D41F8662@gmail.com>
and subject line Re: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
has caused the Emacs bug report #2154,
regarding 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2154: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2154
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3556 bytes --]

From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
Date: Mon, 02 Feb 2009 17:39:00 +0900
Message-ID: <wly6wpnsgr.wl%mituharu@math.s.chiba-u.ac.jp>

Steps to reproduce:
  1. $ Emacs.app/Contents/MacOS/Emacs -Q
  2. (let (last-nonmenu-event) (y-or-n-p-with-timeout "foo" 3 'bar)) C-j

Result:
  The GUI dialog appears, but doesn't pop down after 3 seconds.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

In GNU Emacs 23.0.90.1 (powerpc-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-02-02 on yamamoto-mitsuharu-no-power-mac-g5.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.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
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<menu-bar> <help-menu> <send-emacs-bug-report>

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



[-- Attachment #3: Type: message/rfc822, Size: 2530 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 2154-done@emacsbugs.donarmstrong.com
Subject: Re: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout
Date: Wed, 26 Aug 2009 10:58:20 -0400
Message-ID: <94D1C32B-E82E-4EF5-80CB-0056D41F8662@gmail.com>

Closing, finally fixed w/change to nsmenu.m 2009/08/21.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-08-26 15:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <127B9A17-5256-48F0-9D13-9FE490FA6EE4@gmail.com>
2009-02-02  8:39 ` bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout YAMAMOTO Mitsuharu
2009-02-04 11:50   ` bug#2154: marked as done (23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout) Emacs bug Tracking System
     [not found]   ` <handler.2154.D2154.123374786227909.notifdone@emacsbugs.donarmstrong.com>
2009-02-05  0:42     ` bug#2154: 23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout YAMAMOTO Mitsuharu
2009-02-05  1:54       ` Glenn Morris
2009-02-05  2:05         ` Processed: " Emacs bug Tracking System
2009-08-26 15:05   ` bug#2154: marked as done (23.0.90; NS: y-or-n-p-with-timeout with GUI doesn't respect timeout) Emacs bug Tracking System

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).