From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Roel Janssen Newsgroups: gmane.lisp.guile.bugs Subject: bug#39997: High CPU load and no return value with 3.0.0 Date: Mon, 09 Mar 2020 13:13:21 +0100 Message-ID: <1dc6670b0cd28fb5a899fdf7afe0624007747c81.camel@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="61052"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) To: 39997@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Mon Mar 09 13:16:00 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 1jBHKB-000Fkf-1g for guile-bugs@m.gmane-mx.org; Mon, 09 Mar 2020 13:15:59 +0100 Original-Received: from localhost ([::1]:42010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBHK9-0002Sb-PU for guile-bugs@m.gmane-mx.org; Mon, 09 Mar 2020 08:15:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55959) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBHIJ-0007bT-Oi for bug-guile@gnu.org; Mon, 09 Mar 2020 08:14:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBHII-0001dw-Tb for bug-guile@gnu.org; Mon, 09 Mar 2020 08:14:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBHII-0001dc-Qa for bug-guile@gnu.org; Mon, 09 Mar 2020 08:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBHII-0001YR-HU for bug-guile@gnu.org; Mon, 09 Mar 2020 08:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Roel Janssen Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 09 Mar 2020 12:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39997 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15837560075909 (code B ref -1); Mon, 09 Mar 2020 12:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Mar 2020 12:13:27 +0000 Original-Received: from localhost ([127.0.0.1]:49915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBHHj-0001XF-Li for submit@debbugs.gnu.org; Mon, 09 Mar 2020 08:13:27 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBHHh-0001X6-Pz for submit@debbugs.gnu.org; Mon, 09 Mar 2020 08:13:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55843) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBHHg-0006bv-Qr for bug-guile@gnu.org; Mon, 09 Mar 2020 08:13:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jBHHg-0001CA-MY for bug-guile@gnu.org; Mon, 09 Mar 2020 08:13:24 -0400 Original-Received: from ip-80-113-14-101.ip.prioritytelecom.net ([80.113.14.101]:3101 helo=redstone) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jBHHg-0005Ya-6w for bug-guile@gnu.org; Mon, 09 Mar 2020 08:13:24 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:9632 Archived-At: Dear Guile hackers, When I use the "md5" module from guile-lib (release 0.2.6.1) together with the following snippet in Guile 3.0.0, it never returns, while on Guile 2.2.6, it returns the MD5 sum of the input string: --- (use-modules (md5)) (define (md5-from-string input) (call-with-input-string input md5)) (define (random-ascii length) "Returns a random string of ASCII characters of length LENGTH." (list->string (map (lambda _ (integer->char (+ (random 95) 32))) (iota length)))) (display (md5-from-string (random-ascii 32))) --- Could you point me in the right direction for finding the problem? This could be completely off-topic: I also noticed that the function "read-string!/partial" (used by the md5 module) no longer appears in the manual since the Guile 2.2. Is the usage of this function considered deprecated? Kind regards, Roel Janssen