GNU bug report logs - #12384
24.2.50; NS: mouse movement causes hang during scroll benchmark

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Sat, 8 Sep 2012 08:38:02 UTC

Severity: normal

Found in version 24.2.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12384 in the body.
You can then email your comments to 12384 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12384; Package emacs. (Sat, 08 Sep 2012 08:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 08 Sep 2012 08:38:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; NS: mouse movement causes hang during scroll benchmark
Date: Sat, 08 Sep 2012 17:36:22 +0900
Steps to Reproduce:

1. $ .../Emacs.app/Contents/MacOS/Emacs -Q &
2. Evaluate the following expression:

;; Scroll benchmark from
;; http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00411.html
(defun scroll-benchmark () 
   (interactive) 
   (let ((oldgc gcs-done) 
         (oldtime (float-time))) 
     (condition-case nil (while t (scroll-up) (redisplay)) 
       (error (message "GCs: %d Elapsed time: %f seconds" 
                       (- gcs-done oldgc) (- (float-time) oldtime)))))) 

3. Evaluate the following expression:

(progn
  (find-file (expand-file-name "src/xdisp.c" source-directory))
  (goto-char (point-min))
  (redisplay)
  (scroll-benchmark))

4. Wait for the benchmark to finish.
5. Repeat Step 3.
6. Before the second benchmark run completes, move the mouse pointer.

Then, we can observe the followings until the benchmark finishes.

  - The scroll bar thumb stops moving.
  - The mouse pointer turns into the "spinning rainbow".
  - C-g cannot quit the benchmark.

This does not happen on X11 builds or the Mac port.

See also
http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00469.html .

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp

In GNU Emacs 24.2.50.1 (x86_64-apple-darwin12.1.0, NS apple-appkit-1187.00)
 of 2012-09-08 on YAMAMOTO-no-iMac.local
Bzr revision: 109934 monnier <at> iro.umontreal.ca-20120907201455-blix9xyqrsksqwyz
Windowing system distributor `Apple', version 10.3.1187
Configured using:
 `configure '--with-ns''

Important settings:
  value of $LANG: ja_JP.UTF-8
  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




Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Fri, 12 Oct 2012 17:53:02 GMT) Full text and rfc822 format available.

Notification sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
bug acknowledged by developer. (Fri, 12 Oct 2012 17:53:02 GMT) Full text and rfc822 format available.

Message #10 received at 12384-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 12384-done <at> debbugs.gnu.org
Subject: Re: bug#12384: 24.2.50;
	NS: mouse movement causes hang during scroll benchmark
Date: Fri, 12 Oct 2012 19:51:30 +0200
Hello.

This has been fixed in the trunk.

	Jan D.

8 sep 2012 kl. 10:36 skrev YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:

> Steps to Reproduce:
> 
> 1. $ .../Emacs.app/Contents/MacOS/Emacs -Q &
> 2. Evaluate the following expression:
> 
> ;; Scroll benchmark from
> ;; http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00411.html
> (defun scroll-benchmark () 
>   (interactive) 
>   (let ((oldgc gcs-done) 
>         (oldtime (float-time))) 
>     (condition-case nil (while t (scroll-up) (redisplay)) 
>       (error (message "GCs: %d Elapsed time: %f seconds" 
>                       (- gcs-done oldgc) (- (float-time) oldtime)))))) 
> 
> 3. Evaluate the following expression:
> 
> (progn
>  (find-file (expand-file-name "src/xdisp.c" source-directory))
>  (goto-char (point-min))
>  (redisplay)
>  (scroll-benchmark))
> 
> 4. Wait for the benchmark to finish.
> 5. Repeat Step 3.
> 6. Before the second benchmark run completes, move the mouse pointer.
> 
> Then, we can observe the followings until the benchmark finishes.
> 
>  - The scroll bar thumb stops moving.
>  - The mouse pointer turns into the "spinning rainbow".
>  - C-g cannot quit the benchmark.
> 
> This does not happen on X11 builds or the Mac port.
> 
> See also
> http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00469.html .
> 
> 				     YAMAMOTO Mitsuharu
> 				mituharu <at> math.s.chiba-u.ac.jp
> 
> In GNU Emacs 24.2.50.1 (x86_64-apple-darwin12.1.0, NS apple-appkit-1187.00)
> of 2012-09-08 on YAMAMOTO-no-iMac.local
> Bzr revision: 109934 monnier <at> iro.umontreal.ca-20120907201455-blix9xyqrsksqwyz
> Windowing system distributor `Apple', version 10.3.1187
> Configured using:
> `configure '--with-ns''
> 
> Important settings:
>  value of $LANG: ja_JP.UTF-8
>  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
> 
> 





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Nov 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.