GNU logs - #47064, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: DrRacket internal error uncompressing
Resent-From: Jack Hill <jackhill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 11 Mar 2021 06:22:02 +0000
Resent-Message-ID: <handler.47064.B.16154436852510 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 47064 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16154436852510
          (code B ref -1); Thu, 11 Mar 2021 06:22:02 +0000
Received: (at submit) by debbugs.gnu.org; 11 Mar 2021 06:21:25 +0000
Received: from localhost ([127.0.0.1]:52425 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lKEhJ-0000eQ-7w
	for submit <at> debbugs.gnu.org; Thu, 11 Mar 2021 01:21:25 -0500
Received: from lists.gnu.org ([209.51.188.17]:38542)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jackhill@HIDDEN>) id 1lKEhI-0000eJ-Aa
 for submit <at> debbugs.gnu.org; Thu, 11 Mar 2021 01:21:24 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39832)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jackhill@HIDDEN>)
 id 1lKEhI-0001oT-5M
 for bug-guix@HIDDEN; Thu, 11 Mar 2021 01:21:24 -0500
Received: from minsky.hcoop.net ([104.248.1.95]:35282)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jackhill@HIDDEN>)
 id 1lKEhF-0005PH-CA
 for bug-guix@HIDDEN; Thu, 11 Mar 2021 01:21:23 -0500
Received: from marsh.hcoop.net ([45.55.52.66])
 by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <jackhill@HIDDEN>)
 id 1lKEhD-0007bT-9n
 for bug-guix@HIDDEN; Thu, 11 Mar 2021 01:21:19 -0500
Date: Thu, 11 Mar 2021 01:21:19 -0500 (EST)
From: Jack Hill <jackhill@HIDDEN>
X-X-Sender: jackhill@HIDDEN
Message-ID: <alpine.DEB.2.21.2103110058320.8138@HIDDEN>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@HIDDEN;
 helo=minsky.hcoop.net
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 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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.4 (--)

Hi Guix,

Using guix 80739ea480a7db667b83b45e3a08be740449f689 on x86_64, running:

`guix environment --ad-hoc racket -- drracket` produces:

```
$bytevector-uncompress: internal error uncompressing #"\0\0\0\0chez\310\224\206:\r()#\201\256R-d\205\233\24\363\5\20\201P\6A\v\300\0\16\f\6\31\2\f\6\f&H\275\0\1\0\362\bA\377e\0\1\0C\6A\21\3\v\300\0\201\265!\f\6\n\0\a\1\35\0\1+\0\360\27\201\375\300\0\0\0\17\205\210Z\0\0M\215\245\b\4\0\0M9fH\17\206fZ\0\0I\2...
   context...:
    body of "/gnu/store/mmrax3f1vx3c8ih9hhgffpvka6chk96w-racket-8.0/share/racket/pkgs/gui-lib/mred/private/wx/gtk/utils.rkt"
    body of "/gnu/store/mmrax3f1vx3c8ih9hhgffpvka6chk96w-racket-8.0/share/racket/pkgs/gui-lib/mred/private/wx/platform.rkt"
```

However, `guix time-machine --commit=b1248016e0492e1897f4d1127ccb07736c9bb6a5 -- environment --ad-hoc racket -- drracket`

successfully opens drracket. b1248016e0492e1897f4d1127ccb07736c9bb6a5 is 
the commit before the Racket 8.0 update, so I think the update introduced 
the problem. Other Racket GUI programs like slideshow and gracket also 
also exhibit the problem. The command line REPL works however.

I have not investigated to determine if the problem is specific to the GUI 
packages or if loading other extra Racket packages would also exhibit the 
problem.

Best,
Jack




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: Jack Hill <jackhill@HIDDEN>
Subject: bug#47064: Acknowledgement (DrRacket internal error uncompressing)
Message-ID: <handler.47064.B.16154436852510.ack <at> debbugs.gnu.org>
References: <alpine.DEB.2.21.2103110058320.8138@HIDDEN>
X-Gnu-PR-Message: ack 47064
X-Gnu-PR-Package: guix
Reply-To: 47064 <at> debbugs.gnu.org
Date: Thu, 11 Mar 2021 06:22:02 +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-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 47064 <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
47064: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47064
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: DrRacket internal error uncompressing
Resent-From: Jack Hill <jackhill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 15 Mar 2021 04:54:01 +0000
Resent-Message-ID: <handler.47064.B47064.161578402931738 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 47064 <at> debbugs.gnu.org
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.161578402931738
          (code B ref 47064); Mon, 15 Mar 2021 04:54:01 +0000
Received: (at 47064) by debbugs.gnu.org; 15 Mar 2021 04:53:49 +0000
Received: from localhost ([127.0.0.1]:34641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lLfEj-0008Fq-Jw
	for submit <at> debbugs.gnu.org; Mon, 15 Mar 2021 00:53:49 -0400
Received: from minsky.hcoop.net ([104.248.1.95]:42980)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jackhill@HIDDEN>) id 1lLfEi-0008Fb-EP
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 00:53:48 -0400
Received: from marsh.hcoop.net ([45.55.52.66])
 by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <jackhill@HIDDEN>)
 id 1lLfEd-00063S-1t
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 00:53:43 -0400
Date: Mon, 15 Mar 2021 00:53:42 -0400 (EDT)
From: Jack Hill <jackhill@HIDDEN>
X-X-Sender: jackhill@HIDDEN
In-Reply-To: <alpine.DEB.2.21.2103110058320.8138@HIDDEN>
Message-ID: <alpine.DEB.2.21.2103150050440.8138@HIDDEN>
References: <alpine.DEB.2.21.2103110058320.8138@HIDDEN>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
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 (-)

I wrote to the racket-users [0] list to see if they have advice on what 
could be causing this problem.

[0] https://www.mail-archive.com/racket-users@HIDDEN/msg46066.html

Best,
Jack




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: FYI: DrRacket problem
References: <alpine.DEB.2.21.2103110058320.8138@HIDDEN>
In-Reply-To: <alpine.DEB.2.21.2103110058320.8138@HIDDEN>
Resent-From: Jack Hill <jackhill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 15 Mar 2021 21:06:01 +0000
Resent-Message-ID: <handler.47064.B47064.16158423444292 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Philip McGrath <philip@HIDDEN>
Cc: 47064 <at> debbugs.gnu.org
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.16158423444292
          (code B ref 47064); Mon, 15 Mar 2021 21:06:01 +0000
Received: (at 47064) by debbugs.gnu.org; 15 Mar 2021 21:05:44 +0000
Received: from localhost ([127.0.0.1]:37381 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lLuPI-00017A-18
	for submit <at> debbugs.gnu.org; Mon, 15 Mar 2021 17:05:44 -0400
Received: from minsky.hcoop.net ([104.248.1.95]:36494)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jackhill@HIDDEN>) id 1lLuPG-00016x-L2
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 17:05:43 -0400
Received: from marsh.hcoop.net ([45.55.52.66])
 by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <jackhill@HIDDEN>)
 id 1lLuPB-0004eJ-0T; Mon, 15 Mar 2021 17:05:37 -0400
Date: Mon, 15 Mar 2021 17:05:36 -0400 (EDT)
From: Jack Hill <jackhill@HIDDEN>
X-X-Sender: jackhill@HIDDEN
Message-ID: <alpine.DEB.2.21.2103151703110.8138@HIDDEN>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
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 (-)

Philip,

Thanks for the work you've been doing on improving our Racket package. I 
wanted to make sure you were aware of the failure of DrRacket and other 
graphical Racket components to load in the latest Racket package.

https://issues.guix.gnu.org/47064

Best,
Jack




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Resent-From: Philip McGrath <philip@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 15 Mar 2021 21:39:02 +0000
Resent-Message-ID: <handler.47064.B47064.16158443067293 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Jack Hill <jackhill@HIDDEN>, racket-users@HIDDEN, 47064 <at> debbugs.gnu.org
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.16158443067293
          (code B ref 47064); Mon, 15 Mar 2021 21:39:02 +0000
Received: (at 47064) by debbugs.gnu.org; 15 Mar 2021 21:38:26 +0000
Received: from localhost ([127.0.0.1]:37413 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lLuuv-0001tZ-Vo
	for submit <at> debbugs.gnu.org; Mon, 15 Mar 2021 17:38:26 -0400
Received: from mail-qk1-f169.google.com ([209.85.222.169]:41137)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philip@HIDDEN>) id 1lLuuu-0001tM-DY
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 17:38:24 -0400
Received: by mail-qk1-f169.google.com with SMTP id x10so33264585qkm.8
 for <47064 <at> debbugs.gnu.org>; Mon, 15 Mar 2021 14:38:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=philipmcgrath.com; s=google;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-language;
 bh=5Wvwo/GejXkwpVJUKPYWhkyDgCXE9wemnJd+86OBdHU=;
 b=T6ij+sRkcJWKl9Rsf3baw6DVP4Da10lxNOBdDwLyLpuULhwLFiHxuyIjR1AOCmx6aB
 zjqhQa8qkXBjGgYLuG1rgDgaI0M49kelMc3omnFLQ042iRVLMpr32uHbCB3Gcd9dpVYe
 rSgBDphM7vsrnGgY8/TuoGmJ+MHfbJ+OT1bQJFqseqZ02/7xJ8Rvcs7+BI14kXkSjLAY
 LgfVxbEt252WCsVYQVm3IZBMwR9GIolZ7XbLKF/7PUyShBRAE6kTxO0VOG/r2Bj3sKZh
 JiW6qGTOSMk/aQRHoS6MERJ4UMwhkmqfcsgA7i41NIImvb1WymbMrpZzBvj3sU2za6CW
 g+vQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language;
 bh=5Wvwo/GejXkwpVJUKPYWhkyDgCXE9wemnJd+86OBdHU=;
 b=nX7RoE1wy2TRD0jpri7bSvjiLudiFVGglwG0RNv4ebi32Ijs7fEBsE0PjAfDb+u3CM
 DgozU7bbOvb0P8hX3qbnO7Mt0d/dtyZAxrmGcc7OcYAz6G76Km1PkxasLQhIwKM59ZqM
 4p4ndj2QOEs1HZklrXmGUGx3HkjyWnWHV8t6DfR627DI84Q2f6APfK/9ImjlVVlkebxm
 TglAxQ14/fmZ+oM/ZOt+GvNy//h//np5Et3v5DUE4TVcdV011dLBq3Al9UWnR/VSGWUK
 jhQt7xpIdXuseD8geIebCN0V1i472eOkyY3oIow1T3JHztMBlnUavh87wIBzw5yeZwAT
 CinA==
X-Gm-Message-State: AOAM531FAaSrOl0w1CBZgROf4pUqS0P3vuudGsqlun/o2kMh3huu/c10
 ZSmUV5YIcuKcZKpn94KtAIOjeCj3Ft7/LxRe95RA7A==
X-Google-Smtp-Source: ABdhPJy6Kecu/hZOanwN6sY4Gd6Ny15wHurWXktjNmpscv5qWbs3r53yG1GcwDNdMsdI7tTbRKvR/Q==
X-Received: by 2002:a05:620a:681:: with SMTP id
 f1mr27233805qkh.280.1615844298590; 
 Mon, 15 Mar 2021 14:38:18 -0700 (PDT)
Received: from Sapientia.local (c-73-125-89-242.hsd1.fl.comcast.net.
 [73.125.89.242])
 by smtp.gmail.com with ESMTPSA id 124sm13382833qkn.121.2021.03.15.14.38.17
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 15 Mar 2021 14:38:18 -0700 (PDT)
References: <alpine.DEB.2.21.2103150040230.8138@HIDDEN>
From: Philip McGrath <philip@HIDDEN>
Message-ID: <07f46e79-4fdb-49ab-63bd-2c106db077d1@HIDDEN>
Date: Mon, 15 Mar 2021 17:38:17 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0)
 Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.21.2103150040230.8138@HIDDEN>
Content-Type: multipart/alternative;
 boundary="------------E800C6DBB1F013530D8D5913"
Content-Language: en-US
X-Spam-Score: 0.7 (/)
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: -0.3 (/)

This is a multi-part message in MIME format.
--------------E800C6DBB1F013530D8D5913
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Jack, thanks for the pointer: I hadn't noticed this earlier.

On 3/15/21 12:49 AM, Jack Hill wrote:
> ```
> $bytevector-uncompress: internal error uncompressing 
> #"\0\0\0\0chez\310\224\206:\r()#\201\256R-d\205\233\24\363\5\20\201P\6A\v\300\0\16\f\6\31\2\f\6\f&H\275\0\1\0\362\bA\377e\0\1\0C\6A\21\3\v\300\0\201\265!\f\6\n\0\a\1\35\0\1+\0\360\27\201\375\300\0\0\0\17\205\210Z\0\0M\215\245\b\4\0\0M9fH\17\206fZ\0\0I\2...
>   context...:
>    body of 
> "/gnu/store/bbnhjamch9125c412bl7ybf28a0jxrkd-racket-8.0/share/racket/pkgs/gui-lib/mred/private/wx/gtk/utils.rkt"
>    body of 
> "/gnu/store/bbnhjamch9125c412bl7ybf28a0jxrkd-racket-8.0/share/racket/pkgs/gui-lib/mred/private/wx/platform.rkt"
> ```

This appears to be an error uncompressing Racket's compiled code—whether 
generated by the Racket layer or the Chez Scheme layer, I'm not sure. 
The stack trace is pointing to the module `mred/private/wx/gtk/utils`, 
which is here: 
https://github.com/racket/gui/blob/master/gui-lib/mred/private/wx/gtk/utils.rkt

At first glance, the most unusual-looking thing about that module is the 
use of `(only-in '#%foreign ctype-c->scheme)` … but it could also be 
something else altogether. I'll try to investigate further, but thoughts 
from others would be very welcome!

-Philip


--------------E800C6DBB1F013530D8D5913
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Jack, thanks for the pointer: I hadn't noticed this earlier.<br>
    </p>
    <div class="moz-cite-prefix">On 3/15/21 12:49 AM, Jack Hill wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:alpine.DEB.2.21.2103150040230.8138@HIDDEN">```
      <br>
      $bytevector-uncompress: internal error uncompressing
#"\0\0\0\0chez\310\224\206:\r()#\201\256R-d\205\233\24\363\5\20\201P\6A\v\300\0\16\f\6\31\2\f\6\f&amp;H\275\0\1\0\362\bA\377e\0\1\0C\6A\21\3\v\300\0\201\265!\f\6\n\0\a\1\35\0\1+\0\360\27\201\375\300\0\0\0\17\205\210Z\0\0M\215\245\b\4\0\0M9fH\17\206fZ\0\0I\2...<br>
        context...:
      <br>
         body of
"/gnu/store/bbnhjamch9125c412bl7ybf28a0jxrkd-racket-8.0/share/racket/pkgs/gui-lib/mred/private/wx/gtk/utils.rkt"<br>
         body of
"/gnu/store/bbnhjamch9125c412bl7ybf28a0jxrkd-racket-8.0/share/racket/pkgs/gui-lib/mred/private/wx/platform.rkt"<br>
      ```
      <br>
    </blockquote>
    <p>This appears to be an error uncompressing Racket's compiled
      code—whether generated by the Racket layer or the Chez Scheme
      layer, I'm not sure. The stack trace is pointing to the module
      `mred/private/wx/gtk/utils`, which is here:
<a class="moz-txt-link-freetext" href="https://github.com/racket/gui/blob/master/gui-lib/mred/private/wx/gtk/utils.rkt">https://github.com/racket/gui/blob/master/gui-lib/mred/private/wx/gtk/utils.rkt</a></p>
    <p>At first glance, the most unusual-looking thing about that module
      is the use of `(<span class="pl-en">only-in</span> '#%foreign
      ctype-c-&gt;scheme)` … but it could also be something else
      altogether. I'll try to investigate further, but thoughts from
      others would be very welcome!</p>
    <p>-Philip<br>
    </p>
  </body>
</html>

--------------E800C6DBB1F013530D8D5913--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Resent-From: Philip McGrath <philip@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 15 Mar 2021 22:27:01 +0000
Resent-Message-ID: <handler.47064.B47064.161584719811974 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Jack Hill <jackhill@HIDDEN>, racket-users@HIDDEN, 47064 <at> debbugs.gnu.org
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.161584719811974
          (code B ref 47064); Mon, 15 Mar 2021 22:27:01 +0000
Received: (at 47064) by debbugs.gnu.org; 15 Mar 2021 22:26:38 +0000
Received: from localhost ([127.0.0.1]:37479 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lLvfa-000374-Ab
	for submit <at> debbugs.gnu.org; Mon, 15 Mar 2021 18:26:38 -0400
Received: from mail-qk1-f175.google.com ([209.85.222.175]:33896)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philip@HIDDEN>) id 1lLvfY-00036s-LG
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 18:26:37 -0400
Received: by mail-qk1-f175.google.com with SMTP id t4so33421568qkp.1
 for <47064 <at> debbugs.gnu.org>; Mon, 15 Mar 2021 15:26:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=philipmcgrath.com; s=google;
 h=subject:from:to:references:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=GFFrTNrc7bwSdAx9KINlUgsfHniiDi6/huH4eWBu7Lk=;
 b=NuWB9U0hgaOXMx4e88UvuYpegtO/nmTHrXaQwIl7u+Gj0uyb51fYaq6ITXwlnOkzE9
 53JFvkFEZFCwe/lAigZn1i2Gj1LkvcDkC2U2RSvdzl6xx3qj5IORn2/NTMiMAK9Kmo/f
 LRAc9W1D9kAMc0tub/Gk0t+cGCdzVy/jlSljHBFnVXgdo02WSBOVBOlFqNVvGAQ20t/j
 CG0fSJ8N6FUTtpn5DrCnF97Xskrw/HE4U4ptcZwPjLSoJb/VT2ZmKNQkis+kQek07Oak
 gTJ/LDER6xleH/ijzgOWC+ZvvIiUB26uWCL/cGrPsgr/nFmMeBtQ0aDCzViouDvJ+lLN
 RccQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:from:to:references:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=GFFrTNrc7bwSdAx9KINlUgsfHniiDi6/huH4eWBu7Lk=;
 b=V/QrixXOGrb6w6wuGc4a2wvdJFYQubJopMqlTLjYHrYM6A3Q/vg3rVPPI/XaVCuI5V
 w0/BbVZjorBWA4lEsnAtUxKlgdmpNhwtiO9UW3MoPIQNqxe16agk4pW12lznH++Q2Lbf
 nbVhdwF0+ejsIRvqKsuB4D08/zJw+jX1w571HZ8de+Wg9OZnHS8VQyWoZP6jpnkz7/UL
 1gd88kB11JhOmTlugr84bivvsyCNfX1DZp4JqkdaA40A117k7eKad5b+onLtoOyQr4KW
 2RRZLEy86TaKUT98vIQv31Rph8bB6OA31WmA5sXqDChZYLaA2tsC7Xak3ncJc2QMp7zW
 EmPQ==
X-Gm-Message-State: AOAM533jGpZbQ3SfgxS6z34ja/b0uluwvbrBTVz4usPGZHUSzoK35YKu
 rtNCuhrJnFp7WACoP+mXmXNYDZntJlm0TyXWUVOPqw==
X-Google-Smtp-Source: ABdhPJyivUAIogkH3ZKBC0gT/ksh8ODA8ayOk30RO6EjFvGm8P7VjJt9k0+HIcKmAwFfDEBKAmmheA==
X-Received: by 2002:a37:ef17:: with SMTP id j23mr26148464qkk.209.1615847190872; 
 Mon, 15 Mar 2021 15:26:30 -0700 (PDT)
Received: from Sapientia.local (c-73-125-89-242.hsd1.fl.comcast.net.
 [73.125.89.242])
 by smtp.gmail.com with ESMTPSA id f27sm13071112qkh.118.2021.03.15.15.26.30
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 15 Mar 2021 15:26:30 -0700 (PDT)
From: Philip McGrath <philip@HIDDEN>
References: <alpine.DEB.2.21.2103150040230.8138@HIDDEN>
 <07f46e79-4fdb-49ab-63bd-2c106db077d1@HIDDEN>
Message-ID: <79c97b4c-defb-3966-dc50-a79fa8f5c053@HIDDEN>
Date: Mon, 15 Mar 2021 18:26:29 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0)
 Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <07f46e79-4fdb-49ab-63bd-2c106db077d1@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.7 (/)
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: -0.3 (/)

I can reproduce the error with just:
```
$ racket -l mred/private/wx/gtk/utils
$bytevector-uncompress: internal error uncompressing 
#"\0\0\0\0chez\310\224\206:\r()#\201\256R-d\205\233\24\363\5\20\201P\6A\v\300\0\16\f\6\31\2\f\6\f&H\275\0\1\0\362\bA\377e\0\1\0C\6A\21\3\v\300\0\201\265!\f\6\n\0\a\1\35\0\1+\0\360\27\201\375\300\0\0\0\17\205\210Z\0\0M\215\245\b\4\0\0M9fH\17\206fZ\0\0I\2...
   context...:
    body of 
"/gnu/store/bbnhjamch9125c412bl7ybf28a0jxrkd-racket-8.0/share/racket/pkgs/gui-lib/mred/private/wx/gtk/utils.rkt"
```




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Resent-From: Philip McGrath <philip@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 15 Mar 2021 22:39:02 +0000
Resent-Message-ID: <handler.47064.B47064.161584792613190 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Jack Hill <jackhill@HIDDEN>, racket-users@HIDDEN, 47064 <at> debbugs.gnu.org
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.161584792613190
          (code B ref 47064); Mon, 15 Mar 2021 22:39:02 +0000
Received: (at 47064) by debbugs.gnu.org; 15 Mar 2021 22:38:46 +0000
Received: from localhost ([127.0.0.1]:37501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lLvrJ-0003Qa-IM
	for submit <at> debbugs.gnu.org; Mon, 15 Mar 2021 18:38:46 -0400
Received: from mail-qt1-f173.google.com ([209.85.160.173]:38902)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philip@HIDDEN>) id 1lLvrH-0003QG-3n
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 18:38:43 -0400
Received: by mail-qt1-f173.google.com with SMTP id j7so10367385qtx.5
 for <47064 <at> debbugs.gnu.org>; Mon, 15 Mar 2021 15:38:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=philipmcgrath.com; s=google;
 h=subject:from:to:references:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=DrC2qRJZ8eEzQGVwBLuHcEH8zKJ7GNc57aFAedvOXv4=;
 b=hnGV912WRQ8ZWTQrc1MxsEXNrVhhf+9hZ8pF3AViDundiuBoCMMkBEyDmAbSdne7Qi
 CV7CNQqGIrCCsyf8PuB7kZRjGUTqjeFu1eCDG44aVvzhSH0eSnOiFV8qtgAaS3adzAPG
 5bo+87YVSUrget6kvvJ5K6V969ts4xN+RD70LTBvgvM/2LIRWgbSzt7tk/j+bo6UWiUK
 hzeHtuii/P3O2C20YevczaDx5QcIITJbqr4mRUj4bNp7Zu22ilHmM0qkPT7sN1waOW8H
 GYc7aB96vBOBv32RLAWHLQUuza8uX9kWZ8nCISL1HsPVE/NQzsu8bilOf/s+0iz9ERx+
 yRkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:from:to:references:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=DrC2qRJZ8eEzQGVwBLuHcEH8zKJ7GNc57aFAedvOXv4=;
 b=KnXAJT3L5jY7rmEYTXsZafE3tLW6po8uYrs3Aqz23smEHhgKSCD7XO79c3vhIeTaw+
 3rUj4cRnAYe5GyGRZJxQBuq4OD/BXJ1u+/rKYJWqvlQY4PupdPUYv/xu70cZ/OFDtQIk
 iuYV15isEO+mHEUYZQQMqXLCsD013wdR44VhNqUzxKF7pssHuC/n64iYbAPlfLr82K0s
 jqeaG4Us4IcP4PoHTXQJP7/kGeh7Q/Y21An95jAApFq4X5d6RLppf4HjV3vZX2QnFWWi
 cy8qKlSSiRkmTaZU+MQyDz5Zyl3toDFRu1zkOfyRb4t9Yszq0RQTS5DiuUJrthY9fnN6
 gy2w==
X-Gm-Message-State: AOAM530JNQpgJcrT3X01FvJtkb8dJ6mkiaM42Jl0jj/UPfcy7OZAkS2N
 PvNNA6D7166hVI0EfBOfPWqp3iWISl80TORHwc0=
X-Google-Smtp-Source: ABdhPJwR/l/s4Zrrfetwh/71zCDXk4Bjt6XjnAhRu2beS76/tyYJZeyAPfXjsFLAK+TGAyM15QcxSA==
X-Received: by 2002:ac8:4b7b:: with SMTP id g27mr24547995qts.220.1615847917491; 
 Mon, 15 Mar 2021 15:38:37 -0700 (PDT)
Received: from Sapientia.local (c-73-125-89-242.hsd1.fl.comcast.net.
 [73.125.89.242])
 by smtp.gmail.com with ESMTPSA id y1sm13247353qkf.55.2021.03.15.15.38.36
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 15 Mar 2021 15:38:37 -0700 (PDT)
From: Philip McGrath <philip@HIDDEN>
References: <alpine.DEB.2.21.2103150040230.8138@HIDDEN>
 <07f46e79-4fdb-49ab-63bd-2c106db077d1@HIDDEN>
 <79c97b4c-defb-3966-dc50-a79fa8f5c053@HIDDEN>
Message-ID: <53940c03-4f40-3954-0cb4-3d4ae01c39a2@HIDDEN>
Date: Mon, 15 Mar 2021 18:38:36 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0)
 Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <79c97b4c-defb-3966-dc50-a79fa8f5c053@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.7 (/)
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: -0.3 (/)

Aha! Running:

     guix environment --ad-hoc --no-grafts racket -- drracket

launches DrRacket just fine.

My guess is that Racket CS is compressing string literals in compiled 
code. Currently, Guix patches Racket source files to include the 
absolute paths to foreign libraries in the store as string literals. 
There are a bunch of grafts for GTK and such: if I'm right, Guix somehow 
mangles the compiled code while attempting to apply the grafts.

I already thought this strategy was a bad idea. If it is really the 
problem, I should be able to patch it fairly quickly: I've already been 
experimenting along these lines.

-Philip




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: FYI: DrRacket problem
Resent-From: Malte Gerdes <malte.f.gerdes@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 15 Mar 2021 23:02:01 +0000
Resent-Message-ID: <handler.47064.B47064.161584930315720 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Jack Hill <jackhill@HIDDEN>
Cc: 47064 <at> debbugs.gnu.org, Philip McGrath <philip@HIDDEN>
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.161584930315720
          (code B ref 47064); Mon, 15 Mar 2021 23:02:01 +0000
Received: (at 47064) by debbugs.gnu.org; 15 Mar 2021 23:01:43 +0000
Received: from localhost ([127.0.0.1]:37528 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lLwDX-00045U-Dz
	for submit <at> debbugs.gnu.org; Mon, 15 Mar 2021 19:01:43 -0400
Received: from mail-lf1-f52.google.com ([209.85.167.52]:40570)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <malte.f.gerdes@HIDDEN>) id 1lLwDU-00045E-J7
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 19:01:41 -0400
Received: by mail-lf1-f52.google.com with SMTP id x4so52763819lfu.7
 for <47064 <at> debbugs.gnu.org>; Mon, 15 Mar 2021 16:01:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=eUqWcxNrmr2NILcqxyMkExmz7OOWuz68BHgYJ2dttHg=;
 b=kChl8iYRdXuwTtOUZZ5bZqoTQfTVldz4FzpQqgvrdbHlud9/Ko+90hslRIVSpQnr1o
 62QeS2Up9u/zOnljiJO+f/Eu+utZ0g9SfutcZeaF1s5+fGAiDWkuoy5MNwg2roY0I12y
 dpdH+2apnUJczKgsMmx1PiV6V2S9TmibnxpZ0X74pTDnzAGXkg7OWOfj8ZT/J8rWVJvX
 vObTyMOh4HvFHT5OV/swGF9viXPJRTgw07ISBKdaNiZzofVtYFJBZpM6AsZo4hqUQHEU
 CyfpDyk/iFx1WNI7+OrnenkF5tKNCF//+DoZAFY1Ugb9yeIfj35JedRdUpo1ikOjDJ3y
 OfXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=eUqWcxNrmr2NILcqxyMkExmz7OOWuz68BHgYJ2dttHg=;
 b=eK2oqjw/r45/LDJbRdr8T2fPcPARyutngQpfOxVYr8sK5r81BQPyPskl79oNxmgjvi
 UzuNv5CW+jC6heibqhkp9L80qOxVJuVlSQzEi7Z49Nyr20HH4dPvV0Q/8WHX53oXJ+Rg
 y0DI4hjUqh2Me3AcMrnYwUB3Jijr0maVFjceXu8av7Ic96vr99gSWEYd+QSnTwHQPh/U
 tXx/pypy+Kg4UVDEA7LA2scCggdL6gigJcP3x5aS6l3EJIYjDPMovEBYhdrbDBBtwgZX
 98536PZ/I0jB873UPTT3E7kiRu6inmVcy7u1tdmVYz2zBq8X7YU3VdnDa/yBV5yebhyz
 zV0w==
X-Gm-Message-State: AOAM533YN+hbEfdjhi/qKJluJViYNINjv4h0LTPQLU1WHFhUiPVh0DAP
 iPOreCoAIZXQRtRuGCfdSxg74bDQbZQGBwgSK34=
X-Google-Smtp-Source: ABdhPJyvqLWXMVgQNYF2+/lfxWvF0TZsj+WBapix5s4P+eLVEQ8cnJIIZWnJ620tz48EQCuDba8mvqPVj7xy6bfw9WU=
X-Received: by 2002:ac2:5e9d:: with SMTP id b29mr9142329lfq.31.1615849294572; 
 Mon, 15 Mar 2021 16:01:34 -0700 (PDT)
MIME-Version: 1.0
References: <alpine.DEB.2.21.2103110058320.8138@HIDDEN>
 <alpine.DEB.2.21.2103151703110.8138@HIDDEN>
In-Reply-To: <alpine.DEB.2.21.2103151703110.8138@HIDDEN>
From: Malte Gerdes <malte.f.gerdes@HIDDEN>
Date: Tue, 16 Mar 2021 00:01:23 +0100
Message-ID: <CAMVpQiXKH010oe4_2_nsJDO4qjpqBBVC3fAq+p9uomP74014kg@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000036af4405bd9b3b90"
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 (-)

--00000000000036af4405bd9b3b90
Content-Type: text/plain; charset="UTF-8"

Hi,

I do not have problems with racket on a foreign distro. On guix system I
experience the same error.

Malte

On Mon, 15 Mar 2021, 22:06 Jack Hill, <jackhill@HIDDEN> wrote:

> Philip,
>
> Thanks for the work you've been doing on improving our Racket package. I
> wanted to make sure you were aware of the failure of DrRacket and other
> graphical Racket components to load in the latest Racket package.
>
> https://issues.guix.gnu.org/47064
>
> Best,
> Jack
>
>
>
>

--00000000000036af4405bd9b3b90
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi,<div dir=3D"auto"><br></div><div dir=3D"auto">I do not=
 have problems with racket on a foreign distro. On guix system I experience=
 the same error.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">M=
alte</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm=
ail_attr">On Mon, 15 Mar 2021, 22:06 Jack Hill, &lt;<a href=3D"mailto:jackh=
ill@HIDDEN">jackhill@HIDDEN</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">Philip,<br>
<br>
Thanks for the work you&#39;ve been doing on improving our Racket package. =
I <br>
wanted to make sure you were aware of the failure of DrRacket and other <br=
>
graphical Racket components to load in the latest Racket package.<br>
<br>
<a href=3D"https://issues.guix.gnu.org/47064" rel=3D"noreferrer noreferrer"=
 target=3D"_blank">https://issues.guix.gnu.org/47064</a><br>
<br>
Best,<br>
Jack<br>
<br>
<br>
<br>
</blockquote></div>

--00000000000036af4405bd9b3b90--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Resent-From: jackhill <jackhill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 16 Mar 2021 00:41:01 +0000
Resent-Message-ID: <handler.47064.B47064.16158552528895 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Philip McGrath <philip@HIDDEN>
Cc: 47064 <at> debbugs.gnu.org, racket-users@HIDDEN
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.16158552528895
          (code B ref 47064); Tue, 16 Mar 2021 00:41:01 +0000
Received: (at 47064) by debbugs.gnu.org; 16 Mar 2021 00:40:52 +0000
Received: from localhost ([127.0.0.1]:37614 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lLxlO-0002ID-UM
	for submit <at> debbugs.gnu.org; Mon, 15 Mar 2021 20:40:50 -0400
Received: from minsky.hcoop.net ([104.248.1.95]:39840)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jackhill@HIDDEN>) id 1lLxZe-0008JG-7S
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 20:28:38 -0400
Received: from marsh.hcoop.net ([45.55.52.66])
 by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <jackhill@HIDDEN>)
 id 1lLxZX-0005Xa-LW; Mon, 15 Mar 2021 20:28:31 -0400
Date: Mon, 15 Mar 2021 20:28:31 -0400 (EDT)
From: jackhill <jackhill@HIDDEN>
X-X-Sender: jackhill@HIDDEN
In-Reply-To: <53940c03-4f40-3954-0cb4-3d4ae01c39a2@HIDDEN>
Message-ID: <alpine.DEB.2.21.2103152026420.8138@HIDDEN>
References: <alpine.DEB.2.21.2103150040230.8138@HIDDEN>
 <07f46e79-4fdb-49ab-63bd-2c106db077d1@HIDDEN>
 <79c97b4c-defb-3966-dc50-a79fa8f5c053@HIDDEN>
 <53940c03-4f40-3954-0cb4-3d4ae01c39a2@HIDDEN>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
X-Spam-Score: 0.7 (/)
X-Mailman-Approved-At: Mon, 15 Mar 2021 20:40:45 -0400
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: -0.3 (/)

On Mon, 15 Mar 2021, Philip McGrath wrote:

> Aha! Running:
>
>    guix environment --ad-hoc --no-grafts racket -- drracket
>
> launches DrRacket just fine.
>
> My guess is that Racket CS is compressing string literals in compiled code. 
> Currently, Guix patches Racket source files to include the absolute paths to 
> foreign libraries in the store as string literals. There are a bunch of 
> grafts for GTK and such: if I'm right, Guix somehow mangles the compiled code 
> while attempting to apply the grafts.
>
> I already thought this strategy was a bad idea. If it is really the problem, 
> I should be able to patch it fairly quickly: I've already been experimenting 
> along these lines.

Aha, that does sound promising. This certinially wouldn't be the only 
grafts corner case:

https://issues.guix.gnu.org/33848
https://issues.guix.gnu.org/30265

Thanks for taking a look,
Jack




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Resent-From: Philip McGrath <philip@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 16 Mar 2021 03:02:01 +0000
Resent-Message-ID: <handler.47064.B47064.16158636769743 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: jackhill <jackhill@HIDDEN>
Cc: 47064 <at> debbugs.gnu.org, racket-users@HIDDEN
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.16158636769743
          (code B ref 47064); Tue, 16 Mar 2021 03:02:01 +0000
Received: (at 47064) by debbugs.gnu.org; 16 Mar 2021 03:01:16 +0000
Received: from localhost ([127.0.0.1]:37696 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lLzxM-0002X5-7w
	for submit <at> debbugs.gnu.org; Mon, 15 Mar 2021 23:01:16 -0400
Received: from mail-qt1-f179.google.com ([209.85.160.179]:44545)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philip@HIDDEN>) id 1lLzxL-0002Ws-CY
 for 47064 <at> debbugs.gnu.org; Mon, 15 Mar 2021 23:01:15 -0400
Received: by mail-qt1-f179.google.com with SMTP id m7so10715940qtq.11
 for <47064 <at> debbugs.gnu.org>; Mon, 15 Mar 2021 20:01:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=philipmcgrath.com; s=google;
 h=subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=TfsJm15skscv5McrGjQU1db0L9WuCA0hLxayKBZaNwE=;
 b=ZD4okHaQjTGlAXFZyWvh2jLtbr+k/js163F469Jjma0SYI0RakfaYdPFaYcVoMhN+L
 0BhFSBGwOSuZUT3btvjfC0EPRuRc+C/SI6CM2q2gF1z9DKFL9auhdEgKRsgJBuxxYWjV
 RGYnwPAojQo26ovPavriak1nCJ3uhbmQvHWk4M/E2gv0YvI9whGXt5GGVjbbKeHgltj8
 G73O8jSGbWMwOmbjoyprtMF8zAtWgXaDK+LZB3yi76sA8saa4KygrPSOEb/ET+nGKCpG
 2CnmVyEZJKuVB3UodgKycyM2cFXHjyr5IaJ/KfYMBL7U8NTIsVrb+rIYP1X3RsXMI+P3
 OZlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:cc:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=TfsJm15skscv5McrGjQU1db0L9WuCA0hLxayKBZaNwE=;
 b=pQzjmot6qPG8ErlX+D08OUcU2bOCSV9mj6WrfOxmzIncSW6CgMAwgu2k5LiZnRirnz
 ee2Yxx4OgmwSXgF48YBra1lHTwphdgsPu2ryAKKeK5VG3lUBsY3S8nKsywFCicIIarYq
 V9DHUMPm7tf2RtsDjJ2dBhWGhCi/QwYyW6znHV3zG6w1vJVlEuO/a+nsa0hxcbLBUSNw
 ay86o6nMoj8XGOEoh88qvlx9F/bZS7BuNYBroNQYnay3wyQRKDxJ/wsyyOSToMm4KRK+
 AdViDeQj1pjgtQCDRACOdJlvlRIn2nEu/au+f3Ji3PIOIScHGWwdznMFrwOujec9jFrz
 dEpA==
X-Gm-Message-State: AOAM532ECDXscEJEOeqMUv1UsMKI8ReON0FwdytgBVpIkmpSQo/jrAiP
 xyvzCcHQWI8G4FTM3g2qzSK1XxER7iLe9kfj/UI=
X-Google-Smtp-Source: ABdhPJw5OQCZMdRDLdXOxi+r82+JQzFU22dbrSh5XQifwV2YnqS2UjDvkD5rjWGlj/ioAzz9L2PrHw==
X-Received: by 2002:ac8:3a42:: with SMTP id w60mr26053924qte.307.1615863669714; 
 Mon, 15 Mar 2021 20:01:09 -0700 (PDT)
Received: from Sapientia.local (c-73-125-89-242.hsd1.fl.comcast.net.
 [73.125.89.242])
 by smtp.gmail.com with ESMTPSA id t2sm12261279qtd.13.2021.03.15.20.01.08
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 15 Mar 2021 20:01:09 -0700 (PDT)
References: <alpine.DEB.2.21.2103150040230.8138@HIDDEN>
 <07f46e79-4fdb-49ab-63bd-2c106db077d1@HIDDEN>
 <79c97b4c-defb-3966-dc50-a79fa8f5c053@HIDDEN>
 <53940c03-4f40-3954-0cb4-3d4ae01c39a2@HIDDEN>
 <alpine.DEB.2.21.2103152026420.8138@HIDDEN>
From: Philip McGrath <philip@HIDDEN>
Message-ID: <f7b8dfd6-ca6b-71b7-db6b-0cb39d2147ef@HIDDEN>
Date: Mon, 15 Mar 2021 23:01:08 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0)
 Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.21.2103152026420.8138@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 3.6 (+++)
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: I've submitted a patch at https://issues.guix.gnu.org/47180
 that I hope will resolve this issue. -Philip 
 Content analysis details:   (3.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.160.179 listed in list.dnswl.org]
 0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [209.85.160.179 listed in wl.mailspike.net]
 0.7 SPF_NEUTRAL            SPF: sender does not match SPF record (neutral)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches
 everything in local email
 1.0 PDS_TONAME_EQ_TOLOCAL_VSHORT Very short body and From looks like
 2 different emails
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -0.0 NICE_REPLY_A           Looks like a legit reply (A)
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.6 (++)
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:  I've submitted a patch at https://issues.guix.gnu.org/47180
    that I hope will resolve this issue. -Philip 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.160.179 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.160.179 listed in wl.mailspike.net]
  0.7 SPF_NEUTRAL            SPF: sender does not match SPF record (neutral)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches
                             everything in local email
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager
  1.0 PDS_TONAME_EQ_TOLOCAL_VSHORT Very short body and From looks like
                              2 different emails
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -0.0 NICE_REPLY_A           Looks like a legit reply (A)

I've submitted a patch at https://issues.guix.gnu.org/47180 that I hope 
will resolve this issue.

-Philip




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Resent-From: Mark H Weaver <mhw@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 14 Apr 2021 05:57:01 +0000
Resent-Message-ID: <handler.47064.B47064.16183798077691 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Philip McGrath <philip@HIDDEN>, Jack Hill <jackhill@HIDDEN>, 47064 <at> debbugs.gnu.org
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.16183798077691
          (code B ref 47064); Wed, 14 Apr 2021 05:57:01 +0000
Received: (at 47064) by debbugs.gnu.org; 14 Apr 2021 05:56:47 +0000
Received: from localhost ([127.0.0.1]:33180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lWYW6-0001zx-PK
	for submit <at> debbugs.gnu.org; Wed, 14 Apr 2021 01:56:47 -0400
Received: from world.peace.net ([64.112.178.59]:36928)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1lWYW4-0001zh-H8
 for 47064 <at> debbugs.gnu.org; Wed, 14 Apr 2021 01:56:45 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92)
 (envelope-from <mhw@HIDDEN>)
 id 1lWYVy-0003gz-03; Wed, 14 Apr 2021 01:56:38 -0400
From: Mark H Weaver <mhw@HIDDEN>
In-Reply-To: <53940c03-4f40-3954-0cb4-3d4ae01c39a2@HIDDEN>
References: <alpine.DEB.2.21.2103150040230.8138@HIDDEN>
 <07f46e79-4fdb-49ab-63bd-2c106db077d1@HIDDEN>
 <79c97b4c-defb-3966-dc50-a79fa8f5c053@HIDDEN>
 <53940c03-4f40-3954-0cb4-3d4ae01c39a2@HIDDEN>
Date: Wed, 14 Apr 2021 01:54:54 -0400
Message-ID: <87o8ehquk6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
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 (-)

Hi Philip,  [removed 'racket-users' from the recipient list]

Philip McGrath <philip@HIDDEN> writes:

> My guess is that Racket CS is compressing string literals in compiled 
> code. Currently, Guix patches Racket source files to include the 
> absolute paths to foreign libraries in the store as string literals. 
> There are a bunch of grafts for GTK and such: if I'm right, Guix somehow 
> mangles the compiled code while attempting to apply the grafts.

I think I know what happened here.

Recall that the grafting code performs a set of substitutions, replacing
store item names (i.e. file names in /gnu/store) with replacement store
items of the same length, with rules like:
"fx3979c88s9yxdbchyf36qryawgzpwb5-libx11-1.6.10" =>
"rwkqxykm91a75w9afhb41saj0dmf30hw-libx11-1.6.12".

The grafting code currently only checks the first 33 bytes, consisting
of the nix-base32 hash and the "-".  It *assumes* that the remainder of
the associated store item name immediately follows, and blindly writes
the replacement string over whatever is there.

In this case, I suspect that within a *.zo file, a Guix store item name
was split into pieces, with the hash and "-" together in one piece but
split somewhere between the "-" and the last byte of the store item.
This results in corruption of the bytes following that piece.

I've recently observed the splitting of store item names in *.zo files
(see <https://bugs.gnu.org/47614>), but in that case the "-" was
separated from the hash, and as a result the reference was _invisible_
to the grafter.

For the record, when I originally wrote this fast(er) grafting code
(commit 5a1add373ab427a3b336981d857252e703a9f8d1), by design it only
rewrote the hashes, and so naturally it had the following desirable
property: it never overwrote any byte without first checking it against
an expected value.  Later, starting in commit
57bdd79e485801ccf405ca7389bd099809fe5d67, the grafting code was modified
to allow rewriting the entire store item name (notably including the
version number).  Unfortunately, although the set of overwritten bytes
was extended past the "-", the set of bytes *checked* was left
unchanged, and thus the aforementioned desirable property was lost.

I think we ought to restore that property.  I'm already working on some
other changed to the grafting code (supporting UTF-16 and UTF-32 encoded
references), so I'll try to find the time to fix this problem as well.

    Regards,
      Mark




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Resent-From: Philip McGrath <philip@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 14 Apr 2021 22:04:01 +0000
Resent-Message-ID: <handler.47064.B47064.161843782817477 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 47064
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Mark H Weaver <mhw@HIDDEN>, Jack Hill <jackhill@HIDDEN>, 47064 <at> debbugs.gnu.org
Received: via spool by 47064-submit <at> debbugs.gnu.org id=B47064.161843782817477
          (code B ref 47064); Wed, 14 Apr 2021 22:04:01 +0000
Received: (at 47064) by debbugs.gnu.org; 14 Apr 2021 22:03:48 +0000
Received: from localhost ([127.0.0.1]:35992 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lWnbt-0004Xl-22
	for submit <at> debbugs.gnu.org; Wed, 14 Apr 2021 18:03:48 -0400
Received: from mail-qk1-f171.google.com ([209.85.222.171]:39523)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philip@HIDDEN>) id 1lWnbn-0004XT-LB
 for 47064 <at> debbugs.gnu.org; Wed, 14 Apr 2021 18:03:43 -0400
Received: by mail-qk1-f171.google.com with SMTP id e13so13346120qkl.6
 for <47064 <at> debbugs.gnu.org>; Wed, 14 Apr 2021 15:03:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=philipmcgrath.com; s=google;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=MZfHZpeZK+lUIA+h/f0Byj4SwrGYgwjdkqQnycUsdaE=;
 b=ksQ+0j9DOfN5Fa8/3tygzUA+VPnIzm5heWubSN5fRAsYMOk9kbpjegj86Is84WLimo
 IzU1yhyAYXTjCVjsTBzwPhkOAj7lpDIzEU4aCNyNthIVuSR8IEZiWCsBONTcn6MJx0iq
 gYAja8h6pU4kS2zCe1UtyPTQIvP+wLrwAUfbpPGFlZY41Pls1sIoXUocj9J7Tqmoo/3w
 bz5crgDTZxb9dsPppgUDkitjIBBtJrVavWTkbGtw3N4zYQLPCF5sfTg3ph1n2jvqrrsV
 vfpxegLNgAAcKrVp0C3BHMzkHa8qvT8fb7nYP4tjuK1UX6Oy39fjQCuvgz+7TyNPCclg
 g5oQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=MZfHZpeZK+lUIA+h/f0Byj4SwrGYgwjdkqQnycUsdaE=;
 b=TgNnR+VV5MoCxR2KQZXTcPD1eb9fd1ntkeIkzUtVyQNCDYwp7yvO17AE0deIoF/Pz/
 7XZBHiRkPoOUpkcdhaqiCjkfuIq7q18V8/G45AgMVXh0B8CypOdQN7yzYMc97ra0Tgcx
 f5vQU9dGtQIYKPNbfg47pngmas3/f6HFpJoRQMYKmzcpnNRocAE/jPCzHVfqQFDPW9pF
 gEF5DNGl8OPsp6wh09cpbrpn6Fw20vet6tqVKpeB+Zn8E1SBHWW+HKWvKjIz5QaePM+3
 ETbbsP1Y+EvKhWJzAE4CrhsBWXiXYJpX4X3tHbbNmJKllZvodj5qzKqPy8VcJ64BIgOg
 G+Mg==
X-Gm-Message-State: AOAM5318viUsVeGajAUqasv5YiucT6v8lP5z4ArGnU+XXLlUAnh0dGcp
 uxRvM0K6ajHpo0jHhJvlouvWeb7xC5KiZ6WOYR0=
X-Google-Smtp-Source: ABdhPJxOi5rtkcw2E/Kf+v5botT6yEtx5vhWJuiD2a20w7mrkCV3V1HOGc1oCIdtI3V+I4hDF2uCXw==
X-Received: by 2002:a37:ac14:: with SMTP id e20mr565727qkm.388.1618437812175; 
 Wed, 14 Apr 2021 15:03:32 -0700 (PDT)
Received: from Sapientia.local (c-73-125-89-242.hsd1.fl.comcast.net.
 [73.125.89.242])
 by smtp.gmail.com with ESMTPSA id l124sm614497qkf.31.2021.04.14.15.03.31
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 14 Apr 2021 15:03:31 -0700 (PDT)
References: <alpine.DEB.2.21.2103150040230.8138@HIDDEN>
 <07f46e79-4fdb-49ab-63bd-2c106db077d1@HIDDEN>
 <79c97b4c-defb-3966-dc50-a79fa8f5c053@HIDDEN>
 <53940c03-4f40-3954-0cb4-3d4ae01c39a2@HIDDEN>
 <87o8ehquk6.fsf@HIDDEN>
From: Philip McGrath <philip@HIDDEN>
Message-ID: <b669b5ff-2435-a956-5c1d-3cc28a345857@HIDDEN>
Date: Wed, 14 Apr 2021 18:03:30 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0)
 Gecko/20100101 Thunderbird/78.9.1
MIME-Version: 1.0
In-Reply-To: <87o8ehquk6.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.7 (/)
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: -0.3 (/)

Hi Mark and everyone,

On 4/14/21 1:54 AM, Mark H Weaver wrote:
> Recall that the grafting code performs a set of substitutions, replacing
> store item names (i.e. file names in /gnu/store) with replacement store
> items of the same length, with rules like:
> "fx3979c88s9yxdbchyf36qryawgzpwb5-libx11-1.6.10" =>
> "rwkqxykm91a75w9afhb41saj0dmf30hw-libx11-1.6.12".
> 
> The grafting code currently only checks the first 33 bytes, consisting
> of the nix-base32 hash and the "-".  It *assumes* that the remainder of
> the associated store item name immediately follows, and blindly writes
> the replacement string over whatever is there.
> 
> In this case, I suspect that within a *.zo file, a Guix store item name
> was split into pieces, with the hash and "-" together in one piece but
> split somewhere between the "-" and the last byte of the store item.
> This results in corruption of the bytes following that piece.
> 
> I've recently observed the splitting of store item names in *.zo files
> (see <https://bugs.gnu.org/47614>), but in that case the "-" was
> separated from the hash, and as a result the reference was _invisible_
> to the grafter.

Yes, I agree with this diagnosis.

It seems the discussion has become a bit fragmented, since Jack first 
reported one set of symptoms in <https://issues.guix.gnu.org/47064> and 
you then reported another in <https://issues.guix.gnu.org/47614> (with 
much better forensics than I'd found on my own—thanks!).

Both issues should have been fixed (at least with respect to Racket) by 
my patch in <https://issues.guix.gnu.org/47180>, which was applied on 
Monday.

-Philip





Last modified: Wed, 14 Apr 2021 22:15:01 UTC

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