GNU logs - #8235, boring messages


Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8235: 23.2; slow scrolling w/ multiple frames visiting same file
Resent-From: Paul Vernaza <vernaza@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 12 Mar 2011 21:20:03 +0000
Resent-Message-ID: <handler.8235.B.129996474519004 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 8235
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 8235 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.129996474519004
          (code B ref -1); Sat, 12 Mar 2011 21:20:03 +0000
Received: (at submit) by debbugs.gnu.org; 12 Mar 2011 21:19:05 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PyWDI-0004wS-A3
	for submit <at> debbugs.gnu.org; Sat, 12 Mar 2011 16:19:05 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <vernaza@HIDDEN>) id 1PyW6S-0004mP-5F
	for submit <at> debbugs.gnu.org; Sat, 12 Mar 2011 16:12:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vernaza@HIDDEN>) id 1PyW6L-0007dh-Rq
	for submit <at> debbugs.gnu.org; Sat, 12 Mar 2011 16:11:54 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:39813)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vernaza@HIDDEN>) id 1PyW6L-0007db-MS
	for submit <at> debbugs.gnu.org; Sat, 12 Mar 2011 16:11:53 -0500
Received: from [140.186.70.92] (port=35599 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PyW6I-00037Y-PR
	for bug-gnu-emacs@HIDDEN; Sat, 12 Mar 2011 16:11:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vernaza@HIDDEN>) id 1PyW6H-0007c9-Cx
	for bug-gnu-emacs@HIDDEN; Sat, 12 Mar 2011 16:11:50 -0500
Received: from singularity.stwing.upenn.edu ([165.123.132.64]:43312)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vernaza@HIDDEN>) id 1PyW6H-0007bn-AL
	for bug-gnu-emacs@HIDDEN; Sat, 12 Mar 2011 16:11:49 -0500
Received: from localhost (localhost [127.0.0.1])
	by singularity.stwing.upenn.edu (Postfix) with ESMTP id 930861C01C
	for <bug-gnu-emacs@HIDDEN>; Sat, 12 Mar 2011 16:11:34 -0500 (EST)
X-Virus-Scanned: Debian amavisd-new at singularity.stwing.upenn.edu
Received: from seas118.wlan.seas.upenn.edu (SEAS118.wlan.seas.upenn.edu
	[158.130.104.119])
	by singularity.stwing.upenn.edu (Postfix) with ESMTPSA id 72CAA1C01B
	for <bug-gnu-emacs@HIDDEN>; Sat, 12 Mar 2011 16:11:34 -0500 (EST)
From: Paul Vernaza <vernaza@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Sat, 12 Mar 2011 16:11:48 -0500
Message-Id: <D8B93E9E-186F-4B27-AC64-6F174B6C6CF0@HIDDEN>
Mime-Version: 1.0 (Apple Message framework v1082.1)
X-Mailer: Apple Mail (2.1082.1)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 199.232.76.165
X-Spam-Score: -5.9 (-----)
X-Mailman-Approved-At: Sat, 12 Mar 2011 16:19:02 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.9 (-----)

Steps to reproduce:
At an OS X terminal, run "open -a Emacs --args -Q".
Open a large text file with C-x C-f.
Open two new frames visiting the same buffer with C-x 5 2 C-x 5 2.
Switch back to the original frame.
Scroll down by holding C-n.

Detailed description:
In the OS X Cocoa version of Emacs, if multiple frames are visiting the
same buffer, some of the frames visiting this buffer exhibit very slow=20=

scrolling, while others scroll normally. Scrolling is slow in the sense
that the display updates infrequently while scrolling (say, up to a
second between updates).  CPU usage appears to be near normal, maybe at
most slightly elevated while these symptoms are exhibited (possible
concurrency issue?).

Problem is consistent across major modes I've tested (fundamental, text, =
lisp,
ocaml).  The problem seems to be specific to the Cocoa version of
Emacs--the X11 version (23.3) compiled on the same platform does not =
have the
issue. Although I'm reporting this from the Macports-compiled version,
I have verified that the bug occurs compiling 23.3 with Cocoa on the
same platform.

Profiling with Shark shows abnormally high time spent in the
redisplay_windows function (~50%) while slow scrolling is occurring.
While scrolling normally, profiling shows an insignificant amount of=20
time spent in this function (< 1%). =20


In GNU Emacs 23.2.1 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32)
of 2010-06-30 on seasnet-10-13.grasp.upenn.edu
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--prefix=3D/opt/local' '--with-ns' =
'--without-x' '--without-dbus' 'CC=3D/usr/bin/gcc-4.2' 'CFLAGS=3D-O2 =
-arch x86_64' 'LDFLAGS=3D-L/opt/local/lib' =
'CPPFLAGS=3D-I/opt/local/include''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: 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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Text

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
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-f f o o C-h <backspace> <backspace> <backspace>=20
<backspace> <backspace> ~ / <backspace> e r <backspace>=20
<backspace> / f o o . t x t <return> C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-x C-f C-g C-x 5 2 C-x 5 2 C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n s-` C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n s-` C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20
C-n C-n C-n C-n C-n C-n s-x ` x <backspace> <backspace>=20
<escape> x r e p <tab> o r t <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
kill-region: The mark is not set now, so there is no region
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug help-mode view tooltip ediff-hook
vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process ns
multi-tty emacs)




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Paul Vernaza <vernaza@HIDDEN>
Subject: bug#8235: Acknowledgement (23.2; slow scrolling w/ multiple
 frames visiting same file)
Message-ID: <handler.8235.B.129996474519004.ack <at> debbugs.gnu.org>
References: <D8B93E9E-186F-4B27-AC64-6F174B6C6CF0@HIDDEN>
X-Gnu-PR-Message: ack 8235
X-Gnu-PR-Package: emacs
Reply-To: 8235 <at> debbugs.gnu.org
Date: Sat, 12 Mar 2011 21:20:04 +0000

Thank you for filing a new bug report with GNU.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 8235 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
8235: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8235
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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