From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 11:58:53 2019 Received: (at submit) by debbugs.gnu.org; 14 Apr 2019 15:58:53 +0000 Received: from localhost ([127.0.0.1]:33044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFhWu-0001ju-IA for submit@debbugs.gnu.org; Sun, 14 Apr 2019 11:58:53 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:36996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFfPD-0002DZ-N7 for submit@debbugs.gnu.org; Sun, 14 Apr 2019 09:42:48 -0400 Received: by mail-wr1-f42.google.com with SMTP id w10so18250742wrm.4 for ; Sun, 14 Apr 2019 06:42:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=iSkiMRwbe3BqRE7tI2J6nktxFx/MkneHH3KdUf4a8vE=; b=bDroLBwR3wc9UaQAYkWwGMpH2dWrACmBzV8MLglszDOo484Ppjju+y4yOgS86BCpHQ ZeMQjEYmswnbZ7bAdn/N6p6BNJYvnKqvneY+5T09tikfxYj3ZwZWRu9HVSPbAWzrb4v+ V7Pmyu3OE+9YMNjohj+T0oQLlIjyusBtVvPBLQLUB2TGDnNYMQh9Fk2aD96xkURMfiNz 8Dp8dN08YXxOJoO+HyFKZ9BBuZa7Vvkmb6SAC6KLpWQMDWobdAbdMNzjPfYW9/1PvkCN D/4+RAdEFlFheiEAREkq9Xarrw/rzjvl3VMuzoAGW7mV2cWv4mi1lmm2gi0VVAUK6X4T Aofw== X-Gm-Message-State: APjAAAVOoDkyUzjNh3eevLJAJGsX8/5CttI3xqUKH4peKT0agKn3ADuq BttDwarjt6rsujiFqd63elGX+UWG X-Google-Smtp-Source: APXvYqymhwi2d11v78xZg5Z0z8XGVJSpVw3obtyz96UC54jLso29TyQ2rcx4fpZBsWb0U3bOGjQ8TA== X-Received: by 2002:a5d:618b:: with SMTP id j11mr40627186wru.123.1555249361487; Sun, 14 Apr 2019 06:42:41 -0700 (PDT) Received: from rhea.home.vuxu.org (200116b8221fa100bd6939d859baa888.dip.versatel-1u1.de. [2001:16b8:221f:a100:bd69:39d8:59ba:a888]) by smtp.gmail.com with ESMTPSA id g19sm12892021wmh.17.2019.04.14.06.42.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 14 Apr 2019 06:42:40 -0700 (PDT) Received: from localhost (rhea.home.vuxu.org [local]) by rhea.home.vuxu.org (OpenSMTPD) with ESMTPA id fce53ef1 for ; Sun, 14 Apr 2019 13:42:39 +0000 (UTC) From: Leah Neukirchen To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Subject: "Marker does not point anywhere" when reading next article X-Debbugs-Version: 5.13 X-Debbugs-Package: emacs,gnus Date: Sun, 14 Apr 2019 15:42:39 +0200 Message-ID: <875zrgpusw.fsf@vuxu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 14 Apr 2019 11:58:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, On Gnus 5.13/Emacs 26.2 (and 26.1), if I hover with the mouse a link in Article view (such that it shows the tooltip "Follow the link"), and press SPC to read the next article, the message "Marker does not point anywhere" displays repeatedly, until the mouse is moved. This sounds like bug#30519 but it's still in 26.2... Gnus v5.13 GNU Emacs 26.2 (build 1, x86_64-unknown-linux-gnu, X toolkit) of 2019-04-12 200 news.gmane.org InterNetNews NNRP server INN 2.6.1 ready (posting ok) 100 Legal commands ARTICLE [message-ID|number] AUTHINFO USER name|PASS password|SASL mechanism [initial-response]|GENERIC program [argument ...] BODY [message-ID|number] CAPABILITIES [keyword] COMPRESS DEFLATE DATE GROUP newsgroup HDR header [message-ID|range] HEAD [message-ID|number] HELP IHAVE message-ID LAST LIST [ACTIVE [wildmat]|ACTIVE.TIMES [wildmat]|COUNTS [wildmat]|DISTRIB.PATS|DISTRIBUTIONS|HEADERS [MSGID|RANGE]|MODERATORS|MOTD|NEWSGROUPS [wildmat]|OVERVIEW.FMT|SUBSCRIPTIONS [wildmat]] LISTGROUP [newsgroup [range]] MODE READER NEWGROUPS [yy]yymmdd hhmmss [GMT] NEWNEWS wildmat [yy]yymmdd hhmmss [GMT] NEXT OVER [range] POST QUIT STARTTLS STAT [message-ID|number] XGTITLE [wildmat] XHDR header [message-ID|range] XOVER [range] XPAT header message-ID|range pattern [pattern ...] Report problems to . . 382 Begin TLS negotiation now 100 Legal commands ARTICLE [message-ID|number] AUTHINFO USER name|PASS password|SASL mechanism [initial-response]|GENERIC program [argument ...] BODY [message-ID|number] CAPABILITIES [keyword] COMPRESS DEFLATE DATE GROUP newsgroup HDR header [message-ID|range] HEAD [message-ID|number] HELP IHAVE message-ID LAST LIST [ACTIVE [wildmat]|ACTIVE.TIMES [wildmat]|COUNTS [wildmat]|DISTRIB.PATS|DISTRIBUTIONS|HEADERS [MSGID|RANGE]|MODERATORS|MOTD|NEWSGROUPS [wildmat]|OVERVIEW.FMT|SUBSCRIPTIONS [wildmat]] LISTGROUP [newsgroup [range]] MODE READER NEWGROUPS [yy]yymmdd hhmmss [GMT] NEWNEWS wildmat [yy]yymmdd hhmmss [GMT] NEXT OVER [range] POST QUIT STARTTLS STAT [message-ID|number] XGTITLE [wildmat] XHDR header [message-ID|range] XOVER [range] XPAT header message-ID|range pattern [pattern ...] Report problems to . . -- Leah Neukirchen http://leahneukirchen.org/ From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 12:32:00 2019 Received: (at 35273) by debbugs.gnu.org; 14 Apr 2019 16:32:00 +0000 Received: from localhost ([127.0.0.1]:33071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFi2y-0002b2-FU for submit@debbugs.gnu.org; Sun, 14 Apr 2019 12:32:00 -0400 Received: from mail-ed1-f48.google.com ([209.85.208.48]:45464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFi2w-0002ap-Dc for 35273@debbugs.gnu.org; Sun, 14 Apr 2019 12:31:59 -0400 Received: by mail-ed1-f48.google.com with SMTP id o26so12442044edv.12 for <35273@debbugs.gnu.org>; Sun, 14 Apr 2019 09:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=QtASbdqZqw77Y/6rBU0vKIGqnGvDxgAr+wyBEE+gI0c=; b=0hIw5XAcDZT6BZ70WY9FqbD+AmaiuOkrNoLc1jN1IeHyu5UuBusja/JThmDOkO/HSY 2GqlJT2j+uy6ypOyJtDs8A6hqJg6E1FZnSJT4lGHWAgd+yiV3nQOo1d/FZDZ2mRKryxt tYU34QhCyvxuEWd0PCx2Lb4EAgATj5m8Ezsc8HaAcMTnzCZQm9QDBrclwgwb2Vpp+C0u mCS6+jJhHNQ/Xhkh2zVhrSf0SUccl3+/OX0psU8Jhc1BIKEZKRdYdVl7g03GvMIL2PdP FebHsXZNjVT/lsT8F9CpGR106cbmpURQeHLHYZPHlZWvqgg2qMKxMollW7eXXRdlF3Gs gjYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=QtASbdqZqw77Y/6rBU0vKIGqnGvDxgAr+wyBEE+gI0c=; b=FqHY3VoHmNOSGHME0RjAGtfgoDgge1Q2ZKnldbb0FDdcZU3arEb2nNBQEcouCLkADo tX/7aSXQUu73SCFm316GLZZRKbeNQjfydhRELv6yDH9ctQdRbdeWMYgh1+Y0N2N6L/YZ y1GMUKY2gX6XB698ALzSmZLIXgKTMpk9PLyaKe50HGJ5eJMr1JfW3UP2ldpARmK30bd5 zOisYp5dDBgtbYgjCQvh9aqv2meJZgz5DTrbD0IBQkqcDBUfe74dAVbP8fHq4htCHRGo NcG2XKZ+J5NhUc61PnIGiNY5FbeDRXI9ouJvEF0+qB+ezALDSphxp/K7mcbJTDZYaGmV Bzpw== X-Gm-Message-State: APjAAAXvKvUsUPixJXzo7ksO7Y7PBmat9uxik/KZ5KDCf66FkemqDR3K mPAZOuQKd5yUpXZjPMx33yBxuKo8+dZekg== X-Google-Smtp-Source: APXvYqzJhqKEnaM4GvbzldBFkrt+7nl7sv7VSR651i5Lpd11EI/8NNDtMv/GnAUVzpQhohJeK/nyeg== X-Received: by 2002:a17:906:1d0f:: with SMTP id n15mr26361342ejh.83.1555259512548; Sun, 14 Apr 2019 09:31:52 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:20c2:134e:4f3a:683a]) by smtp.gmail.com with ESMTPSA id b32sm442718edb.67.2019.04.14.09.31.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 14 Apr 2019 09:31:51 -0700 (PDT) From: "Basil L. Contovounesios" To: Leah Neukirchen Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> Date: Sun, 14 Apr 2019 17:31:50 +0100 In-Reply-To: <875zrgpusw.fsf@vuxu.org> (Leah Neukirchen's message of "Sun, 14 Apr 2019 15:42:39 +0200") Message-ID: <87lg0czgy1.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 35273 Cc: 35273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leah Neukirchen writes: > On Gnus 5.13/Emacs 26.2 (and 26.1), if I hover with the mouse a link > in Article view (such that it shows the tooltip "Follow the link"), > and press SPC to read the next article, the message "Marker does not > point anywhere" displays repeatedly, until the mouse is moved. > > This sounds like bug#30519 but it's still in 26.2... FWIW, I just tried this on a build of latest master with the link in your signature, and saw no such messages. -- Basil From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 17:33:32 2019 Received: (at 35273) by debbugs.gnu.org; 14 Apr 2019 21:33:32 +0000 Received: from localhost ([127.0.0.1]:33267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFmkm-0005wq-Bg for submit@debbugs.gnu.org; Sun, 14 Apr 2019 17:33:32 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:37377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFmXm-0005cY-5F for 35273@debbugs.gnu.org; Sun, 14 Apr 2019 17:20:07 -0400 Received: by mail-wm1-f48.google.com with SMTP id v14so17663776wmf.2 for <35273@debbugs.gnu.org>; Sun, 14 Apr 2019 14:20:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=jOW8CkUX5+FCGWULym0v53qg3Fal6lxFIpC0Yjit4oQ=; b=WFGNLh29cOuAmFkPKJgbp5wjW2Yn1/nRd4ZKE0v2FGcVlBDV6CVK2Bmz160RjQ9t5u Le7w/O+vxmOFFbwQpuuZVqQccQY1Dvz4wos1inBIzZD7RHJhEJIiJc8WJIN7UDpXOHjK tgVYJAbOmpBMdlojZHTaq9/Absa7vKPtSvFNt/WGCWe/zRtAITvwRKDivPNV/KU5e/7m uZ5mXzPGPUUYz/JLMt8xzmDfG70P6RpdzpsFuhKG9BzUbcql++25luv2ObDeD5+pA49V 5NtluzxGGWGq/JTeJPzvRwMhBuFwzrOpwS1CVJM4bqFkA8io5wCugn7rvNABjxYW3D2I 5PNg== X-Gm-Message-State: APjAAAUidIgtvQty8IWEMpGzdvXHOzidoO5e1eXIMJRNDmczma0zYoS6 /ISgKKEsZSiFG5ISwgV/qaDcqyh5 X-Google-Smtp-Source: APXvYqxl6QAgAbvmhzwObX+8eCcsGLPf4y+9fNeP6oenFjkDprvbdPl7qPw+VJg3JnQ3NveIfwU1pw== X-Received: by 2002:a7b:c923:: with SMTP id h3mr19318807wml.34.1555276799993; Sun, 14 Apr 2019 14:19:59 -0700 (PDT) Received: from rhea.home.vuxu.org ([2001:470:6d:72e:5baf:275b:286a:d6b4]) by smtp.gmail.com with ESMTPSA id c16sm18277644wme.31.2019.04.14.14.19.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 14 Apr 2019 14:19:58 -0700 (PDT) Received: from localhost (rhea.home.vuxu.org [local]) by rhea.home.vuxu.org (OpenSMTPD) with ESMTPA id 2c6dacf8; Sun, 14 Apr 2019 21:19:57 +0000 (UTC) From: Leah Neukirchen To: "Basil L. Contovounesios" Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> Date: Sun, 14 Apr 2019 23:19:56 +0200 In-Reply-To: <87lg0czgy1.fsf@tcd.ie> (Basil L. Contovounesios's message of "Sun, 14 Apr 2019 17:31:50 +0100") Message-ID: <8736mkgu83.fsf@vuxu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.4 (+) 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: "Basil L. Contovounesios" writes: > Leah Neukirchen writes: > >> On Gnus 5.13/Emacs 26.2 (and 26.1), if I hover with the mouse a link >> in Article view (such that it shows the tooltip "Follow the link"), >> and press [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (chneukirchen[at]gmail.com) 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: vuxu.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.1 TRACKER_ID BODY: Incorporates a tracking ID number -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.48 listed in list.dnswl.org] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Debbugs-Envelope-To: 35273 X-Mailman-Approved-At: Sun, 14 Apr 2019 17:33:31 -0400 Cc: 35273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.4 (/) "Basil L. Contovounesios" writes: > Leah Neukirchen writes: > >> On Gnus 5.13/Emacs 26.2 (and 26.1), if I hover with the mouse a link >> in Article view (such that it shows the tooltip "Follow the link"), >> and press SPC to read the next article, the message "Marker does not >> point anywhere" displays repeatedly, until the mouse is moved. >> >> This sounds like bug#30519 but it's still in 26.2... > > FWIW, I just tried this on a build of latest master with the link in > your signature, and saw no such messages. Ok, the setup is more contrived as I now figured out (but it still happens in HEAD): - The mouse needs to hover over the link in such a way that it will be on a link again after pressing SPC (this is easy to trigger on From: and articles that fit on a screen) - elscreen needs to be loaded and started - elscreen needs at least two tabs(!), with a single tab it doesn't trigger I'm unable to make any good backtrace of this happening, other than simply command-error-default-function I hope this helps reproducing. If you have other ideas how I can debug it myself, please tell me. -- Leah Neukirchen http://leah.zone From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 16 08:38:35 2019 Received: (at 35273) by debbugs.gnu.org; 16 Apr 2019 12:38:35 +0000 Received: from localhost ([127.0.0.1]:36773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGNMB-0004nG-DJ for submit@debbugs.gnu.org; Tue, 16 Apr 2019 08:38:35 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:44801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGNM6-0004mx-0G for 35273@debbugs.gnu.org; Tue, 16 Apr 2019 08:38:33 -0400 Received: by mail-qt1-f177.google.com with SMTP id w5so22969195qtb.11 for <35273@debbugs.gnu.org>; Tue, 16 Apr 2019 05:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=AInWwY7nfFBjH217qcQ+ZbhnVrW1lspuiTbvL6kfpr0=; b=uMhLd1gk9vRml6fgCF94jDCtp05S+jfqbxcV7AvqVVZm6xNZ/FHJjnWNJKWSd3oVfR oj0rnjIs/2QsDYgC1v1l1WTuKx0898C5dne2uWf924bsFG+ncGBjWkSvTOdDD+qwqgsH fGbWSlHc4fV9c3dvW0z58b9TkpOZeMtVTqWAzRE/TNOJvqTqIqYXetXwaz+LR2E18vhW Yvr3BczXFxouczP7cKD02u1Khkg1r3Bob822N9X/h3etk9VtQvstsFdWQBkUsYi+sl4w 0Aoqgaqx2JFPA3EjAlIJebZAc+Z6lI8taskxxgH1aWmdXcXyUktjfRAHF09U3zu7Vl3n swIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=AInWwY7nfFBjH217qcQ+ZbhnVrW1lspuiTbvL6kfpr0=; b=H5/npOm8YSlJfKjO9FxvJuSlfNR1FL3sozxzOy/74oExM+bUrQ9MhqLzteEiWRiclB EK5Fn1hKtbgLS12pyLSHTgCrVeXFm8gF98gtTxv5HsmrVunWMBL5SyYyw4MoUtL7Pn3Y bT6ikTr56WmllhTtqrky8qW8TpS2KLVQTJs0SUTyj4YAbGWV1Ql9zCzmdSFimhNWhgQO 29t1hNgFmk+x/XTfhxh0V2k0gLotw6ygfp0a7aTvOH+dB18ozK+oYWMOxIZs2SJcTJ0b wJdLTc5QdJecM1sA9YmZpGKP+MHGoNP7ETtR6QVrRpxgLT8sR/t6q9rcppBX6peSM6z0 7fvA== X-Gm-Message-State: APjAAAWOtsgbfJCG/2SZapAhOKt7r/j2S1tjf6ldthhHxnWbhwl9LQv4 6znZ+QYnbJ29qESshGQ/7AOIEW+c X-Google-Smtp-Source: APXvYqyuhQkRQytigQvS9gOVdetW9Foi+0tSxBLdoYC86v1kUyid+Lap+0S+aW9FrL0KEQDC1gsHJw== X-Received: by 2002:a0c:aee6:: with SMTP id n38mr64858089qvd.43.1555418303163; Tue, 16 Apr 2019 05:38:23 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id y34sm33381018qta.96.2019.04.16.05.38.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2019 05:38:21 -0700 (PDT) From: Noam Postavsky To: Leah Neukirchen Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> Date: Tue, 16 Apr 2019 08:38:20 -0400 In-Reply-To: <8736mkgu83.fsf@vuxu.org> (Leah Neukirchen's message of "Sun, 14 Apr 2019 23:19:56 +0200") Message-ID: <87zhoqxgzn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35273 Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leah Neukirchen writes: > If you have other ideas how I can debug it myself, please tell me. If you can reproduce it reliably, setting (setq debug-on-signal t) just before might help get a backtrace. If that also doesn't work you could record the backtrace from a signal-hook-function: (defvar bug-35273-last-backtrace nil) (defun bug-35273-record-backtrace (err data) (when (and (eq err 'error) (equal data '("Marker does not point anywhere"))) (setq bug-35273-last-backtrace (backtrace-frames 'signal))) (let ((signal-hook-function nil)) (signal err data))) (setq signal-hook-function #'bug-35273-record-backtrace) Or if you can run under gdb, just set a breakpoint in the C code where that error is raised. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 16 08:50:59 2019 Received: (at 35273) by debbugs.gnu.org; 16 Apr 2019 12:50:59 +0000 Received: from localhost ([127.0.0.1]:36786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGNYB-00055e-7H for submit@debbugs.gnu.org; Tue, 16 Apr 2019 08:50:59 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:42248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGNY9-00055C-C9 for 35273@debbugs.gnu.org; Tue, 16 Apr 2019 08:50:58 -0400 Received: by mail-wr1-f47.google.com with SMTP id g3so26878465wrx.9 for <35273@debbugs.gnu.org>; Tue, 16 Apr 2019 05:50:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=//h0ISPSKEDALMwfc6SwOxVmfbRsRQuSNQB2cYthOKc=; b=OCnvvLYjIplPM0QZaMmHmsSJ7cEX/FD271qZfOQOTMXvm/Le02/k7TSLml0ZY76pI5 0wSGXmHRicxUvq8dVNlYFtgoVYzZZES7cNERfovn0naqTFnkYtot/dhYa7XWihBku2k4 TDVSr8uANqPEERaSU8Zr/VuQjrFk4o2nY2O4R7APJFLVNc2Yyo1voo1D8BfEes9kNDmN jsxxLQWMciY9nS/zWUYE3DA7WJtVet0RvvQaRmd6WLjwZjEVxSRqio1stG4zyNPSy6kW MIruzM8TtU4BwYl3B/6c1YnuIMKACnrZMl7VCWkD9GPohiwovGSZ1b11o/vBT5nKUNa+ XvyQ== X-Gm-Message-State: APjAAAWBAiBch2CiREyDMLQzErjUBE79meiSLlykP0rxmKHFvdC5CKXK rAE5WiAy7MTnWebUFLu4wQw= X-Google-Smtp-Source: APXvYqzMnJyCiCbJdIkK0SIjmHc7s3gIGaJLnbcQp+ZgzMn4g2lMUVvTU+PzOq32VypI/4SDaUxMeA== X-Received: by 2002:adf:ea43:: with SMTP id j3mr28200064wrn.210.1555419051112; Tue, 16 Apr 2019 05:50:51 -0700 (PDT) Received: from rhea.home.vuxu.org (host-212-114-138-244.customer.m-online.net. [212.114.138.244]) by smtp.gmail.com with ESMTPSA id q24sm16097696wmj.26.2019.04.16.05.50.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2019 05:50:50 -0700 (PDT) Received: from localhost (rhea.home.vuxu.org [local]) by rhea.home.vuxu.org (OpenSMTPD) with ESMTPA id 8dff7b41; Tue, 16 Apr 2019 12:50:47 +0000 (UTC) From: Leah Neukirchen To: Noam Postavsky Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> Date: Tue, 16 Apr 2019 14:50:47 +0200 In-Reply-To: <87zhoqxgzn.fsf@gmail.com> (Noam Postavsky's message of "Tue, 16 Apr 2019 08:38:20 -0400") Message-ID: <87wojum7vc.fsf@vuxu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 35273 Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Noam Postavsky writes: > Leah Neukirchen writes: > >> If you have other ideas how I can debug it myself, please tell me. > > If you can reproduce it reliably, setting (setq debug-on-signal t) just > before might help get a backtrace. > > If that also doesn't work you could record the backtrace from a > signal-hook-function: > > (defvar bug-35273-last-backtrace nil) > (defun bug-35273-record-backtrace (err data) > (when (and (eq err 'error) > (equal data '("Marker does not point anywhere"))) > (setq bug-35273-last-backtrace > (backtrace-frames 'signal))) > (let ((signal-hook-function nil)) > (signal err data))) > (setq signal-hook-function #'bug-35273-record-backtrace) These do not work for some reason... > Or if you can run under gdb, just set a breakpoint in the C code where > that error is raised. On 27.0.50 (05d53d888): Breakpoint 1, marker_position (marker=0x555557d6feb5) at marker.c:680 680 error ("Marker does not point anywhere"); (gdb) bt #0 marker_position (marker=0x555557d6feb5) at marker.c:680 #1 0x000055555567935e in mouse_face_overlay_overlaps (overlay=0x555557d6ff15) at lisp.h:2624 #2 0x00005555555d395f in note_mouse_highlight (f=f@entry=0x555556001d70, x=, y=) at xdisp.c:31836 #3 0x0000555555633ee8 in XTframe_up_to_date (f=0x555556001d70) at xterm.c:1280 #4 0x00005555555c67de in redisplay_internal () at xdisp.c:14523 #5 0x00005555555c7dd5 in redisplay_preserve_echo_area ( from_where=from_where@entry=5) at xdisp.c:14759 #6 0x0000555555661902 in read_char (commandflag=commandflag@entry=1, map=map@entry=0x555557807873, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7fffffffe05b, end_time=end_time@entry=0x0) at keyboard.c:2474 #7 0x00005555556642a1 in read_key_sequence ( keybuf=keybuf@entry=0x7fffffffe170, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:9111 #8 0x0000555555665abc in command_loop_1 () at lisp.h:1064 #9 0x00005555556d4b6e in internal_condition_case ( bfun=bfun@entry=0x5555556658d0 , handlers=handlers@entry=0x5010, hfun=hfun@entry=0x55555565ce40 ) at eval.c:1352 #10 0x0000555555657b14 in command_loop_2 (ignore=ignore@entry=0x0) at lisp.h:1064 #11 0x00005555556d4add in internal_catch (tag=tag@entry=0xc5d0, func=func@entry=0x555555657af0 , arg=arg@entry=0x0) at eval.c:1115 #12 0x0000555555657aab in command_loop () at lisp.h:1064 #13 0x000055555565ca36 in recursive_edit_1 () at keyboard.c:714 #14 0x000055555565cd69 in Frecursive_edit () at keyboard.c:786 #15 0x000055555558890e in main (argc=1, argv=0x7fffffffe538) at emacs.c:1963 (gdb) xbacktrace "redisplay_internal (C function)" (0x0) (gdb) p buf $2 = (struct buffer *) 0x0 (gdb) p *m $4 = { header = { size = 4611686018477740032 }, buffer = 0x0, need_adjustment = false, insertion_type = true, next = 0x555557d6fe80, charpos = 1, bytepos = 1 } hth, -- Leah Neukirchen http://leah.zone From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 16 09:13:20 2019 Received: (at 35273) by debbugs.gnu.org; 16 Apr 2019 13:13:20 +0000 Received: from localhost ([127.0.0.1]:36809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGNto-0005cP-HY for submit@debbugs.gnu.org; Tue, 16 Apr 2019 09:13:20 -0400 Received: from mail-qk1-f182.google.com ([209.85.222.182]:46051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGNtm-0005cD-7I for 35273@debbugs.gnu.org; Tue, 16 Apr 2019 09:13:19 -0400 Received: by mail-qk1-f182.google.com with SMTP id z76so12030563qkb.12 for <35273@debbugs.gnu.org>; Tue, 16 Apr 2019 06:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yc0LnyQFd2IiAP4jnWM8YFY7DxQ400jcsZUiArNRe4c=; b=PGpGMmUlQC2AmhHxEm7fpr0vmiiYbABUbYQMgjpTvKVhaA+zuaEwzKM1xH92PAJgn7 2t+e5bfP6rUCm9ONDFoAg8WNero8zM9gToWTKQaEyahYkUUMyFCNjsz1VdZRsAJCssnm OwxPQoySHUPHoLDxyF3R4+6VB5+c1IRp12+7P8UHy8Ul+vHbUspejKLdm6Dm4yFlueQH 5sKQwRA4OufUm9i4m48FxcVSnQcGXp4a3rfoe12ZNJ4tpLh1QitRFSsq5oPoDV6trPEf DcxqxenmN2isvWcy0gy9M8cU52wmHqq435ju5u6ESr9Ib9mXSQTVrPBKWgirEEIg9Zrr z4YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yc0LnyQFd2IiAP4jnWM8YFY7DxQ400jcsZUiArNRe4c=; b=kMedbP35udmNx/ViTrpSwcfNUVT0KyBv+EPNZcwv5nRdPmTBBRgdZ/BugB3kPeH/H9 Hf14i5NvRjij/c86lpwlHfC/GDZwuUEe4UfXoHsXOqzIFBBKBnGgt5CH4bMoBJRB+Ewp LJGC2X9M1u39j7PIYtOn5Ybbiq2jP7g1cJxCDbVIsowiM23Q2zusJcg3gPpN87Qnl7Ml 167Ly3lrSkJA3mBdPBmEKUgeQ5Pz8bZP1nEGIDzUVO13bagtaiwsroKCScaXXs4Qf0Vb huuMQdc7sBPC8CePghDUV3yDtZ9khpeAULEgiwwNvwH/nYS8hoSaH3kRtCU3JwhLSCXp MdCA== X-Gm-Message-State: APjAAAXPEiuRE72stHxGwoUzdTOZGPqUXHyaxJbtio5R/wUVrGy1F8nk a0oBz60F9ctrmR5n5vQb4KXIBU4y X-Google-Smtp-Source: APXvYqxjFIz6PINbk8JKt4Bzkfft1Lo5wvcgnXB6Dd+ZNn7X34/vaJN+UKgt8+S5vxuwJvAjgL56dA== X-Received: by 2002:a37:7383:: with SMTP id o125mr63545686qkc.56.1555420392550; Tue, 16 Apr 2019 06:13:12 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id f47sm40761822qta.80.2019.04.16.06.13.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2019 06:13:11 -0700 (PDT) From: Noam Postavsky To: Leah Neukirchen Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> Date: Tue, 16 Apr 2019 09:13:10 -0400 In-Reply-To: <87wojum7vc.fsf@vuxu.org> (Leah Neukirchen's message of "Tue, 16 Apr 2019 14:50:47 +0200") Message-ID: <87wojuxfdl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35273 Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leah Neukirchen writes: >> If you can reproduce it reliably, setting (setq debug-on-signal t) just >> before might help get a backtrace. >> >> If that also doesn't work you could record the backtrace from a >> signal-hook-function: >> >> (defvar bug-35273-last-backtrace nil) >> (defun bug-35273-record-backtrace (err data)[...] >> (setq signal-hook-function #'bug-35273-record-backtrace) > > These do not work for some reason... debug-on-signal doesn't work because the debugger is suppressed during redisplay (to avoid recursion). I think the signal-hook-function might have worked (though I forgot to tell you to check the value of bug-35273-last-backtrace afterwards) but it would only have a single frame of "redisplay" so it would be useless. >> Or if you can run under gdb, just set a breakpoint in the C code where >> that error is raised. > > On 27.0.50 (05d53d888): > > Breakpoint 1, marker_position (marker=0x555557d6feb5) at marker.c:680 > 680 error ("Marker does not point anywhere"); > (gdb) bt > #0 marker_position (marker=0x555557d6feb5) at marker.c:680 > #1 0x000055555567935e in mouse_face_overlay_overlaps (overlay=0x555557d6ff15) > at lisp.h:2624 > #2 0x00005555555d395f in note_mouse_highlight (f=f@entry=0x555556001d70, > x=, y=) at xdisp.c:31836 The xdisp.c:31836 at revision 05d53d888 has help_echo_pos = charpos; And neither note_mouse_highlight nor mouse_face_overlay_overlaps call marker_position, so I'm confused how we got there. note_mouse_highlight does call Fmarker_position, but that one doesn't signal an error. Maybe the debug info is messed up by optimization. Could you try recompiling with CFLAGS='-O0 -g3'? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 16 09:21:25 2019 Received: (at 35273) by debbugs.gnu.org; 16 Apr 2019 13:21:25 +0000 Received: from localhost ([127.0.0.1]:36818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGO1c-0005qK-M5 for submit@debbugs.gnu.org; Tue, 16 Apr 2019 09:21:25 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:54050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGO1a-0005q4-Mu for 35273@debbugs.gnu.org; Tue, 16 Apr 2019 09:21:23 -0400 Received: by mail-wm1-f54.google.com with SMTP id q16so25344292wmj.3 for <35273@debbugs.gnu.org>; Tue, 16 Apr 2019 06:21:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=GU57Z+MNzBKtFTh7EArnqBOetjea5Ch7bknCvII8bf8=; b=d2tD+kE9ezBvWQMOMRmiuKAhOc5ii8gaFqCLhq27CmMYmw4Fx55Gl5WX+hIkURLOcm lQhwSe9qX6mImPlUIg536+OZj3HpoAIkGpjp6aV7TcqCrL7Lya2rjXDE3PBpBR1JHm6P 9lnnvHHA/4L7QEHKdo4nIOAuFkfkGnIox5QMTtz1nMSSv0p/kPAHpMnpmlrjfRoxs80o pv1VH84HPD6s8g0qaejbhVJ3u1BUMwhyXYPHoNjnGUZCJbIKTzOY2XiLHFbvUWCNjLGD wMFNdN9X/d89SaYsADLorg2VslQIHiptMk+svMHXM+APT5BvryObzSXNV515VKwEglb4 +7sQ== X-Gm-Message-State: APjAAAU/Yf3CJrYLTyUmOfkfQSVmDtKEYdBzii6wx7GkuP56outIg0CI 9Nyfjv1YNhi6Jkmb4Rk2NVo= X-Google-Smtp-Source: APXvYqwMJSBbppOilzt0WnH6MsWZHjcsWwC5bNf418+dfTz3aU1RIwMC6uwddn3T5SZH7vFCn6KK6A== X-Received: by 2002:a1c:cc15:: with SMTP id h21mr2736905wmb.85.1555420876587; Tue, 16 Apr 2019 06:21:16 -0700 (PDT) Received: from rhea.home.vuxu.org (host-212-114-138-244.customer.m-online.net. [212.114.138.244]) by smtp.gmail.com with ESMTPSA id n4sm55391299wrx.39.2019.04.16.06.21.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2019 06:21:15 -0700 (PDT) Received: from localhost (rhea.home.vuxu.org [local]) by rhea.home.vuxu.org (OpenSMTPD) with ESMTPA id 76ae7fcd; Tue, 16 Apr 2019 13:21:12 +0000 (UTC) From: Leah Neukirchen To: Noam Postavsky Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> Date: Tue, 16 Apr 2019 15:21:12 +0200 In-Reply-To: <87wojuxfdl.fsf@gmail.com> (Noam Postavsky's message of "Tue, 16 Apr 2019 09:13:10 -0400") Message-ID: <87sguim6gn.fsf@vuxu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 35273 Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Noam Postavsky writes: > Leah Neukirchen writes: > >>> If you can reproduce it reliably, setting (setq debug-on-signal t) just >>> before might help get a backtrace. >>> >>> If that also doesn't work you could record the backtrace from a >>> signal-hook-function: >>> >>> (defvar bug-35273-last-backtrace nil) >>> (defun bug-35273-record-backtrace (err data)[...] > >>> (setq signal-hook-function #'bug-35273-record-backtrace) >> >> These do not work for some reason... > > debug-on-signal doesn't work because the debugger is suppressed during > redisplay (to avoid recursion). I think the signal-hook-function might > have worked (though I forgot to tell you to check the value of > bug-35273-last-backtrace afterwards) but it would only have a single > frame of "redisplay" so it would be useless. (It was nil.) >>> Or if you can run under gdb, just set a breakpoint in the C code where >>> that error is raised. >> >> On 27.0.50 (05d53d888): >> >> Breakpoint 1, marker_position (marker=0x555557d6feb5) at marker.c:680 >> 680 error ("Marker does not point anywhere"); >> (gdb) bt >> #0 marker_position (marker=0x555557d6feb5) at marker.c:680 >> #1 0x000055555567935e in mouse_face_overlay_overlaps (overlay=0x555557d6ff15) >> at lisp.h:2624 >> #2 0x00005555555d395f in note_mouse_highlight (f=f@entry=0x555556001d70, >> x=, y=) at xdisp.c:31836 > > The xdisp.c:31836 at revision 05d53d888 has > > help_echo_pos = charpos; > > And neither note_mouse_highlight nor mouse_face_overlay_overlaps call > marker_position, so I'm confused how we got there. note_mouse_highlight > does call Fmarker_position, but that one doesn't signal an error. > > Maybe the debug info is messed up by optimization. Could you try > recompiling with CFLAGS='-O0 -g3'? (gdb) bt #0 marker_position (marker=XIL(0x5555578a47c5)) at marker.c:680 #1 0x00005555556fc2dd in mouse_face_overlay_overlaps ( overlay=XIL(0x5555578a4825)) at buffer.c:3047 #2 0x0000555555606f5f in note_mouse_highlight (f=0x55555610dbf0, x=100, y=9) at xdisp.c:31631 #3 0x0000555555691622 in XTframe_up_to_date (f=0x55555610dbf0) at xterm.c:1280 #4 0x00005555555d0714 in redisplay_internal () at xdisp.c:14523 #5 0x00005555555d0e38 in redisplay_preserve_echo_area (from_where=5) at xdisp.c:14759 #6 0x00005555556d0c56 in read_char (commandflag=1, map=XIL(0x555557e1d043), prev_event=XIL(0), used_mouse_menu=0x7fffffffdeb5, end_time=0x0) at keyboard.c:2474 #7 0x00005555556de5dd in read_key_sequence (keybuf=0x7fffffffe0c0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9111 #8 0x00005555556cddd9 in command_loop_1 () at keyboard.c:1350 #9 0x0000555555780598 in internal_condition_case ( bfun=0x5555556cd991 , handlers=XIL(0x5010), hfun=0x5555556cd146 ) at eval.c:1352 #10 0x00005555556cd679 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1091 #11 0x000055555577fe1a in internal_catch (tag=XIL(0xc5d0), func=0x5555556cd64c , arg=XIL(0)) at eval.c:1115 #12 0x00005555556cd617 in command_loop () at keyboard.c:1070 #13 0x00005555556ccd15 in recursive_edit_1 () at keyboard.c:714 #14 0x00005555556cce99 in Frecursive_edit () at keyboard.c:786 #15 0x00005555556cacbc in main (argc=1, argv=0x7fffffffe538) at emacs.c:1963 Lisp Backtrace: "redisplay_internal (C function)" (0x0) (gdb) up #1 0x00005555556fc2dd in mouse_face_overlay_overlaps ( overlay=XIL(0x5555578a4825)) at buffer.c:3047 3047 ptrdiff_t start = OVERLAY_POSITION (OVERLAY_START (overlay)); (gdb) l 3042 `mouse-face' property overlapping OVERLAY. */ 3043 3044 bool 3045 mouse_face_overlay_overlaps (Lisp_Object overlay) 3046 { 3047 ptrdiff_t start = OVERLAY_POSITION (OVERLAY_START (overlay)); 3048 ptrdiff_t end = OVERLAY_POSITION (OVERLAY_END (overlay)); 3049 ptrdiff_t n, i, size; 3050 Lisp_Object *v, tem; 3051 Lisp_Object vbuf[10]; (gdb) up #2 0x0000555555606f5f in note_mouse_highlight (f=0x55555610dbf0, x=100, y=9) at xdisp.c:31631 31631 && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay))) (gdb) l 31626 if we enter the overlapping overlay, and then highlight 31627 only that. Skip the check when mouse-face highlighting 31628 is currently hidden to avoid Bug#30519. */ 31629 || (!hlinfo->mouse_face_hidden 31630 && OVERLAYP (hlinfo->mouse_face_overlay) 31631 && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay))) 31632 { 31633 /* Find the highest priority overlay with a mouse-face. */ 31634 Lisp_Object overlay = Qnil; 31635 for (i = noverlays - 1; i >= 0 && NILP (overlay); --i) -- Leah Neukirchen http://leah.zone From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 16 09:56:47 2019 Received: (at 35273) by debbugs.gnu.org; 16 Apr 2019 13:56:47 +0000 Received: from localhost ([127.0.0.1]:37673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGOZq-0006y8-FR for submit@debbugs.gnu.org; Tue, 16 Apr 2019 09:56:46 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:41226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGOZo-0006xv-J3 for 35273@debbugs.gnu.org; Tue, 16 Apr 2019 09:56:45 -0400 Received: by mail-qt1-f177.google.com with SMTP id w30so23317105qta.8 for <35273@debbugs.gnu.org>; Tue, 16 Apr 2019 06:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Qa8NuPUCErowXnTBMFlZtkVPqibGWk6VBZNAYds4nfU=; b=VVihcU4rHqHc9pXKob6HXCrbTcQitWqhgLyMwjO+x++yaFcC7y9QJ6o2Bqd6e0zIvQ y2U1MrN1r9tfYDUCMEsxkhyvx6710O+vVoolP7tEX4KRyyLgyVvnNu2RV0QY/97itAgY NoQRnt8jcnMKqvYdUqwNHF38ArH6FaKc1Paq7/E02qOrK8UfvX64r9nAOFUO4nU8816+ RrXu69Qc5Zo7bxzVDcpeqQfC4P83SSk41GBRLPpI5GJ38yQX4WEGaGdjGK7+MadKKiT6 jMnuv1jloICXCSpXc2o29rwWvvTJ0C7G5Gzw3ISmL8ZJT2ATqRae+mZ3upMFO2WOjnwt PVqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Qa8NuPUCErowXnTBMFlZtkVPqibGWk6VBZNAYds4nfU=; b=mGDZGX0D2FBgRJ93a9wmtaxfyMYc0OiyGgLAq2pLKNdgBhxq+/8oyDT1irOeKaWYlv A89vBVKcrzM9czzWJzLouLvg0XWEvId2VNWtpsV24Y/FPn5NjBHE160VmdHKTMNvx9X5 vI4eHIS1dXtaOrgQAeoZxyCiXFzMeB4WZcVbK73o/2KAvr1oA6uZmFSpH4Ckql63f+Cr lHjMtEy0UF7WBjpk5aBmhFIv8hlUdaSdbk6vHCOwgv/69FT0WDQQY7H9Y2yjYQhwCAuR sj00yHX5VVFQicmwoG77lyVaoqhzlMvA2/KBCGS8PijHCD6kbvOajmCGEidAwFSKIIlL AmsA== X-Gm-Message-State: APjAAAVFMI6o2HuoyKLDclYjMjrtnPeiXgMfW/yLeAU/xsI6rUuEysau aC0sDgOITo/UXi2StXuu1H43uLbk X-Google-Smtp-Source: APXvYqw0eWWUIgBy4KiQi/coSruR4iL0k3NpKiF9yPMfBbXGd5CCzx3/vDcuQriYNufhTB6iA7cJhA== X-Received: by 2002:aed:2401:: with SMTP id r1mr63177547qtc.312.1555422998597; Tue, 16 Apr 2019 06:56:38 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 75sm31737070qke.32.2019.04.16.06.56.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2019 06:56:37 -0700 (PDT) From: Noam Postavsky To: Leah Neukirchen Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> Date: Tue, 16 Apr 2019 09:56:36 -0400 In-Reply-To: <87sguim6gn.fsf@vuxu.org> (Leah Neukirchen's message of "Tue, 16 Apr 2019 15:21:12 +0200") Message-ID: <87tveyxdd7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35273 Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leah Neukirchen writes: > Noam Postavsky writes: > >> I think the signal-hook-function might have worked (though I forgot >> to tell you to check the value of bug-35273-last-backtrace >> afterwards) but it would only have a single frame of "redisplay" so >> it would be useless. > > (It was nil.) Oh, hmm. Maybe the backtrace doesn't have `signal' in that context, so nothing is collected. >> And neither note_mouse_highlight nor mouse_face_overlay_overlaps call >> marker_position, so I'm confused how we got there. note_mouse_highlight >> does call Fmarker_position, but that one doesn't signal an error. >> >> Maybe the debug info is messed up by optimization. Could you try >> recompiling with CFLAGS='-O0 -g3'? > > (gdb) bt > #0 marker_position (marker=XIL(0x5555578a47c5)) at marker.c:680 > #1 0x00005555556fc2dd in mouse_face_overlay_overlaps ( > overlay=XIL(0x5555578a4825)) at buffer.c:3047 > #2 0x0000555555606f5f in note_mouse_highlight (f=0x55555610dbf0, x=100, y=9) > at xdisp.c:31631 > (gdb) up > #1 0x00005555556fc2dd in mouse_face_overlay_overlaps ( > overlay=XIL(0x5555578a4825)) at buffer.c:3047 > 3047 ptrdiff_t start = OVERLAY_POSITION (OVERLAY_START (overlay)); > (gdb) l > 3042 `mouse-face' property overlapping OVERLAY. */ > 3043 > 3044 bool > 3045 mouse_face_overlay_overlaps (Lisp_Object overlay) > 3046 { > 3047 ptrdiff_t start = OVERLAY_POSITION (OVERLAY_START (overlay)); > 3048 ptrdiff_t end = OVERLAY_POSITION (OVERLAY_END (overlay)); Oh right, OVERLAY_POSITION calls marker_position. I think the patch below should paper over the problem, but I'm not sure if it's the right thing. --- i/src/buffer.c +++ w/src/buffer.c @@ -3044,8 +3044,13 @@ overlays_in (EMACS_INT beg, EMACS_INT end, bool extend, bool mouse_face_overlay_overlaps (Lisp_Object overlay) { - ptrdiff_t start = OVERLAY_POSITION (OVERLAY_START (overlay)); - ptrdiff_t end = OVERLAY_POSITION (OVERLAY_END (overlay)); + Lisp_Object start_pos = Fmarker_position (OVERLAY_START (overlay)); + Lisp_Object end_pos = Fmarker_position (OVERLAY_END (overlay)); + if (!(INTEGERP (start_pos) && INTEGERP (end_pos))) + return false; + intmax_t start, end; + integer_to_intmax (start_pos, &start); + integer_to_intmax (end_pos, &end); ptrdiff_t n, i, size; Lisp_Object *v, tem; Lisp_Object vbuf[10]; From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 16 10:04:18 2019 Received: (at 35273) by debbugs.gnu.org; 16 Apr 2019 14:04:18 +0000 Received: from localhost ([127.0.0.1]:37679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGOh5-0000mt-TE for submit@debbugs.gnu.org; Tue, 16 Apr 2019 10:04:18 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:53407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGOh1-0000ma-3O for 35273@debbugs.gnu.org; Tue, 16 Apr 2019 10:04:13 -0400 Received: by mail-wm1-f46.google.com with SMTP id q16so25536713wmj.3 for <35273@debbugs.gnu.org>; Tue, 16 Apr 2019 07:04:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Ds3FLv7HS45xzIsiarJlYZw0QyEBG427o8tHerJlaGc=; b=q+9QFInX8l0lmZnOAS5tQ+yt/Y8Lm6PwvqIMOsvlpOyFSay0GkUj7SwV5HG6ICJZXm 6zvK6fgBeJnbM7LSLmfRUFW4UvnMr1pvDUW0BRR5/WjDuM5CgoQcJVb845jfWYp2wl70 mYsDAvpXvkYwjLBnz9gKtI62X8h6s9u+xnZmCog43ggrJm2gOYA3Pnb/0HumfpAbKj4j mXjRkJaKGHSgoGkDq3ZU0ZoBKXiCy55sqtArM/n/AvB8yKCsWMTsEwwwk2JxoGPyRAtF fSHyczuwTojgz1xriOeDzV/DAtb2Wwv9yUYa5IFlnXdm4D5+2OVzAECuRdGWuhg+hJaY /+Ng== X-Gm-Message-State: APjAAAXcaBjA9RXzF0CQxNlzsu4z1JsXZtfGgBwYvZAfjy9Cy7Vj6Bdf uhd0d9mX//ww4hWzZ906hec= X-Google-Smtp-Source: APXvYqx3QYfsVdVmyBYVK3AcLGt2TV34asRER/SVa7hydn52c7tjzRUTV1KhV6Lc+FO8ApIuxD7x/Q== X-Received: by 2002:a1c:6502:: with SMTP id z2mr25508172wmb.119.1555423445276; Tue, 16 Apr 2019 07:04:05 -0700 (PDT) Received: from rhea.home.vuxu.org (host-212-114-138-244.customer.m-online.net. [212.114.138.244]) by smtp.gmail.com with ESMTPSA id n11sm87357182wrt.63.2019.04.16.07.04.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2019 07:04:04 -0700 (PDT) Received: from localhost (rhea.home.vuxu.org [local]) by rhea.home.vuxu.org (OpenSMTPD) with ESMTPA id afe80a0f; Tue, 16 Apr 2019 14:04:01 +0000 (UTC) From: Leah Neukirchen To: Noam Postavsky Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> Date: Tue, 16 Apr 2019 16:04:01 +0200 In-Reply-To: <87tveyxdd7.fsf@gmail.com> (Noam Postavsky's message of "Tue, 16 Apr 2019 09:56:36 -0400") Message-ID: <87o956m4ha.fsf@vuxu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 35273 Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Noam Postavsky writes: >> (gdb) bt >> #0 marker_position (marker=XIL(0x5555578a47c5)) at marker.c:680 >> #1 0x00005555556fc2dd in mouse_face_overlay_overlaps ( >> overlay=XIL(0x5555578a4825)) at buffer.c:3047 >> #2 0x0000555555606f5f in note_mouse_highlight (f=0x55555610dbf0, x=100, y=9) >> at xdisp.c:31631 > >> (gdb) up >> #1 0x00005555556fc2dd in mouse_face_overlay_overlaps ( >> overlay=XIL(0x5555578a4825)) at buffer.c:3047 >> 3047 ptrdiff_t start = OVERLAY_POSITION (OVERLAY_START (overlay)); >> (gdb) l >> 3042 `mouse-face' property overlapping OVERLAY. */ >> 3043 >> 3044 bool >> 3045 mouse_face_overlay_overlaps (Lisp_Object overlay) >> 3046 { >> 3047 ptrdiff_t start = OVERLAY_POSITION (OVERLAY_START (overlay)); >> 3048 ptrdiff_t end = OVERLAY_POSITION (OVERLAY_END (overlay)); > > Oh right, OVERLAY_POSITION calls marker_position. I think the patch > below should paper over the problem, but I'm not sure if it's the right > thing. > > --- i/src/buffer.c > +++ w/src/buffer.c > @@ -3044,8 +3044,13 @@ overlays_in (EMACS_INT beg, EMACS_INT end, bool extend, > bool > mouse_face_overlay_overlaps (Lisp_Object overlay) > { > - ptrdiff_t start = OVERLAY_POSITION (OVERLAY_START (overlay)); > - ptrdiff_t end = OVERLAY_POSITION (OVERLAY_END (overlay)); > + Lisp_Object start_pos = Fmarker_position (OVERLAY_START (overlay)); > + Lisp_Object end_pos = Fmarker_position (OVERLAY_END (overlay)); > + if (!(INTEGERP (start_pos) && INTEGERP (end_pos))) > + return false; > + intmax_t start, end; > + integer_to_intmax (start_pos, &start); > + integer_to_intmax (end_pos, &end); > ptrdiff_t n, i, size; > Lisp_Object *v, tem; > Lisp_Object vbuf[10]; > I cannot reproduce the error anymore after applying the patch. Thanks, -- Leah Neukirchen http://leah.zone From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 16 11:02:37 2019 Received: (at 35273) by debbugs.gnu.org; 16 Apr 2019 15:02:37 +0000 Received: from localhost ([127.0.0.1]:37700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGPbY-0002JI-Sk for submit@debbugs.gnu.org; Tue, 16 Apr 2019 11:02:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGPbX-0002J4-1o for 35273@debbugs.gnu.org; Tue, 16 Apr 2019 11:02:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGPbG-0003k1-P6; Tue, 16 Apr 2019 11:02:20 -0400 Received: from [176.228.60.248] (port=2209 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hGPbE-0004Zf-NR; Tue, 16 Apr 2019 11:02:18 -0400 Date: Tue, 16 Apr 2019 18:02:10 +0300 Message-Id: <83h8aygfil.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <87tveyxdd7.fsf@gmail.com> (message from Noam Postavsky on Tue, 16 Apr 2019 09:56:36 -0400) Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Noam Postavsky > Date: Tue, 16 Apr 2019 09:56:36 -0400 > Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org > > Oh right, OVERLAY_POSITION calls marker_position. I think the patch > below should paper over the problem, but I'm not sure if it's the right > thing. I think it would be better to try to understand how we got such an overlay. Was it deleted, per chance? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 20 08:05:40 2019 Received: (at 35273) by debbugs.gnu.org; 20 Apr 2019 12:05:40 +0000 Received: from localhost ([127.0.0.1]:45874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHokW-0008G6-GS for submit@debbugs.gnu.org; Sat, 20 Apr 2019 08:05:40 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:34736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHokU-0008Ft-Fb for 35273@debbugs.gnu.org; Sat, 20 Apr 2019 08:05:39 -0400 Received: by mail-qt1-f178.google.com with SMTP id k2so7860518qtm.1 for <35273@debbugs.gnu.org>; Sat, 20 Apr 2019 05:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=x/23JlJoAOvilvrw3ak/YDXp7aDgl9ByA55Jpr4rop4=; b=nmLruhN6svSp6dMV3cB9eIwndrB23bwOIUoobLwjteGS5vjL5B58FBhFUeA+XYbSqL i9GzxwjrwBCPEKz2ggXXFzp2ICafbETOifnY4fdBNEn0AjDZHqHQyw7R0utuEuuiZA2x fvR6re9CvCmXN6Mqd7rb9khVDKujdqA1jOj0GicKKiKFEEburGLZh7ihvYSoGjFujv2H NdleODFpLp7vNQFvZImuCiEQvWQd86CixwcgfbThOvKiYtx2t7hYWKgu+rck+lVzrqYD F6ZDy/2LLEUCeRPw5LQwPq7eGUd8LfQ1PV+5q2PRcYoTT8kYX2020hP6+jcVwVI9DEzp SkOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=x/23JlJoAOvilvrw3ak/YDXp7aDgl9ByA55Jpr4rop4=; b=NYLEdE2ZjNZlrF0jVO8avfXPyVVbIv/gFTDEED3EXnsijuL+IUHQ6a35xfFO78zTk+ meuEbvAaOqKxtDeV5y2ucr3n26tbW7hHFPXRytYQO0AwFDseE+LzO2y6CdSc5OUuMfvI bku0aaBUtUJFzh9ebav/Mu+D3bY+R4GTjLvFy/oIo+q08JPH/g3tKyUlSdIiD5ewsEI4 Vuz4r8hAeYEEse8fIJe0PFUb8QXa81IQTfAsWoQ+etv2Qyp4L95LRYYvcjiAaJW4RF/A UseNn3aohqCz3ml1Zg5KtQEAPP/EqUSXeTQioliQo1UNHsVwo7CcEXpUnNSWCCeu09HX qs7w== X-Gm-Message-State: APjAAAWqeWzdZ68cOQsbgDhLv3ZKpTYs3iFoHO58fCOFzyk+dwgQVOyt dBUoqkxDMsLf/hNq3Lvos6Y= X-Google-Smtp-Source: APXvYqytzo5WvCnXeyBaLoW54g3A0RMZEVybWvrVf7o3ePMdKxhAg5r/g4CS/B7uttjkZgbD46sP8Q== X-Received: by 2002:a0c:d28f:: with SMTP id q15mr7649805qvh.185.1555761932015; Sat, 20 Apr 2019 05:05:32 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id v129sm3794153qka.77.2019.04.20.05.05.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 Apr 2019 05:05:31 -0700 (PDT) From: Noam Postavsky To: Eli Zaretskii Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> <83h8aygfil.fsf@gnu.org> Date: Sat, 20 Apr 2019 08:05:30 -0400 In-Reply-To: <83h8aygfil.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Apr 2019 18:02:10 +0300") Message-ID: <87zhokubjp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Noam Postavsky >> Date: Tue, 16 Apr 2019 09:56:36 -0400 >> Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org >> >> Oh right, OVERLAY_POSITION calls marker_position. I think the patch >> below should paper over the problem, but I'm not sure if it's the right >> thing. > > I think it would be better to try to understand how we got such an > overlay. Was it deleted, per chance? I entirely agree with this, but how to check for that? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 20 09:44:27 2019 Received: (at 35273) by debbugs.gnu.org; 20 Apr 2019 13:44:27 +0000 Received: from localhost ([127.0.0.1]:45925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHqI7-0002GX-A4 for submit@debbugs.gnu.org; Sat, 20 Apr 2019 09:44:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHqI5-0002GH-QG for 35273@debbugs.gnu.org; Sat, 20 Apr 2019 09:44:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHqHz-0007MD-Da; Sat, 20 Apr 2019 09:44:19 -0400 Received: from [176.228.60.248] (port=4461 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hHqHy-00059M-TR; Sat, 20 Apr 2019 09:44:19 -0400 Date: Sat, 20 Apr 2019 16:44:04 +0300 Message-Id: <83d0lgbxln.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <87zhokubjp.fsf@gmail.com> (message from Noam Postavsky on Sat, 20 Apr 2019 08:05:30 -0400) Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> <83h8aygfil.fsf@gnu.org> <87zhokubjp.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Noam Postavsky > Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org > Date: Sat, 20 Apr 2019 08:05:30 -0400 > > Eli Zaretskii writes: > > >> From: Noam Postavsky > >> Date: Tue, 16 Apr 2019 09:56:36 -0400 > >> Cc: "Basil L. Contovounesios" , 35273@debbugs.gnu.org > >> > >> Oh right, OVERLAY_POSITION calls marker_position. I think the patch > >> below should paper over the problem, but I'm not sure if it's the right > >> thing. > > > > I think it would be better to try to understand how we got such an > > overlay. Was it deleted, per chance? > > I entirely agree with this, but how to check for that? But a breakpoint in delete-overlay? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 20 12:21:14 2019 Received: (at 35273) by debbugs.gnu.org; 20 Apr 2019 16:21:15 +0000 Received: from localhost ([127.0.0.1]:46667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHsjq-0008N6-Ky for submit@debbugs.gnu.org; Sat, 20 Apr 2019 12:21:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHsjm-0008Ms-SF for 35273@debbugs.gnu.org; Sat, 20 Apr 2019 12:21:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHsjg-0006gx-I7; Sat, 20 Apr 2019 12:21:04 -0400 Received: from [176.228.60.248] (port=2401 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hHsjf-00041Y-Kw; Sat, 20 Apr 2019 12:21:04 -0400 Date: Sat, 20 Apr 2019 19:20:50 +0300 Message-Id: <83zhokabrx.fsf@gnu.org> From: Eli Zaretskii To: npostavs@gmail.com In-reply-to: <83d0lgbxln.fsf@gnu.org> (message from Eli Zaretskii on Sat, 20 Apr 2019 16:44:04 +0300) Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> <83h8aygfil.fsf@gnu.org> <87zhokubjp.fsf@gmail.com> <83d0lgbxln.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 20 Apr 2019 16:44:04 +0300 > From: Eli Zaretskii > Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org > > > > I think it would be better to try to understand how we got such an > > > overlay. Was it deleted, per chance? > > > > I entirely agree with this, but how to check for that? > > But a breakpoint in delete-overlay? Btw, does anyone understand how does elscreen affect this issue? Does that package manipulate overlays or help-echo properties? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 27 12:17:35 2019 Received: (at 35273) by debbugs.gnu.org; 27 Apr 2019 16:17:35 +0000 Received: from localhost ([127.0.0.1]:35827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKQ19-0007Dy-BB for submit@debbugs.gnu.org; Sat, 27 Apr 2019 12:17:35 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:44324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKQ17-0007Dl-3u for 35273@debbugs.gnu.org; Sat, 27 Apr 2019 12:17:33 -0400 Received: by mail-qt1-f176.google.com with SMTP id s10so7526320qtc.11 for <35273@debbugs.gnu.org>; Sat, 27 Apr 2019 09:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=D92fMeIh3xf/TizOTP5EqpuDICOuSwd9GBregyTyTkE=; b=tavi96Noj7N30sXecXGPHVqXBAACTCt7sYplxa8OGlI8W+E70Uq9v6nrfXbXZx7QT0 tcX16Kl+pf52yHUyvd/7ks55XkveFJbBchKfmskuGDVXMx3SpwDtJIKqmvf/sIdS1vbb w3O/DCIpCTy6lwulWtSxsjP4HYvijrofVF6zYMcPOP7gCPyuMbVzu+6P93dO0bVl+nsv K1N1gHGYUE1VHE3dvMxDZzK2drWv0Pn+7XcaJdxugJjiUVQfBatEq0/vx1TTW9ilbUE9 Zoac1AD3ehFSC0UxJnemzTvxGYvMywSvpVbOXTIK2hCV3vlXq0CEIAn8Ovc/crkTjG2A Y84g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=D92fMeIh3xf/TizOTP5EqpuDICOuSwd9GBregyTyTkE=; b=Yr29mja0p5lhdxlYj7u7rBi/yz+Fd/p0a3E0o+hcU40V2hPh7bKAkzwOoPxfRnvroi vdt0hZyPswJwXapgULs+l6leLgLwBOmTtlK/xwA9w5HMmojd/1dZf+mAFSjwUvG3TRPo OORiXfOmWRuMXI1o5DyhQFLwt8YLjOolt2wd1MLv2tz5c6eG/j1qK2T3C5dWAPbpEGD9 oD69t4Jrm7OjMHR1yEKytHa6sPQWV28qrto9gKYuAadKpDFRuSRb6qYpHq5tQQ9ozwxA Yd+o+NSnzs8ADuka7EE3nOjvCZWVJOMb/s/DMjqlrB+Ll70caQNpdZLr6CSAPtjMx74q zv7Q== X-Gm-Message-State: APjAAAVOOg9qtiZqM7JeWmFMFoHxcOCQeT8gbGj/3Q3X+dCAUCMxGMzo O1iHGL0K0O5x834HnONmYFg= X-Google-Smtp-Source: APXvYqyl/C2AcMFT7/xQyDaTuVFyW6kw2fCldtlbUiBlACwfc95MuoPPnxhHjXJYCSZ54Ec3j0FVvw== X-Received: by 2002:ac8:2230:: with SMTP id o45mr41600565qto.111.1556381847535; Sat, 27 Apr 2019 09:17:27 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id i24sm18028967qti.76.2019.04.27.09.17.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Apr 2019 09:17:26 -0700 (PDT) From: Noam Postavsky To: Eli Zaretskii Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> <83h8aygfil.fsf@gnu.org> <87zhokubjp.fsf@gmail.com> <83d0lgbxln.fsf@gnu.org> <83zhokabrx.fsf@gnu.org> Date: Sat, 27 Apr 2019 12:17:25 -0400 In-Reply-To: <83zhokabrx.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 20 Apr 2019 19:20:50 +0300") Message-ID: <871s1nqv6y.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Date: Sat, 20 Apr 2019 16:44:04 +0300 >> From: Eli Zaretskii >> Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org >> >> > > I think it would be better to try to understand how we got such an >> > > overlay. Was it deleted, per chance? >> > >> > I entirely agree with this, but how to check for that? >> >> But a breakpoint in delete-overlay? I managed to reproduce (wasn't too hard actually). All the overlay deletion seems to come from gnus. I got hits from erase-buffer (called by gnus), gnus-kill-all-overlays, and gnus-cite-delete-overlays. > Btw, does anyone understand how does elscreen affect this issue? Does > that package manipulate overlays or help-echo properties? Unclear. It doesn't have any delete-overlay calls at all. But it does create and move its own overlay. And it does have a few help-echo properties. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 27 12:50:11 2019 Received: (at 35273) by debbugs.gnu.org; 27 Apr 2019 16:50:11 +0000 Received: from localhost ([127.0.0.1]:35896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKQWh-000881-6q for submit@debbugs.gnu.org; Sat, 27 Apr 2019 12:50:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKQWf-00087h-JP for 35273@debbugs.gnu.org; Sat, 27 Apr 2019 12:50:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQWZ-0002mG-JF; Sat, 27 Apr 2019 12:50:03 -0400 Received: from [176.228.60.248] (port=4654 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hKQWY-0006yc-R8; Sat, 27 Apr 2019 12:50:03 -0400 Date: Sat, 27 Apr 2019 19:49:48 +0300 Message-Id: <83ef5nv1eb.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <871s1nqv6y.fsf@gmail.com> (message from Noam Postavsky on Sat, 27 Apr 2019 12:17:25 -0400) Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> <83h8aygfil.fsf@gnu.org> <87zhokubjp.fsf@gmail.com> <83d0lgbxln.fsf@gnu.org> <83zhokabrx.fsf@gnu.org> <871s1nqv6y.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Noam Postavsky > Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org > Date: Sat, 27 Apr 2019 12:17:25 -0400 > > >> > > I think it would be better to try to understand how we got such an > >> > > overlay. Was it deleted, per chance? > >> > > >> > I entirely agree with this, but how to check for that? > >> > >> But a breakpoint in delete-overlay? > > I managed to reproduce (wasn't too hard actually). All the overlay > deletion seems to come from gnus. I got hits from erase-buffer (called > by gnus), gnus-kill-all-overlays, and gnus-cite-delete-overlays. OK, thanks. Then I think it would be better to test the overlay for being dead in xdisp.c, before we call mouse_face_overlay_overlaps. Also, a faster test would be to check that the marker's buffer is a NULL pointer, doing that doesn't require a call marker-position. WDYT? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 27 15:28:13 2019 Received: (at 35273) by debbugs.gnu.org; 27 Apr 2019 19:28:13 +0000 Received: from localhost ([127.0.0.1]:36037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKSzd-0008Ap-5o for submit@debbugs.gnu.org; Sat, 27 Apr 2019 15:28:13 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:39234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKSza-0008AV-62; Sat, 27 Apr 2019 15:28:11 -0400 Received: by mail-qk1-f174.google.com with SMTP id f125so3860621qke.6; Sat, 27 Apr 2019 12:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=kmXXoVIravaECbUZeUJBjeyjsbkxwtrdVaolb3iNpSA=; b=ZSUktDnzheR9CX5l4SjMyZBYhdGl/7QgwHTwy0YBX8JMS79gj/54fFuqiXtHXESiQu vhHmf5Arrjgkg3j7a2y4Zs6plyekzQAOjRIeiVratvmlWiwh/JCU001ojiKpuyIAcXMv nfJA0g/S8UXo7xSSuoLkfuOg1iqHuvAw/cd7aTAqyFMXgor7SZpNuC4jBVYqlI3+3f3f /UqEbh7lWIWZph4LzAoontqHON01hEwhrFTAK4kOW0EKJUKi70714YnyPMFVJ4/tcVEk yi0mJjcA7Ri8afQKKj70B+RxK38khJXknOqaddOUvz2AsTWIrv5ehGHm8GkU8U026tBk aw9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=kmXXoVIravaECbUZeUJBjeyjsbkxwtrdVaolb3iNpSA=; b=Z1AWRTCgkcKd2+5OS1Lg15vK3tDePK4T1GNS0YsI/IJeHkO5QASKDhSL5EQqo2S0Lp Y1VMnqfRYXOKosUQsxecGdifh6W1fsKkuwBEvvjhZApSlpKVdRm3jgt+VA/CosFk9Zwe xgL9Esou7/50SSzbMb3XYaUDWPKNbJ18JpWw90d2ZmFaJFIYDHm03wZzABsaMOjE8uPD nc68kWcOvl3qaxjcoI1JZiVszjlKl+Y4ORv6p9K2NwDI/2nDP+5AF0L1+JaSJ7J3Hkrt eLB+ItX3hwEfzcFe8/kxv2c95sVOLiYF1dsHH4a9305N/FCjF5pkkWJd5jXxmwfW3wnF JmsA== X-Gm-Message-State: APjAAAVJiRNci9lUqTTxTsNO+l4CFKss3EHFo/eteZcU6BpKVyUZj7kM 964iJZ8rqadfyMQqyfIPgFCtN+Ip X-Google-Smtp-Source: APXvYqy+z2ftVombYxENUq61uRKbvSwto1tdXJm87kUBMbX3H4HClnfWi7axVhQqGIKMT6M6HvAoNA== X-Received: by 2002:ae9:e913:: with SMTP id x19mr28581533qkf.103.1556393284353; Sat, 27 Apr 2019 12:28:04 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 67sm10234461qtc.29.2019.04.27.12.28.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Apr 2019 12:28:02 -0700 (PDT) From: Noam Postavsky To: Eli Zaretskii Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> <83h8aygfil.fsf@gnu.org> <87zhokubjp.fsf@gmail.com> <83d0lgbxln.fsf@gnu.org> <83zhokabrx.fsf@gnu.org> <871s1nqv6y.fsf@gmail.com> <83ef5nv1eb.fsf@gnu.org> Date: Sat, 27 Apr 2019 15:28:01 -0400 In-Reply-To: <83ef5nv1eb.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Apr 2019 19:49:48 +0300") Message-ID: <87pnp7p7su.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain tags 35273 + patch quit Eli Zaretskii writes: >> From: Noam Postavsky >> I managed to reproduce (wasn't too hard actually). All the overlay >> deletion seems to come from gnus. I got hits from erase-buffer (called >> by gnus), gnus-kill-all-overlays, and gnus-cite-delete-overlays. > > OK, thanks. Then I think it would be better to test the overlay for > being dead in xdisp.c, before we call mouse_face_overlay_overlaps. > Also, a faster test would be to check that the marker's buffer is a > NULL pointer, doing that doesn't require a call marker-position. > WDYT? Sure, that works. Should I push to emacs-26? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Check-if-mouse_face_overlay-was-deleted-Bug-35273.patch Content-Description: patch >From 912e336d107cd1bb840cc921b4893bfc0d6cfa98 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sat, 27 Apr 2019 15:22:11 -0400 Subject: [PATCH] Check if mouse_face_overlay was deleted (Bug#35273) * src/xdisp.c (note_mouse_highlight): Check if the mouse_face_overlay actually points to a buffer, before calling mouse_face_overlay_overlaps on it. --- src/xdisp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 0c3754a338..aa6e1bd2df 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -31526,7 +31526,9 @@ note_mouse_highlight (struct frame *f, int x, int y) is currently hidden to avoid Bug#30519. */ || (!hlinfo->mouse_face_hidden && OVERLAYP (hlinfo->mouse_face_overlay) - && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay))) + /* It's possible the overlay was deleted (Bug#35273). */ + && XMARKER (OVERLAY_START (hlinfo->mouse_face_overlay))->buffer + && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay))) { /* Find the highest priority overlay with a mouse-face. */ Lisp_Object overlay = Qnil; -- 2.11.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 27 15:36:25 2019 Received: (at 35273) by debbugs.gnu.org; 27 Apr 2019 19:36:25 +0000 Received: from localhost ([127.0.0.1]:36050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKT7Z-00020P-3p for submit@debbugs.gnu.org; Sat, 27 Apr 2019 15:36:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKT7W-000206-Dx for 35273@debbugs.gnu.org; Sat, 27 Apr 2019 15:36:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKT7Q-0008NE-Ba; Sat, 27 Apr 2019 15:36:16 -0400 Received: from [176.228.60.248] (port=3341 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hKT7O-0005B5-TG; Sat, 27 Apr 2019 15:36:16 -0400 Date: Sat, 27 Apr 2019 22:35:54 +0300 Message-Id: <835zqzutph.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <87pnp7p7su.fsf@gmail.com> (message from Noam Postavsky on Sat, 27 Apr 2019 15:28:01 -0400) Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> <83h8aygfil.fsf@gnu.org> <87zhokubjp.fsf@gmail.com> <83d0lgbxln.fsf@gnu.org> <83zhokabrx.fsf@gnu.org> <871s1nqv6y.fsf@gmail.com> <83ef5nv1eb.fsf@gnu.org> <87pnp7p7su.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Noam Postavsky > Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org > Date: Sat, 27 Apr 2019 15:28:01 -0400 > > > OK, thanks. Then I think it would be better to test the overlay for > > being dead in xdisp.c, before we call mouse_face_overlay_overlaps. > > Also, a faster test would be to check that the marker's buffer is a > > NULL pointer, doing that doesn't require a call marker-position. > > WDYT? > > Sure, that works. Should I push to emacs-26? Yes, please. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 28 08:45:34 2019 Received: (at 35273) by debbugs.gnu.org; 28 Apr 2019 12:45:34 +0000 Received: from localhost ([127.0.0.1]:36882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKjBW-0006CC-BB for submit@debbugs.gnu.org; Sun, 28 Apr 2019 08:45:34 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:40664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKjBU-0006Bt-9P; Sun, 28 Apr 2019 08:45:32 -0400 Received: by mail-qt1-f173.google.com with SMTP id y49so3399405qta.7; Sun, 28 Apr 2019 05:45:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=SkSrOuDAH05gSZvJ/9ajAGT7TaVgS+jzV2FH5Ys3xfE=; b=RiyId9ntG3WGw3OXgv4NLtzH/2lnuW5WpxEM3hPAIQ286YG7v9kMGc+krqVacYJyme jnEZdKTU+s3Ozlz5OmaFKS8TTht/NAufZ5PQKmTxtBK7AG18MtFZQ/qt8SliQeavm0DH 4z/AV/JOJ+szz7VnzBgGb5tH0evW8LvhU6FA49h1vLXj7fqyaiaLLVYMEQmHGOp4P7DZ 5TLf2cQHOrALyCS4bz7NpAbhvbB8qof44UwEviTS6Z0oGIwFNaFL4L3nmSITscK4j387 Ngd9SMM1XCznSoK5o0e9vqGmwck2H6rZyN2cEc7dJl11xLcEwHEQZzVOujUWLDGVT7E0 P3MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=SkSrOuDAH05gSZvJ/9ajAGT7TaVgS+jzV2FH5Ys3xfE=; b=pmNawzcf/tdweVFR3gaq2z1raP3QVh1k1a/J8Ni5kniG8X0okf2YgX2PTdnBSHzPjE 6u+ZOKoI3OPvzG/5Bc1tS8hSoUym/D1mDJGbodlndF+bS3MV9VGu80rAVqKogug+BU6n HXAqjfavGantaNHiWXQR7aWmAuazliQgqZaJj1oSzzLEHh0rgWpmsQvgWMgrUR/GoQW3 IzDAUCx3C0vHTuI8gUV2ddXhUBvSEG/I4a8i9UO3LJQdYcLgsVe4c0OajRn6wCbtiL+L OB2KImNVSvd/DDBTVaD1BhPlyROGhuy6AAOGv1xqLQYZ9r3eSW2uuLPGq58GbUJL04RM S7JQ== X-Gm-Message-State: APjAAAWmZyKbTAh5VPJJTqqMn0twnJen7X1SQIK9aNTLtuiPFBvD/qoA eGiCRzpjSv+BuKnEM+BnPYC40BIm X-Google-Smtp-Source: APXvYqwdBuDXIpWDIN2MJL27QlIhBEHn/FxBDEr3RkRj6rdkxutYg3mOQgp2N4eqvWjIk6qupj1q1Q== X-Received: by 2002:a0c:888b:: with SMTP id 11mr953927qvn.122.1556455526631; Sun, 28 Apr 2019 05:45:26 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 50sm14919872qtn.73.2019.04.28.05.45.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Apr 2019 05:45:25 -0700 (PDT) From: Noam Postavsky To: Eli Zaretskii Subject: Re: bug#35273: "Marker does not point anywhere" when reading next article References: <875zrgpusw.fsf@vuxu.org> <87lg0czgy1.fsf@tcd.ie> <8736mkgu83.fsf@vuxu.org> <87zhoqxgzn.fsf@gmail.com> <87wojum7vc.fsf@vuxu.org> <87wojuxfdl.fsf@gmail.com> <87sguim6gn.fsf@vuxu.org> <87tveyxdd7.fsf@gmail.com> <83h8aygfil.fsf@gnu.org> <87zhokubjp.fsf@gmail.com> <83d0lgbxln.fsf@gnu.org> <83zhokabrx.fsf@gnu.org> <871s1nqv6y.fsf@gmail.com> <83ef5nv1eb.fsf@gnu.org> <87pnp7p7su.fsf@gmail.com> <835zqzutph.fsf@gnu.org> Date: Sun, 28 Apr 2019 08:45:23 -0400 In-Reply-To: <835zqzutph.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Apr 2019 22:35:54 +0300") Message-ID: <87bm0qpacc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35273 Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 35273 fixed close 35273 26.3 quit Eli Zaretskii writes: >> From: Noam Postavsky >> Cc: contovob@tcd.ie, 35273@debbugs.gnu.org, leah@vuxu.org >> Date: Sat, 27 Apr 2019 15:28:01 -0400 >> >> > OK, thanks. Then I think it would be better to test the overlay for >> > being dead in xdisp.c, before we call mouse_face_overlay_overlaps. >> > Also, a faster test would be to check that the marker's buffer is a >> > NULL pointer, doing that doesn't require a call marker-position. >> > WDYT? >> >> Sure, that works. Should I push to emacs-26? > > Yes, please. Okay, done. 7cb5364ef5 2019-04-28T08:31:17-04:00 "Check if mouse_face_overlay was deleted (Bug#35273)" https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7cb5364ef5334de0fb1bc2e470bea450e4567d24 From unknown Tue Jun 17 22:20:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 27 May 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator