From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Newsgroups: gmane.lisp.guile.bugs Subject: bug#40008: Backtraces can contain very long strings Date: Tue, 10 Mar 2020 12:47:11 +0100 Message-ID: <20200310114711.GA10381@tuxteam.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="8777"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) To: 40008@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Mar 10 12:49:38 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBdOC-00029l-Pf for guile-bugs@m.gmane-mx.org; Tue, 10 Mar 2020 12:49:36 +0100 Original-Received: from localhost ([::1]:58652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBdOB-00026L-ND for guile-bugs@m.gmane-mx.org; Tue, 10 Mar 2020 07:49:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45620) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBdMh-00082m-5F for bug-guile@gnu.org; Tue, 10 Mar 2020 07:48:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBdMf-0005s6-V5 for bug-guile@gnu.org; Tue, 10 Mar 2020 07:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBdMf-0005rZ-RA for bug-guile@gnu.org; Tue, 10 Mar 2020 07:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBdMf-0003LS-OR for bug-guile@gnu.org; Tue, 10 Mar 2020 07:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 10 Mar 2020 11:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40008 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158384084512796 (code B ref -1); Tue, 10 Mar 2020 11:48:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Mar 2020 11:47:25 +0000 Original-Received: from localhost ([127.0.0.1]:51951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBdM5-0003KJ-7N for submit@debbugs.gnu.org; Tue, 10 Mar 2020 07:47:25 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBdM3-0003KB-3B for submit@debbugs.gnu.org; Tue, 10 Mar 2020 07:47:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44416) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBdM1-0007B9-Do for bug-guile@gnu.org; Tue, 10 Mar 2020 07:47:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBdM0-0002aC-0B for bug-guile@gnu.org; Tue, 10 Mar 2020 07:47:21 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:47384) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBdLz-00025W-FX for bug-guile@gnu.org; Tue, 10 Mar 2020 07:47:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=V8asfJVW8yQtC4VlBgzIebE+6aiHaxDTzRDggJ8WI+I=; b=REBCIJFeJlW+7hJelO5Ak/A4bZo+oZ/nrLZ3s24kTdHMnbb2yvVbEFcy6LqB+bh6H9HHt/u3QaOM3UXT8DYzLE9eqLDNckl9ws4kSoq+lO06GGkJ3p9WXn2fkEZh+O8mHBmfvGjEgFadcP71iJLYN3uiH8XzylLNdWNnmtDtznH2AI39oQo5C25ifszhmoBg6Bg2NGHDIOFlYrhk2ErVVUvHD2O6pPagYhUsR1CXSPgyPtPcxMg8KJZVGT3OXJX3AoOLScwospB0DDfl5FfcfnZwCwLxhu0y5fQSE03cElDjx/UWZ0nsPQ0I+rdpxQ5SQB6hayCxyi088J4UkfKeqQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jBdLr-0002o2-Nl for bug-guile@gnu.org; Tue, 10 Mar 2020 12:47:11 +0100 Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9637 Archived-At: --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 10, 2020 at 11:05:24AM +0100, Jan Synacek wrote: > I have the following backtrace: >=20 > Backtrace: > In ice-9/boot-9.scm: > 1736:10 9 (with-exception-handler _ _ #:unwind? _ # _) > In unknown file: > 8 (apply-smob/0 #) > In ice-9/boot-9.scm: > 718:2 7 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 6 (_ #(#(#))) > In ice-9/boot-9.scm: > 2806:4 5 (save-module-excursion _) > 4351:12 4 (_) > In /home/jsynacek/./git.scm: > 72:0 3 (_) > 61:16 2 (change-spec _ _ "66.33" _ #) > 48:12 1 (change-release "# We ship a .pc file but don't want t=E2=80= =A6" =E2=80=A6) > In unknown file: > 0 (make-regexp "^Release:(\\s*).*$" "# We ship a .pc fil=E2=80= =A6" =E2=80=A6) >=20 > ERROR: In procedure make-regexp: > Wrong type (expecting exact integer): " > > " >=20 > While this is probably not considered an error, I guess it might be better > to ellipsize strings in errors such is mine that are over a certain length > long. The important part of the backtrace was scrolled away and I got > confused about the string, as I thought it was part of the output and > started wondering why (display ...) keeps the escaped newlines in the > string. Some want it, some want it not. I remember a couple of discussions in guile-user and guile-devel about this topic. Have you tried setting debug options `width' and/or `depth' (cf. procedure `debug-options')? (my current defaults are 79 columns/20 rows, this is Guile 3.0). > If this is not considered a bug, please, at least consider it an RFE. I guess one could argue about the current defaults, but it'll be difficult to find values making all people happy all the time. Cheers -- t --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl5nfj8ACgkQBcgs9XrR2kbW5QCeMAOZw7IjHI4ZSzT4J2/Z/19s aU8AnA2yq/0OqStuGCMQRnZh3f1mVSfe =YJZ3 -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--