GNU bug report logs - #56201
Backtrace fails to appear in an error situation.

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: Alan Mackenzie <acm@HIDDEN>; dated Fri, 24 Jun 2022 17:43:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 56201) by debbugs.gnu.org; 24 Jun 2022 18:23:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 24 14:23:36 2022
Received: from localhost ([127.0.0.1]:43508 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o4nxv-00066P-QR
	for submit <at> debbugs.gnu.org; Fri, 24 Jun 2022 14:23:35 -0400
Received: from quimby.gnus.org ([95.216.78.240]:34756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1o4nxt-000669-Jw
 for 56201 <at> debbugs.gnu.org; Fri, 24 Jun 2022 14:23:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=p8Dq4cLM2BAEFT93y5+cPpFPKugmHbmyHkSi7p6NSpw=; b=r9P3jdgJheZMfM3d3Mw3gKJLV4
 xChxsQSRpFWwwSwx2JwbWLgYTvfrPZSYQvcDoumpqv57jkXY0tS5Q81ZWgP3BxWBnUieiFlqtJI8H
 BYI8N2BYs44YbvgYEWsepyxhhdA/EPa+0W9SGFr70kTv623ZATwIvcH32dfNbaG3MOeQ=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1o4nxl-0003aO-14; Fri, 24 Jun 2022 20:23:27 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Alan Mackenzie <acm@HIDDEN>
Subject: Re: bug#56201: Backtrace fails to appear in an error situation.
References: <YrX3jVip5wh///JH@ACM>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEUxLCgiHRlhXFdD
 Pjr19PDEwbuGgnumo53W1M6AfHb///9QeSwYAAAAAWJLR0QKaND0VgAAAAd0SU1FB+YGGBIUCsf9
 kboAAAGoSURBVDjLjZO9b9swEMVPUlJ5lB0IWkWLjNVNdm1UY6BQpUZ/yBCyuV2ySi0Fc3Qlu1TG
 Fh3y5zZLhpAskBvvh3ePdw8EeK0xmMuKPDOaULQwAnu5KdemSd9IPWOGYTe0gHFFkAaCnoeW4Jmn
 gWZUW5UnNeAjcj/pvUgf9dstxBo0AfhNm8pe78OoOo1v8pdnq+CKItHhtWfPlf0I/S676xpdKQDc
 B2YFxeUuDlXzwzlvT885blQFXMRs02KuAoDM8vv2mmrXcvLH0V25yPU8KFudyvlB29GZgrv7ZUtt
 w5f6QDK/cCNVkyLM8zRfUnUTHOIhJyzCGwX8PZDzQKpOfH3bT3iYDlxyShNFwUMSiww3WPNAf+JZ
 N2o+K69ylrKeRlgUvbL4eTt8Sh7Jdq8cyz0ev/iodRtLmbSw7BLX+9UPxdniefgssjJVHADkfpBb
 MSxPSn/y06/YE85WawUELJ4fWdC4WuRUJAsW7xwti/AWjtNLZkgpQJVtSg/wbh/L0AAkG0R50PvO
 PR8600e3GWbsNtHBhAVbykyKJw8+mrwhgf+W8z7wD1jTW5FlsOchAAAAJXRFWHRkYXRlOmNyZWF0
 ZQAyMDIyLTA2LTI0VDE4OjIwOjA5KzAwOjAwteW2KAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0w
 Ni0yNFQxODoyMDowOSswMDowMMS4DpQAAAAASUVORK5CYII=
X-Now-Playing: Rocketnumbernine's _Meyouweyou_: "Black And Blue"
Date: Fri, 24 Jun 2022 20:23:23 +0200
In-Reply-To: <YrX3jVip5wh///JH@ACM> (Alan Mackenzie's message of "Fri, 24 Jun
 2022 17:42:37 +0000")
Message-ID: <87v8spnco4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Alan Mackenzie <acm@HIDDEN> writes: > This ought to produce
 a backtrace, but doesn't. It merely repeats the > error message "Text is
 read-only". This is a major bug; how can one > solve minor bugs if attempts
 to get diagnostic informati [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 56201
Cc: 56201 <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: -3.3 (---)

Alan Mackenzie <acm@HIDDEN> writes:

> This ought to produce a backtrace, but doesn't.  It merely repeats the
> error message "Text is read-only".  This is a major bug; how can one
> solve minor bugs if attempts to get diagnostic information are blocked?

There's a lot of error conditions that are "normal" and handled by the
code, and `debug-on-error' doesn't help you with that.  You have to set
`debug-on-signal' to get a backtrace from those.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 56201) by debbugs.gnu.org; 24 Jun 2022 18:22:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 24 14:22:31 2022
Received: from localhost ([127.0.0.1]:43503 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o4nwt-00064H-CH
	for submit <at> debbugs.gnu.org; Fri, 24 Jun 2022 14:22:31 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:40756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1o4nwq-000641-Ul
 for 56201 <at> debbugs.gnu.org; Fri, 24 Jun 2022 14:22:29 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4LV57l598Zz1qyc6;
 Fri, 24 Jun 2022 20:22:27 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4LV57l3Z9nz1qqkB;
 Fri, 24 Jun 2022 20:22:27 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id gaNtNPEOBZqg; Fri, 24 Jun 2022 20:22:26 +0200 (CEST)
X-Auth-Info: c1lUNIql31hVRYyBYNTf81OZNiENqCjwgVg8m3uuz1CL4yVUhHnk6TMz7LuCh+mA
Received: from igel.home (ppp-46-244-176-104.dynamic.mnet-online.de
 [46.244.176.104])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Fri, 24 Jun 2022 20:22:26 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 6FB082C3A63; Fri, 24 Jun 2022 20:22:26 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Alan Mackenzie <acm@HIDDEN>
Subject: Re: bug#56201: Backtrace fails to appear in an error situation.
References: <YrX3jVip5wh///JH@ACM>
X-Yow: CHUBBY CHECKER just had a CHICKEN SANDWICH in downtown DULUTH!
Date: Fri, 24 Jun 2022 20:22:26 +0200
In-Reply-To: <YrX3jVip5wh///JH@ACM> (Alan Mackenzie's message of "Fri, 24 Jun
 2022 17:42:37 +0000")
Message-ID: <878rpludjx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 56201
Cc: 56201 <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.5 (-)

See debug-ignored-errors.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




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

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


Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 17:42:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 24 13:42:47 2022
Received: from localhost ([127.0.0.1]:43438 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o4nKR-0004y4-38
	for submit <at> debbugs.gnu.org; Fri, 24 Jun 2022 13:42:47 -0400
Received: from lists.gnu.org ([209.51.188.17]:51894)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <acm@HIDDEN>) id 1o4nKP-0004xw-2J
 for submit <at> debbugs.gnu.org; Fri, 24 Jun 2022 13:42:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41208)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <acm@HIDDEN>) id 1o4nKO-0002r4-Mr
 for bug-gnu-emacs@HIDDEN; Fri, 24 Jun 2022 13:42:44 -0400
Received: from colin.muc.de ([193.149.48.1]:24649 helo=mail.muc.de)
 by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from <acm@HIDDEN>)
 id 1o4nKM-0003WD-Ay
 for bug-gnu-emacs@HIDDEN; Fri, 24 Jun 2022 13:42:44 -0400
Received: (qmail 14212 invoked by uid 3782); 24 Jun 2022 17:42:38 -0000
Received: from acm.muc.de (p4fe1599c.dip0.t-ipconnect.de [79.225.89.156])
 (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP;
 Fri, 24 Jun 2022 19:42:37 +0200
Received: (qmail 7378 invoked by uid 1000); 24 Jun 2022 17:42:37 -0000
Date: Fri, 24 Jun 2022 17:42:37 +0000
To: bug-gnu-emacs@HIDDEN
Subject: Backtrace fails to appear in an error situation.
Message-ID: <YrX3jVip5wh///JH@ACM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Submission-Agent: TMDA/1.3.x (Ph3nix)
From: Alan Mackenzie <acm@HIDDEN>
X-Primary-Address: acm@HIDDEN
Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@HIDDEN;
 helo=mail.muc.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: submit
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: -2.7 (--)

Hello, Emacs.

(i) With the master branch, start Emacs (-Q not needed). 
(ii) Visit a non-empty file in a buffer.
(iii) M-s o <regexp that will generate matches>.
(iv) C-x o to move to the *Occur* buffer.
(v) Move point to somewhere in the displayed matches.
(vi) C-x C-q to swith off read-onliness.
(vii) C-j, an attempt to insert a newline.

This produces the error message "Text is read-only".  This is probably a
bug, but is minor compared to what follows:

(viii) M-: (setq debug-on-error t) RET.
(ix) C-j.

This ought to produce a backtrace, but doesn't.  It merely repeats the
error message "Text is read-only".  This is a major bug; how can one
solve minor bugs if attempts to get diagnostic information are blocked?

It would appear a frivolous condition-case is discarding the backtrace
here.  This appears to happen with lots of error messages.  This is not
a Good Thing.

-- 
Alan Mackenzie (Nuremberg, Germany).




Acknowledgement sent to Alan Mackenzie <acm@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#56201; 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: Fri, 24 Jun 2022 18:30:02 UTC

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