GNU bug report logs - #39967
27.0.90; how to debug point moving erratically?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: William Rankin <william@HIDDEN>; dated Sat, 7 Mar 2020 04:07:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 39967 <at> debbugs.gnu.org:


Received: (at 39967) by debbugs.gnu.org; 7 Mar 2020 12:17:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 07 07:17:11 2020
Received: from localhost ([127.0.0.1]:46334 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jAYOE-0007Tf-Qh
	for submit <at> debbugs.gnu.org; Sat, 07 Mar 2020 07:17:11 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35643)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <william@HIDDEN>) id 1jAYOC-0007TT-Tv
 for 39967 <at> debbugs.gnu.org; Sat, 07 Mar 2020 07:17:09 -0500
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id D20C021B2F;
 Sat,  7 Mar 2020 07:17:03 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Sat, 07 Mar 2020 07:17:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bydasein.com; h=
 content-type:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to; s=fm2; bh=j
 ECfq31gdFUW6Z77T7PW2Zr/j9y//Gp2hi06hEHrKSE=; b=FasdGJ3StkzBX4Wse
 pRrh+WpDqwhPHIJRBkGGxw4eoXsL+vZAc1yUsEKawUUGtpKWAM6laKHeVJUBNI5F
 wbW37hhj5a3cyGh8Pr3UEQh66dTFxrtxFi+xrX8+ue4nf0swPwC4xFb6Q07VzqNU
 JNo4vNx5A8AFGeec4eN+Q3iz9smkj6bHd8GJHHZ/NUty1TPWTvc2yQlfrqiTS8iE
 BJ+bi1K5QKBQhn6C9ID6ewBtE0noNdqpo00K0QI1IKiRacWtEX7lajSmNuj/zen1
 dyTH7EOkx8A2dOoERAhVkWArPn3E7pGxJXiJvyTEhqQOV4Oy9HJ84T35fLQdB8hR
 EcuTQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=jECfq31gdFUW6Z77T7PW2Zr/j9y//Gp2hi06hEHrK
 SE=; b=O7uXSnYhgZ1oAy3OsvmvTkNOQ/ER6lvzTo5BotulvLhzI/bJ2Gf6FVh6x
 FXAnFCTiLt9Cu/5BVVAUQE5T2oNX1phET8xF+T0xPvKOew3xdobjUPaEP6vZOK3O
 rfMGced48g0/JrbF/EnUMcR9iLaZeAft2wE1oKrVaXnpy7p6DF1GR3DPsv/NiUxe
 G4FrVCvWsRxXaZfbyX676VYighgpWl2fq3qo77t1vRXSbQqAg8hbBpGHTDW/Db3o
 DKKCFLdqtO8M9w8wwX8IwVgPH98a2uc+RZdGSSqgmHzMVhzlfOPvGW5f2b+jisBy
 OhcfduQeZffCAJkNczm/kCVcmSd8w==
X-ME-Sender: <xms:v5BjXpYAkYOQb2uZvUmtuCa740Z_JFvNrZCTZRTbxbh3YhPsU2h63g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddugedgfeelucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurheptggguffhjgffgffkfhfvofesthejmhdthhdtvdenucfhrhhomhephghilhhl
 ihgrmhcutfgrnhhkihhnuceofihilhhlihgrmhessgihuggrshgvihhnrdgtohhmqeenuc
 fkphepuddvtddrvddvrdektddrfeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghr
 rghmpehmrghilhhfrhhomhepfihilhhlihgrmhessgihuggrshgvihhnrdgtohhm
X-ME-Proxy: <xmx:v5BjXiBjmy2twTwqDLifuHdxtsGQG_uKXb-nApdfl-6qEKLLnXm3WA>
 <xmx:v5BjXqqeqcuBdRCMcw-nBMBcmTrTf-OXXaGBQcmILrykLo73YdydgA>
 <xmx:v5BjXgKidISFou04-MX7FjBO9k3dxTDc8ld6JW4rT2LjTd4V1OWwYw>
 <xmx:v5BjXqcB7o-KwFWbsFT_yjSg2rRg_Sf1INh6fO4Ncde0G1y6t4lEfA>
Received: from [172.20.10.14] (unknown [120.22.80.36])
 by mail.messagingengine.com (Postfix) with ESMTPA id BA87D328005E;
 Sat,  7 Mar 2020 07:17:01 -0500 (EST)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\))
Subject: Re: bug#39967: 27.0.90; how to debug point moving erratically?
From: William Rankin <william@HIDDEN>
In-Reply-To: <83r1y4a0it.fsf@HIDDEN>
Date: Sat, 7 Mar 2020 22:16:56 +1000
Content-Transfer-Encoding: 7bit
Message-Id: <DA90F9B4-3E70-4331-9A5A-96B0FEFB4F23@HIDDEN>
References: <m2eeu46cz6.fsf@HIDDEN> <831rq4bnmc.fsf@HIDDEN>
 <813C2B33-3356-4E32-A50D-4D4B9D2B3C74@HIDDEN> <83r1y4a0it.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.3608.60.0.2.5)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39967
Cc: 39967 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)



> On 7 Mar 2020, at 9:04 pm, Eli Zaretskii <eliz@HIDDEN> wrote:
> 
>> Hmm given the way it moves point, I would put money on this not being my
>> init. I'm not smart enough to write something that would work in such a
>> sporadic way.
> 
> I didn't mean something you wrote, I meant some feature you turn on
> that is not turned on by default, a feature that is part of Emacs or
> some third-party package you are using.

Ah I see. Okay, that does increase the surface area.

>> Given the impending release of 27.1 maybe there are other avenues I can
>> check too?
> 
> You could try running under GDB with a breakpoint in set_point_both
> and temp_set_point_both, with breakpoint commands that show the C and
> Lisp backtrace and then immediately continue the program.  Let me know
> if you need more detailed instructions for setting this up.

I should be able to figure this out and report back.

> Can you describe the issue in more detail?  Are you saying this
> happens when Emacs is idle, i.e. you are not typing any commands and
> no sub-processes should be running?  And what exactly do you see when
> this happens?  Also, do you see any error messages in *Messages*? when
> that happens?
> 
> FWIW, I don't see anything like this on my system in Emacs 27.0.90, so
> I have hard time believing that something as basic as JIT font-lock
> could do this, at least not by default.

I've only observed this after Emacs has been open for more than a few
hours or overnight.

It will only happen after Emacs is idle for a few seconds, i.e. no user
input.

The point will start jumping to different positions in the buffer, and 
this will then repeat at regular intervals of ~0.5 seconds per jump. 
These positions do not appear totally random, but seem like jumps of a 
similar sized chunk of text, like they are being calculated.

I think the only process running is ispell (enchant).

There are no error messages in *Messages*.

C-g does not immediately stop point jumping, however, if I give more
input (e.g. C-n/p or C-x o, etc.) then either this will stop point
jumping, or will delay it for ~2 seconds, and then point starts
jumping again. This repetition only happens a once or twice before it
seems to "finish" and the problem appears gone.


There is this in my init:

(advice-add 'mark-word :before
            (lambda (&rest args)
              (unless (looking-at-p "\\b")
                (backward-word))))

Could this be causing such havoc??





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39967; Package emacs. Full text available.

Message received at 39967 <at> debbugs.gnu.org:


Received: (at 39967) by debbugs.gnu.org; 7 Mar 2020 11:05:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 07 06:05:07 2020
Received: from localhost ([127.0.0.1]:46290 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jAXGU-0005h6-TT
	for submit <at> debbugs.gnu.org; Sat, 07 Mar 2020 06:05:07 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54639)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jAXGT-0005gZ-Gh
 for 39967 <at> debbugs.gnu.org; Sat, 07 Mar 2020 06:05:05 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37366)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1jAXGO-0006ak-AE; Sat, 07 Mar 2020 06:05:00 -0500
Received: from [176.228.60.248] (port=2845 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jAXGN-00086X-FF; Sat, 07 Mar 2020 06:04:59 -0500
Date: Sat, 07 Mar 2020 13:04:58 +0200
Message-Id: <83r1y4a0it.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: William Rankin <william@HIDDEN>
In-Reply-To: <813C2B33-3356-4E32-A50D-4D4B9D2B3C74@HIDDEN> (message from
 William Rankin on Sat, 7 Mar 2020 19:10:09 +1000)
Subject: Re: bug#39967: 27.0.90; how to debug point moving erratically?
References: <m2eeu46cz6.fsf@HIDDEN> <831rq4bnmc.fsf@HIDDEN>
 <813C2B33-3356-4E32-A50D-4D4B9D2B3C74@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39967
Cc: 39967 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: William Rankin <william@HIDDEN>
> Date: Sat, 7 Mar 2020 19:10:09 +1000
> Cc: 39967 <at> debbugs.gnu.org
> 
> > Find the feature you load/activate in your init files which causes
> > this?
> 
> Hmm given the way it moves point, I would put money on this not being my
> init. I'm not smart enough to write something that would work in such a
> sporadic way.

I didn't mean something you wrote, I meant some feature you turn on
that is not turned on by default, a feature that is part of Emacs or
some third-party package you are using.

> Given the impending release of 27.1 maybe there are other avenues I can
> check too?

You could try running under GDB with a breakpoint in set_point_both
and temp_set_point_both, with breakpoint commands that show the C and
Lisp backtrace and then immediately continue the program.  Let me know
if you need more detailed instructions for setting this up.

Can you describe the issue in more detail?  Are you saying this
happens when Emacs is idle, i.e. you are not typing any commands and
no sub-processes should be running?  And what exactly do you see when
this happens?  Also, do you see any error messages in *Messages*? when
that happens?

FWIW, I don't see anything like this on my system in Emacs 27.0.90, so
I have hard time believing that something as basic as JIT font-lock
could do this, at least not by default.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39967; Package emacs. Full text available.

Message received at 39967 <at> debbugs.gnu.org:


Received: (at 39967) by debbugs.gnu.org; 7 Mar 2020 09:10:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 07 04:10:24 2020
Received: from localhost ([127.0.0.1]:46258 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jAVTU-00032L-2e
	for submit <at> debbugs.gnu.org; Sat, 07 Mar 2020 04:10:24 -0500
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50275)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <william@HIDDEN>) id 1jAVTS-000328-Df
 for 39967 <at> debbugs.gnu.org; Sat, 07 Mar 2020 04:10:22 -0500
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id 58CC421EBC;
 Sat,  7 Mar 2020 04:10:17 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Sat, 07 Mar 2020 04:10:17 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bydasein.com; h=
 content-type:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to; s=fm2; bh=g
 fCrV4AwZFVVw6q6LhiSq/4eYdBSCZzRAAL2lX9NkgY=; b=od0dqyP+OKra71pKC
 9BzvbGILBv3DCh1OFaqOlInTBQdDt4Z4CbITnvUylivg2VP7aX+rMKiaC6z15KIz
 w2JDaxt2yv6i1crbVgyuylafkPtXXOQ+/Y2JuHfqH28/7rkv0KIjFT1+ULl1AXTP
 GCvMAXUt0s3aHpWqs8616rAcYHi/RewXaR6AQ80r6RPgPj1yKEc3GarIIiVaxAYU
 sSjjEF9GS01tu7cAUCFU0WZ1eSdLP6Hdx3bIonIwYow4qHJg2NCGFLo7BOOOXUK7
 lZONk2q/LrPEdWjhOAvP3Ia/3FmDYaBrO00eh7yRCC187+MxaBwcG0k+QXf/kqOg
 Eda+w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=gfCrV4AwZFVVw6q6LhiSq/4eYdBSCZzRAAL2lX9Nk
 gY=; b=gkbwOrM+CRPPs7upHTBbNTQ5m9ArFbclD4J6v2Ivck5QIL0E/cQ3PaD1E
 GPQGPvv/xUBEExeOMidDB0vi997jO5aiVBHR70MrRUlGZ0my4NFhHhF0xR33tAaD
 lyT+u0WYdtKRCKnovejuBVEcnyRojGRpbBE2IY6xcsvWkdn0iT0PWweSlaNEAfxO
 a6q6vo9F7ZidxXMnV/no1hwWwdXlJ5EOJvsU6l3KkiyGdKfbmyGPVgWb3rErnZNv
 ZqoDaJcrbFO0L2kLq98Z7mSEo9L/36Pn8YXX7/RPy8edunrGMfBmZu5aJ1CQQgda
 bXcHEsjzWf/7W8ehbskKck2XQEKvQ==
X-ME-Sender: <xms:-WRjXmCILyUy4Z9y_IkuF8-AHMTFjjVIuDTDeTkS770qmF2QRv5KvA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddugedgtdduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurheptggguffhjgffgffkfhfvofesthejmhdthhdtvdenucfhrhhomhephghilhhl
 ihgrmhcutfgrnhhkihhnuceofihilhhlihgrmhessgihuggrshgvihhnrdgtohhmqeenuc
 fkphepuddvtddrvddvrdektddrfeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghr
 rghmpehmrghilhhfrhhomhepfihilhhlihgrmhessgihuggrshgvihhnrdgtohhm
X-ME-Proxy: <xmx:-WRjXk9fINYeCsQGZ2iU2X8-3c1FMB-g9dqCB40i_mB_e8Ue7FqMyg>
 <xmx:-WRjXk6jdnxbKUsXiNrh3boF8v5rnGuoPadppvPuDjCb4yXhHBmjgA>
 <xmx:-WRjXiFIyKf58d82nkn882bkXYOWAxkNx1jrXRoPPFghJ-7VTXKxFA>
 <xmx:-WRjXmxEP_kFN0B2PcGY6bUKoG6RQRpC2uMmAEyczVUihS65VqBXyw>
Received: from [172.20.10.14] (unknown [120.22.80.36])
 by mail.messagingengine.com (Postfix) with ESMTPA id CEAEF3061393;
 Sat,  7 Mar 2020 04:10:14 -0500 (EST)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\))
Subject: Re: bug#39967: 27.0.90; how to debug point moving erratically?
From: William Rankin <william@HIDDEN>
In-Reply-To: <831rq4bnmc.fsf@HIDDEN>
Date: Sat, 7 Mar 2020 19:10:09 +1000
Content-Transfer-Encoding: 7bit
Message-Id: <813C2B33-3356-4E32-A50D-4D4B9D2B3C74@HIDDEN>
References: <m2eeu46cz6.fsf@HIDDEN> <831rq4bnmc.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.3608.60.0.2.5)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39967
Cc: 39967 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)



> On 7 Mar 2020, at 6:00 pm, Eli Zaretskii <eliz@HIDDEN> wrote:
> 
>> How should I go about debugging this?
> 
> Find the feature you load/activate in your init files which causes
> this?

Hmm given the way it moves point, I would put money on this not being my
init. I'm not smart enough to write something that would work in such a
sporadic way.

I will of course endeavour to isolate my init away from the problem to
confirm it's not the culprit, but given that the problem only occurs
after hours of use and maybe a couple of times a week, this is going to
mean some time before I can give any useful confirmation.

Given the impending release of 27.1 maybe there are other avenues I can
check too?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39967; Package emacs. Full text available.

Message received at 39967 <at> debbugs.gnu.org:


Received: (at 39967) by debbugs.gnu.org; 7 Mar 2020 08:00:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 07 03:00:55 2020
Received: from localhost ([127.0.0.1]:46207 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jAUOE-0001Q8-6X
	for submit <at> debbugs.gnu.org; Sat, 07 Mar 2020 03:00:55 -0500
Received: from eggs.gnu.org ([209.51.188.92]:58787)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jAUOB-0001Pt-Uk
 for 39967 <at> debbugs.gnu.org; Sat, 07 Mar 2020 03:00:52 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36014)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1jAUO6-0001AM-LL; Sat, 07 Mar 2020 03:00:46 -0500
Received: from [176.228.60.248] (port=3555 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jAUO5-0003AW-0C; Sat, 07 Mar 2020 03:00:46 -0500
Date: Sat, 07 Mar 2020 10:00:43 +0200
Message-Id: <831rq4bnmc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: William Rankin <william@HIDDEN>
In-Reply-To: <m2eeu46cz6.fsf@HIDDEN> (message from William Rankin on
 Sat, 07 Mar 2020 13:49:33 +1000)
Subject: Re: bug#39967: 27.0.90; how to debug point moving erratically?
References: <m2eeu46cz6.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39967
Cc: 39967 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: William Rankin <william@HIDDEN>
> Date: Sat, 07 Mar 2020 13:49:33 +1000
> 
> I've been on the emacs-27 branch for about six months, and every now and then
> the point will begin erratically jumping around the current buffer without
> input. (I only got to addessing it now due to the impending release of 27.1.)
> 
> Some observations: This only happens about once a week. C-g has no effect.
> There's no clues in *Messages* buffer. Point movement is beyond visible portion
> of buffer. It usually happens in emacs-lisp-mode buffers that have been open a
> few hours, but I've experienced it in other modes too.
> 
> It seems like it could be font-lock/jit-lock moving point around outside of a
> save-excursion, but I know no way of confiming this.
> 
> How should I go about debugging this?

Find the feature you load/activate in your init files which causes
this?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39967; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Mar 2020 04:06:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 06 23:06:54 2020
Received: from localhost ([127.0.0.1]:46104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jAQjl-0004Ka-PW
	for submit <at> debbugs.gnu.org; Fri, 06 Mar 2020 23:06:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:37535)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <william@HIDDEN>) id 1jAQTA-0003uG-D1
 for submit <at> debbugs.gnu.org; Fri, 06 Mar 2020 22:49:44 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:42896)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <william@HIDDEN>) id 1jAQT8-0005TB-Vx
 for bug-gnu-emacs@HIDDEN; Fri, 06 Mar 2020 22:49:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,
 RCVD_IN_SORBS_WEB,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <william@HIDDEN>) id 1jAQT7-0006Au-P8
 for bug-gnu-emacs@HIDDEN; Fri, 06 Mar 2020 22:49:42 -0500
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44955)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <william@HIDDEN>)
 id 1jAQT7-00066L-9O
 for bug-gnu-emacs@HIDDEN; Fri, 06 Mar 2020 22:49:41 -0500
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id 6790822196
 for <bug-gnu-emacs@HIDDEN>; Fri,  6 Mar 2020 22:49:38 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Fri, 06 Mar 2020 22:49:38 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bydasein.com; h=
 from:to:subject:date:message-id:mime-version:content-type; s=
 fm2; bh=g4Pr6cb7C+l1DBFjO8vZkJuIE6/S9k28ndRLgs3UmSA=; b=qhseK/F+
 93Bej1VGNrqagaEHlc+qJJcepi4xtvIA+HncD7RUuYw15zWgEJiikzb0ZZztK9pu
 fsAjCBbVApaV+BLxZTY/OUXNcQoZj4QNrCJFZPgP7GyT0B7ziyKgU8k3K4ZHTS79
 c2R9G4K8of7vF0k7PtDTyLmgq8C2p1DZ7fX5VEhQ+jCRTg4hhp0xvQfZ5bgjNy4m
 avW4OkSq1rV/wEkqkIimyONfHAHY4l8dsRtWLpT6RkcNajUhZ0lMkiOT8uG15syt
 NS/w4Id1dhw0pnT0ZdFts8WhmXJzWfNNwpLGQMAsciYJnLotk9B72BEJeSuSidUR
 Dy/wF2YCmX9MsQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=g4Pr6cb7C+l1DBFjO8vZkJuIE6/S9
 k28ndRLgs3UmSA=; b=3aEVHoBKJylugh00NeFxXNwGUd8cKo/BFGlPiEDdqJFSo
 c/zAp5TC41vP/G+0gmYAcxBxIMJjDOvSHXtrow56/sb+h3kWf+CMLdbOSSrOwN58
 Llen5rIL6yNSaeiGjsPdcmxOYqKF3I8+yZ1MfRQCVAGJUDImVHd7ZYCpoRE69YlY
 lmg+dnfggBifnhxvXSaElZ26SJPJyVQZL7W7YOUD2kGi7oE7wGExOutxVHvS4G1S
 gzM5MwXIVNGsMHAK3d71PHHqt49VAb7f0uaVpbY9NFtQma4SuvqY7M3Ccquak8gb
 qkn6aZL43WhcpiP9YnZmNmr3wOszvFEqBTbo9gTPg==
X-ME-Sender: <xms:0hljXg1BzbvETgfRafDcirUOx56MMKi1-YP_3V2FPGtJh5nzdN5-lQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddufedgieehucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd
 ertdenucfhrhhomhephghilhhlihgrmhcutfgrnhhkihhnuceofihilhhlihgrmhessgih
 uggrshgvihhnrdgtohhmqeenucfkphepudeggedrudeftddrudehiedruddvleenucevlh
 hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeifihhllhhirghm
 segshigurghsvghinhdrtghomh
X-ME-Proxy: <xmx:0hljXmoKCqvx5VntsY2OpwfTWHbuJ_56EwlJsh1sREieJw0vqxXF0A>
 <xmx:0hljXgL1KJM7WL26smcq__xjEKnf5FHZKcsfQjMvXYHRYE_UshDgfw>
 <xmx:0hljXiNhPF4Jop6TPsAIVrlcRwxyI0KL0AwA6SR9gWEVmeD-NHg8hQ>
 <xmx:0hljXi1UPDgw9PDHFzkPRJCXU0sSaLXKcqBZ8-0AFt3FS2tVeo9xxA>
Received: from localhost (unknown [144.130.156.129])
 by mail.messagingengine.com (Postfix) with ESMTPA id 816963060BD1
 for <bug-gnu-emacs@HIDDEN>; Fri,  6 Mar 2020 22:49:37 -0500 (EST)
User-agent: mu4e 1.2.0; emacs 27.0.90
From: William Rankin <william@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.90; how to debug point moving erratically?
Date: Sat, 07 Mar 2020 13:49:33 +1000
Message-ID: <m2eeu46cz6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 66.111.4.25
X-Spam-Score: 1.5 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hello, I've been on the emacs-27 branch for about six months,
 and every now and then the point will begin erratically jumping around the
 current buffer without input. (I only got to addessing it now due to t [...]
 Content analysis details:   (1.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: messagingengine.com]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [209.51.188.17 listed in list.dnswl.org]
 1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
 [144.130.156.129 listed in dnsbl.sorbs.net]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.7 SPF_NEUTRAL            SPF: sender does not match SPF record (neutral)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 06 Mar 2020 23:06:52 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

Hello,

I've been on the emacs-27 branch for about six months, and every now and then
the point will begin erratically jumping around the current buffer without
input. (I only got to addessing it now due to the impending release of 27.1.)

Some observations: This only happens about once a week. C-g has no effect.
There's no clues in *Messages* buffer. Point movement is beyond visible portion
of buffer. It usually happens in emacs-lisp-mode buffers that have been open a
few hours, but I've experienced it in other modes too.

It seems like it could be font-lock/jit-lock moving point around outside of a
save-excursion, but I know no way of confiming this.

How should I go about debugging this?


GNU Emacs 27.0.90 (build 2, x86_64-apple-darwin19.3.0, NS appkit-1894.30 Version
10.15.3 (Build 19D76)) of 2020-03-05




Acknowledgement sent to William Rankin <william@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#39967; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 7 Mar 2020 12:30:02 UTC

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