From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#32351: assq_no_quit: circular loop (default, line-number, line-number-current-line) Date: Fri, 03 Aug 2018 08:17:30 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1533309431 2094 195.159.176.226 (3 Aug 2018 15:17:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2018 15:17:11 +0000 (UTC) Cc: 32351@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 03 17:17:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flbpC-0000QJ-JS for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2018 17:17:07 +0200 Original-Received: from localhost ([::1]:51902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flbrJ-0008MY-7J for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2018 11:19:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flbr9-0008LV-Fm for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 11:19:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flbr4-0001zO-DR for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 11:19:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flbr4-0001zI-58 for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 11:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1flbr3-0004At-SU for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 11:19:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Aug 2018 15:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32351 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32351-submit@debbugs.gnu.org id=B32351.153330948515834 (code B ref 32351); Fri, 03 Aug 2018 15:19:01 +0000 Original-Received: (at 32351) by debbugs.gnu.org; 3 Aug 2018 15:18:05 +0000 Original-Received: from localhost ([127.0.0.1]:40106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flbq8-00047J-H5 for submit@debbugs.gnu.org; Fri, 03 Aug 2018 11:18:04 -0400 Original-Received: from gateway20.websitewelcome.com ([192.185.4.169]:36208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flbq4-00046i-7X for 32351@debbugs.gnu.org; Fri, 03 Aug 2018 11:18:01 -0400 Original-Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway20.websitewelcome.com (Postfix) with ESMTP id BE203401102C5 for <32351@debbugs.gnu.org>; Fri, 3 Aug 2018 10:17:31 -0500 (CDT) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id lbpbfDyPjPvAdlbpbfG6BP; Fri, 03 Aug 2018 10:17:31 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date: Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=KQfrM2qtPv/KT5fDeUdqsRiOwJW2K+FUFLdhJs5zBoA=; b=EdnTLRnRh20y5s3Jl2ql/T/4zv N/mDxKvvyrjwXKPru+x5KF3tACWG4vgLAWnLPK/kX75nWIhozTP7crq99aDG3TUEAvdSp0jIthGuB qsZqzt9n+brD5wxU+MONWbHOhWK2LO4gvUYKzPYz+rW6a0sPGTTH/Nmpq6HdHKmkhFVIpRzYj9Jyo WcUwFKqNBiw2RYthnJHhSdPTJSNOO4U3pnnFiIZI4NaAPbWM4fvMXlA3yXWO5JaWqHaaJaf5Ziyss ZAYyKNMR2R6v0TjxIDjfkLJNsGovUXftV9tfbd8zROLnbg9WCPkI2ppf24DUvQ19YrhtGGkVcH3ed fsT50ZNQ==; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:49533 helo=server.local) by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.91) (envelope-from ) id 1flbpa-004Lm7-VC; Fri, 03 Aug 2018 10:17:31 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.239.195 X-Source-L: No X-Exim-ID: 1flbpa-004Lm7-VC X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.local) [45.48.239.195]:49533 X-Source-Auth: lawlist X-Email-Count: 1 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149235 Archived-At: Thank you, Eli, for looking at issue #32351. There is no error message, just a never-ending loop. Source code line numbers in fns.c match up with 07/07/2018 master branch bearing commit 98463bed07ecc9057094928ffdc2321eaaf3ab52. This is my working build with feature requests (crosshairs and multiple fake cursors). No reversions have been made to fns.c. The general circumstances with a full configuration are as follows: 1. Original single window in a GUI frame with native line numbers and truncate-lines non-nil. 2. Try to create/display a new window to the right that takes up approximately 95 percent of the overall frame; e.g., my custom 12 month rotating calendar. [A workaround would be "well, if it hurts, then don't do that". However, it would be nice to come up with a programmatic solution to avoid a never-ending loop.] 3. Emacs tries to display line numbers on the little sliver of a tall/razor-thin window. However, redisplay never finishes so the new window is not yet displayed and all that is visible to the naked eye is the full-size original window. 4. assq_no_quit goes into a forever never-ending loop. 5. C-z in the terminal to break with gdb. 6. Step: while (CONSP (list) 7. Step: list = XCDR (list); 8. Repeat stepping to infinity; e.g., step 500 yields the same results as paragraph 6/7 above. I can reproduce this on my end every time, so if there is anything you would like to see with gdb, I'd be happy to print. However, I may need some guidance regarding how to do it, since I just know the basics such as pp OBJECT, print, step and so forth. I anticipate having some time in the evenings over the weekend and can work on trying to come up with an Emacs -Q recipe. Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > Date: [08-02-2018 23:45:37] <03 Aug 2018 09:45:37 +0300> > From: Eli Zaretskii > To: Keith David Bershatsky > CC: 32351@debbugs.gnu.org > Subject: Re: bug#32351: assq_no_quit: circular loop (default, line-number, line-number-current-line) > > > Date: Thu, 02 Aug 2018 19:10:12 -0700 > > From: Keith David Bershatsky > > > > I apologize in advance for "not yet" having a concise recipe from Emacs -Q. I can work on creating a recipe in the coming days/weeks/months. I am able to produce this reliably in Emacs master branch, using a full user configuration. Here are the relevant lines from LIST to the assq_no_quit function. > > Where does the error message cited in the subject come from? It > doesn't come from assq_no_quit, does it? > > Also, your line numbers don't match the current master (fns.c:1487 is > not in assq_no_quit), so I cannot be sure what local changes do you > have that are involved. > > And finally, yes, a recipe which at least states what are the > customizations required to reproduce would be nice. > > Thanks.