GNU logs - #52479, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52479: 27.2; EDebugging stops when breakpoint condition can not be printed
Resent-From: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= <an.petrov@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 14 Dec 2021 13:05:01 +0000
Resent-Message-ID: <handler.52479.B.16394870447087 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 52479
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 52479 <at> debbugs.gnu.org
X-Debbugs-Original-To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.16394870447087
          (code B ref -1); Tue, 14 Dec 2021 13:05:01 +0000
Received: (at submit) by debbugs.gnu.org; 14 Dec 2021 13:04:04 +0000
Received: from localhost ([127.0.0.1]:57799 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mx7TP-0001qF-Vs
	for submit <at> debbugs.gnu.org; Tue, 14 Dec 2021 08:04:04 -0500
Received: from lists.gnu.org ([209.51.188.17]:47002)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=975ee7509=an.petrov@HIDDEN>)
 id 1mx7TO-0001q8-SX
 for submit <at> debbugs.gnu.org; Tue, 14 Dec 2021 08:04:03 -0500
Received: from eggs.gnu.org ([209.51.188.92]:47844)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <prvs=975ee7509=an.petrov@HIDDEN>)
 id 1mx7TO-0006cc-OO
 for bug-gnu-emacs@HIDDEN; Tue, 14 Dec 2021 08:04:02 -0500
Received: from mail2.itgrp.ru ([87.251.91.230]:3168)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <prvs=975ee7509=an.petrov@HIDDEN>)
 id 1mx7TL-00084p-7A
 for bug-gnu-emacs@HIDDEN; Tue, 14 Dec 2021 08:04:02 -0500
IronPort-SDR: lB/ZTZ6QwzlLjW9gVByCwQwP33kKVX9w3y1etb6Uz8PBxToR8+sGSjD/I24wNRKLHFO8rc7L2V
 kFV7DnARoT6Q==
X-IronPort-AV: E=Sophos;i="5.88,205,1635195600"; d="scan'208";a="153327850"
From: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= <an.petrov@HIDDEN>
Thread-Topic: 27.2; EDebugging stops when breakpoint condition can not be
 printed
Thread-Index: AQHX8OdEDAdPpLnarEe/vOdhZHpiNg==
Date: Tue, 14 Dec 2021 13:03:51 +0000
Message-ID: <62d5f9445730439e9d6b765f3d181c78@HIDDEN>
Accept-Language: ru-RU, en-US
Content-Language: ru-RU
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.168.88.210]
Content-Type: text/plain; charset="windows-1251"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=87.251.91.230;
 envelope-from=prvs=975ee7509=an.petrov@HIDDEN; helo=mail2.itgrp.ru
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_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
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 (---)

Hello, team!
The following code can reproduce the bug:


(require 'cl-lib)
(require 'eieio)

(defclass my-field ()
  ((from-types :initform nil)
   (type :initform nil)))

(defun test ()
  "Demonstrates edebug condition printing bug.
1. evaluate the buffer
2. instrument `test' function for debugging
3. add conditional breakpoint inside lambda below (see comment)
   M-x edebug-set-conditional-breakpoint [RET] root [RET]
4. Start the function for debugging
   M-x (test)
5. Continue to the breakpoint
   c

Now error: \"Apparently circular structure being printed\" is
printed and no further debugging is possible.
"
  (let* ((root (my-field))
	 (tmp root))
    (dotimes (i 100)
      (let ((a (my-field)))
	(push a (oref tmp type))
	(push tmp (oref a from-types))
	(setf tmp a)))
    (push root (oref tmp type))   =20
    (cl-remove root '(1 2 3 4) :test (lambda (a b) ;; <-- put cursor here a=
nd set
				       ;; conditional breakpoint with condition: root
				       (=3D (length (oref a from-types))) b))
    (cl-remove root '(1 2 3 4) :test (lambda (a b) (=3D (length (oref a fro=
m-types))) b))
    (cl-remove root '(1 2 3 4) :test (lambda (a b) (=3D (length (oref a fro=
m-types))) b))
    "Finished"
    ))


It hard for me to get backtraces on the example but on other
(complicated) code I got the following using recursive edit:

Debugger entered--Lisp error: (error "Apparently circular structure being p=
rinted")
  apply(debug error (error "Apparently circular structure being printed"))
  edebug(error (error "Apparently circular structure being printed"))
  signal(error ("Apparently circular structure being printed"))
  edebug-signal(error ("Apparently circular structure being printed"))
  message("Break: %s =3D> %s" filtered (#<field field-157aa078be4c>))
  edebug--display-1(nil 0 before)
  edebug--display(nil 0 before)
  edebug-debugger(0 before nil)
  edebug-before(0)
  (edebug-after (edebug-before 0) 11 (find-inpas-paths (edebug-after 0 1 pa=
rent) (edebug-after 0 2 stop-id) (edebug-after (edebug-before 3) 10 (if (ed=
ebug-after 0 4 filtered) (edebug-after (edebug-before 5) 8 (cl-remove (edeb=
ug-after 0 6 parent) (edebug-after 0 7 context) :count 1 :test (lambda (a b=
) (edebug-enter ... ... ...)))) (edebug-after 0 9 context)))))
  (lambda nil (edebug-after (edebug-before 0) 11 (find-inpas-paths (edebug-=
after 0 1 parent) (edebug-after 0 2 stop-id) (edebug-after (edebug-before 3=
) 10 (if (edebug-after 0 4 filtered) (edebug-after (edebug-before 5) 8 (cl-=
remove (edebug-after 0 6 parent) (edebug-after 0 7 context) :count 1 :test =
(lambda ... ...))) (edebug-after 0 9 context))))))()
  edebug-default-enter(edebug-anon17 (#<field field-157aa078be4c>) (lambda =
nil (edebug-after (edebug-before 0) 11 (find-inpas-paths (edebug-after 0 1 =
parent) (edebug-after 0 2 stop-id) (edebug-after (edebug-before 3) 10 (if (=
edebug-after 0 4 filtered) (edebug-after (edebug-before 5) 8 (cl-remove ...=
 ... :count 1 :test ...)) (edebug-after 0 9 context)))))))
  edebug-enter(edebug-anon17 (#<field field-157aa078be4c>) (lambda nil (ede=
bug-after (edebug-before 0) 11 (find-inpas-paths (edebug-after 0 1 parent) =
(edebug-after 0 2 stop-id) (edebug-after (edebug-before 3) 10 (if (edebug-a=
fter 0 4 filtered) (edebug-after (edebug-before 5) 8 (cl-remove ... ... :co=
unt 1 :test ...)) (edebug-after 0 9 context)))))))
  (lambda (parent) (edebug-enter 'edebug-anon17 (list parent) #'(lambda nil=
 (edebug-after (edebug-before 0) 11 (find-inpas-paths (edebug-after 0 1 par=
ent) (edebug-after 0 2 stop-id) (edebug-after ... 10 ...))))))(#<field fiel=
d-157aa078be4c>)
  mapcan((lambda (parent) (edebug-enter 'edebug-anon17 (list parent) #'(lam=
bda nil (edebug-after (edebug-before 0) 11 (find-inpas-paths (edebug-after =
0 1 parent) (edebug-after 0 2 stop-id) (edebug-after ... 10 ...)))))) (#<fi=
eld field-157aa078be4c>))


P.S. I could not copy the text from emacs with C-c M-i according to hint:
While in the mail buffer:

  Type C-c C-c to send the bug report.
  Type C-x k RET to cancel (don=92t send it).
  Type C-c M-i to copy text to your preferred mail program.   <----


Andrey Petrov.




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?=
 =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= <an.petrov@HIDDEN>
Subject: bug#52479: Acknowledgement (27.2; EDebugging stops when
 breakpoint condition can not be printed)
Message-ID: <handler.52479.B.16394870447087.ack <at> debbugs.gnu.org>
References: <62d5f9445730439e9d6b765f3d181c78@HIDDEN>
X-Gnu-PR-Message: ack 52479
X-Gnu-PR-Package: emacs
Reply-To: 52479 <at> debbugs.gnu.org
Date: Tue, 14 Dec 2021 13:05:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

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

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

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

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

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

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


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52479: 27.2; EDebugging stops when breakpoint condition can not be printed
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 15 Dec 2021 05:27:01 +0000
Resent-Message-ID: <handler.52479.B52479.163954600828987 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52479
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= <an.petrov@HIDDEN>
Cc: 52479 <at> debbugs.gnu.org
Received: via spool by 52479-submit <at> debbugs.gnu.org id=B52479.163954600828987
          (code B ref 52479); Wed, 15 Dec 2021 05:27:01 +0000
Received: (at 52479) by debbugs.gnu.org; 15 Dec 2021 05:26:48 +0000
Received: from localhost ([127.0.0.1]:60030 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxMoS-0007XT-73
	for submit <at> debbugs.gnu.org; Wed, 15 Dec 2021 00:26:48 -0500
Received: from mout.web.de ([212.227.17.11]:42553)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1mxMoQ-0007XF-Nb
 for 52479 <at> debbugs.gnu.org; Wed, 15 Dec 2021 00:26:47 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1639546000;
 bh=8GXEIT/r79sOh4sV7l71Rz4l66MDPBbBxkeX7V72CeI=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=DTZjsAnN4OMoKOlCqZVI5dbx6h69G3GZeads4W1V5KjwMhSChkGC1vx7p1B6l88TN
 wFOlcWIAfrMwXOUkQltmraHqspIcUpmc2RrVQmMdi/y9KjE4Mk9gOWE4VGwF+diAKW
 U+Uk2op83w4moC3fb5+OAaaqpHj+BRc4KY1foeQo=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([92.208.225.87]) by smtp.web.de (mrweb105
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mi53D-1mJcDO41Zp-00dmJu; Wed, 15
 Dec 2021 06:26:40 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <62d5f9445730439e9d6b765f3d181c78@HIDDEN>
Date: Wed, 15 Dec 2021 06:26:38 +0100
In-Reply-To: <62d5f9445730439e9d6b765f3d181c78@HIDDEN> ("=?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?="'s
 message of "Tue, 14 Dec 2021 13:03:51 +0000")
Message-ID: <8735muxwtt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:Yq49wOCFuVUA9GFt7nuv38Ma1cUtwtdSv1bIPOJZg0EIXncs66q
 QwlPYcsebY0P7+ekepN41wU5f6O4HHPCGI/3hHg3Tp1y6/iz9yzIAecVFcOs959sX4C9D+m
 S6LNq5nsoUVVv5Fse9LEEezbQTZtuVnUbJWlm5T6F5faI04EBKvM4kYqUlKBKHRPwIwSN4L
 Uvhs+qLYQnSbecOvi7Fpg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:UOrSvNlwQXA=:FcMuDhka3tP8ejaPkGisHN
 /V8lS1Lb2F9gWJ/jjuHi64WyKbz8DiJ4vOzug4zTaqhHrKnkyBv1M+GaUS2YS80gactB6AvPw
 ao98OwCypiG8yxMDPw1BbsAErgXiZ7gxj81Dg8ljQijT/Q1/eSsJrOa9//zaQdCJG26QKlVH0
 HQ903FzNkVXH3r2OhLGPa7hABQdiFRkS/qlRk99XCg7fEZNT3XB2LqO4LgXIMj+7F5eWH/mZp
 bQN/nP43x+CwX2uFd6cmXdMGLHNrPFKO3R06hng9rxBrdYwrgH6q/p3DwlcDtTaG2qd72PmU8
 apfn8ZDU51DY8DFUIjMzD8dnjHke9bLabFN1PPyIswjAbu/hX8xmfmdjIW9xwgIb7WwtJuOoA
 8Wqqdqh/QkP5XeO1BjNbP6Y9RilK3VaU4Pos1OZK3hy0PBmBShjHtKHi6cADJD4lC8XuyNNM/
 MFPm9ZbYPBzcSJq1cwoxbdbzpMUcnINNgs0syDnZYtBUwcrXMwQBuJMp17UI3ebRa2KKVd7oc
 v7kWqt8yySQcfT0YCyfpYleApDuYTVJDQ3EdVbXZkRnI6AXwfDhMwqdNGNrXLEcNlKsqbTs4g
 jCwFU0NWnDLD2xJXKp2RRdlaYYTcy62Vu4UYShQWQPGbTRXEuGzQmMU8Li+qvy/AK7tJ54Kl6
 jOjzcyAACMmNNDKAJ0RUro/X9p0AEfH7U4QnjQ7D35jh6slKaAXZ0L+24/jmitsmipZaPCz2U
 mWUTdV+HpHrNgY/q/1UDHoUb032FDGdmFSulAc66PcXgTHbX7hUTACcHfg2ctE8+DCDlqneEu
 qR/nqBs5OjMKtqpU1y+5moyOTFEG7G1t02cHDY6eMZZXRZiYSBsVyVnkSk2aSLxXMayqWnut6
 pzN0I9h/V2G86Rw5UI3x98+SrbN1HDtIl40IEcQAQ2GXPng1BL4e7PqC9qSGg4H5lwsmNdken
 BkqVeSV0SE0ptL2oxQK1iKlr6W1qWanBLKL8CJYrdZZl3gdMvSKhJqSfL83fADR91ecsKLcKG
 DRz65efh309tDCAAKWfkmAlvBJYSmSpXRtkLsjxOiw+iO7EZvsYsXY9oqzmjcVks065VCp7iT
 7fG2ghC7II2tDk=
X-Spam-Score: -0.0 (/)
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.0 (-)

=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2 =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 <=
an.petrov@HIDDEN> writes:

> Hello, team!

Hello - thanks for your (very well done and pleasant to read!) report.

> Debugger entered--Lisp error: (error "Apparently circular structure being=
 printed")
>   apply(debug error (error "Apparently circular structure being printed"))
>   edebug(error (error "Apparently circular structure being printed"))
>   signal(error ("Apparently circular structure being printed"))
>   edebug-signal(error ("Apparently circular structure being printed"))
>   message("Break: %s =3D> %s" filtered (#<field field-157aa078be4c>))

Another symptom of printing the wrong way, similar to bug#52222.
Printing with `edebug-safe-prin1-to-string' should fix it and be the
right thing, right?

> P.S. I could not copy the text from emacs with C-c M-i according to hint:
> While in the mail buffer:

>   Type C-c C-c to send the bug report.
>   Type C-x k RET to cancel (don=E2=80=99t send it).
>   Type C-c M-i to copy text to your preferred mail program.   <----

Hmm, that calls `report-emacs-bug-insert-to-mailer'.  You have set up a
mailer on your system and it works all fine?  If you think Emacs is not
behaving here, can you please create a separate report? - that this
works is very important.  Maybe you can already give debugging a try?

Thanks,

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52479: 27.2; EDebugging stops when breakpoint condition can not be printed
Resent-From: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= <an.petrov@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 15 Dec 2021 07:03:02 +0000
Resent-Message-ID: <handler.52479.B52479.16395517296604 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52479
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: "52479 <at> debbugs.gnu.org" <52479 <at> debbugs.gnu.org>
Received: via spool by 52479-submit <at> debbugs.gnu.org id=B52479.16395517296604
          (code B ref 52479); Wed, 15 Dec 2021 07:03:02 +0000
Received: (at 52479) by debbugs.gnu.org; 15 Dec 2021 07:02:09 +0000
Received: from localhost ([127.0.0.1]:60097 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxOIi-0001iQ-Pk
	for submit <at> debbugs.gnu.org; Wed, 15 Dec 2021 02:02:09 -0500
Received: from mail1.itgrp.ru ([185.8.182.248]:23534)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=976b12885=an.petrov@HIDDEN>)
 id 1mxOId-0001hd-KW
 for 52479 <at> debbugs.gnu.org; Wed, 15 Dec 2021 02:02:07 -0500
IronPort-SDR: 1rNAukPsWrh6DJ8SFrHGLBozZiFPVKh17mZ3WSYzWgigHMzU4aUGLQ23QsObkQCLcX+QTvAdBs
 mv3YAo9eemeg==
X-IronPort-AV: E=Sophos;i="5.88,207,1635195600"; d="scan'208";a="158656198"
From: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= <an.petrov@HIDDEN>
Thread-Topic: bug#52479: 27.2; EDebugging stops when breakpoint condition can
 not be printed
Thread-Index: AQHX8OdEDAdPpLnarEe/vOdhZHpiNqwzBu5/gAAS0d4=
Date: Wed, 15 Dec 2021 07:01:55 +0000
Message-ID: <fd71975cc39e4929a7b1bd7a0fc302f1@HIDDEN>
References: <62d5f9445730439e9d6b765f3d181c78@HIDDEN>,
 <8735muxwtt.fsf@HIDDEN>
In-Reply-To: <8735muxwtt.fsf@HIDDEN>
Accept-Language: ru-RU, en-US
Content-Language: ru-RU
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.168.88.210]
Content-Type: text/plain; charset="windows-1251"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
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.0 (-)

Michael,

> Hmm, that calls `report-emacs-bug-insert-to-mailer'.  You have set up a
> mailer on your system and it works all fine?  If you think Emacs is not
> behaving here, can you please create a separate report? - that this
> works is very important.  Maybe you can already give debugging a try?


I did not. I think this is the reason why it did not work for me. Thank you=
!

I think the following changes (or similar) would help to avoid such misunde=
rstandings:

--- /usr/share/emacs/27.2/lisp/mail/emacsbug.el.gz
+++ #<buffer emacsbug.el.gz>
@@ -114,7 +114,8 @@
            (start-process "xdg-email" nil "xdg-email"
                           "--subject" subject
                           "--body" body
-                          (concat "mailto:" to)))
+                          (concat "mailto:" to))
+           (display-buffer-below-selected (get-buffer "xdg-email") nil))
        (error "Subject, To or body not found")))))

 (defvar report-emacs-bug--os-description nil

Diff finished.  Wed Dec 15 11:58:39 2021

Andrey.

________________________________________
=CE=F2: Michael Heerdegen <michael_heerdegen@HIDDEN>
=CE=F2=EF=F0=E0=E2=EB=E5=ED=EE: 15 =E4=E5=EA=E0=E1=F0=FF 2021 =E3. 10:26:38
=CA=EE=EC=F3: =CF=E5=F2=F0=EE=E2 =C0=ED=E4=F0=E5=E9
=CA=EE=EF=E8=FF: 52479 <at> debbugs.gnu.org
=D2=E5=EC=E0: Re: bug#52479: 27.2; EDebugging stops when breakpoint conditi=
on can not be printed

=CF=E5=F2=F0=EE=E2 =C0=ED=E4=F0=E5=E9 <an.petrov@HIDDEN> writes:

> Hello, team!

Hello - thanks for your (very well done and pleasant to read!) report.

> Debugger entered--Lisp error: (error "Apparently circular structure being=
 printed")
>   apply(debug error (error "Apparently circular structure being printed")=
)
>   edebug(error (error "Apparently circular structure being printed"))
>   signal(error ("Apparently circular structure being printed"))
>   edebug-signal(error ("Apparently circular structure being printed"))
>   message("Break: %s =3D> %s" filtered (#<field field-157aa078be4c>))

Another symptom of printing the wrong way, similar to bug#52222.
Printing with `edebug-safe-prin1-to-string' should fix it and be the
right thing, right?

> P.S. I could not copy the text from emacs with C-c M-i according to hint:
> While in the mail buffer:

>   Type C-c C-c to send the bug report.
>   Type C-x k RET to cancel (don=92t send it).
>   Type C-c M-i to copy text to your preferred mail program.   <----

Hmm, that calls `report-emacs-bug-insert-to-mailer'.  You have set up a
mailer on your system and it works all fine?  If you think Emacs is not
behaving here, can you please create a separate report? - that this
works is very important.  Maybe you can already give debugging a try?

Thanks,

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52479: 27.2; EDebugging stops when breakpoint condition can not be printed
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 19 Dec 2021 13:06:01 +0000
Resent-Message-ID: <handler.52479.B52479.163991911629410 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52479
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: 52479 <at> debbugs.gnu.org, =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= <an.petrov@HIDDEN>
Received: via spool by 52479-submit <at> debbugs.gnu.org id=B52479.163991911629410
          (code B ref 52479); Sun, 19 Dec 2021 13:06:01 +0000
Received: (at 52479) by debbugs.gnu.org; 19 Dec 2021 13:05:16 +0000
Received: from localhost ([127.0.0.1]:45192 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1myvsK-0007eH-D5
	for submit <at> debbugs.gnu.org; Sun, 19 Dec 2021 08:05:16 -0500
Received: from quimby.gnus.org ([95.216.78.240]:41632)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1myvsI-0007dy-Hm
 for 52479 <at> debbugs.gnu.org; Sun, 19 Dec 2021 08:05:14 -0500
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=HpSQi6BtCrRc5OHqjzrJRwUvw4mL97wpNqETau1025I=; b=IL2Z4RaIFLzBtf8aqj9oiMVaNx
 fQglGBOMdOUSalFiVoqdrwoOy3DMyaG+D740uJiEKBc4g0ig6GEVPyrzwhCSN1WNLvqVpPbnpqf/X
 a+X2440FgMJfWYvuw0fYTR0IgcaghvXlIdM6NC9fj+6Pf0TAcpd2xu1pcY8t3pr6lI2E=;
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 1myvs9-0003pm-AS; Sun, 19 Dec 2021 14:05:07 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <62d5f9445730439e9d6b765f3d181c78@HIDDEN>
 <8735muxwtt.fsf@HIDDEN>
X-Now-Playing: John Martyn's _Inside Out_: "So Much in Love With You"
Date: Sun, 19 Dec 2021 14:05:00 +0100
In-Reply-To: <8735muxwtt.fsf@HIDDEN> (Michael Heerdegen's message of "Wed, 15
 Dec 2021 06:26:38 +0100")
Message-ID: <874k74sq2r.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: Michael Heerdegen <michael_heerdegen@HIDDEN> writes: >
 Another
 symptom of printing the wrong way, similar to bug#52222. > Printing with
 `edebug-safe-prin1-to-string' should fix it and be the > right thing, right?
 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-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 (---)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> Another symptom of printing the wrong way, similar to bug#52222.
> Printing with `edebug-safe-prin1-to-string' should fix it and be the
> right thing, right?

Sounds like the right solution to me.  Michael, you've investigated this
issue in the bug#52222 context -- can you do the fixes here?

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





Last modified: Sun, 19 Dec 2021 13:15:01 UTC

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