From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Newsgroups: gmane.lisp.guile.bugs Subject: bug#44965: guile 3.0.4 segfault Date: Mon, 30 Nov 2020 18:29:07 +0100 Message-ID: <87wny2ycrg.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40578"; mail-complaints-to="usenet@ciao.gmane.io" To: 44965@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Mon Nov 30 18:30:13 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 1kjn03-000AIb-ED for guile-bugs@m.gmane-mx.org; Mon, 30 Nov 2020 18:30:07 +0100 Original-Received: from localhost ([::1]:48812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjn02-0003TA-Bl for guile-bugs@m.gmane-mx.org; Mon, 30 Nov 2020 12:30:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjmzy-0003Sy-E1 for bug-guile@gnu.org; Mon, 30 Nov 2020 12:30:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjmzy-0002eW-5c for bug-guile@gnu.org; Mon, 30 Nov 2020 12:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjmzy-0005m4-0R for bug-guile@gnu.org; Mon, 30 Nov 2020 12:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 30 Nov 2020 17:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44965 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160675735522119 (code B ref -1); Mon, 30 Nov 2020 17:30:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Nov 2020 17:29:15 +0000 Original-Received: from localhost ([127.0.0.1]:56556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjmzD-0005kh-4D for submit@debbugs.gnu.org; Mon, 30 Nov 2020 12:29:15 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:47328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjmzC-0005ka-78 for submit@debbugs.gnu.org; Mon, 30 Nov 2020 12:29:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjmzC-00033G-0o for bug-guile@gnu.org; Mon, 30 Nov 2020 12:29:14 -0500 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:54427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjmz9-0002b5-EW for bug-guile@gnu.org; Mon, 30 Nov 2020 12:29:13 -0500 Original-Received: by mail-wm1-x329.google.com with SMTP id d3so16156521wmb.4 for ; Mon, 30 Nov 2020 09:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=v2zcP9CT5ccSSOOGcSRR/i70gzt2HrgdbD7LNeQ6q6o=; b=BnlLmGedazGxqCr6V8t0Tb2gMZpxrsvoTo19dEkoi2Ll28gr/0CmetHqhGITYZhOtn tCYdyNzpk0NU3P+2HX0ezprvfqdjafX5g45F5d7h1rA+tlmOTSBWr+6+1f4cHsohRym0 y2H0nWWUFYB4r0ok2Wh0VBP2lQuWghsS3BvgPFZE8KfjkKjmiFsYZ7w3eOOBQSCAOVtW l9HetshVJHMX5GbKB6FceKR8pY/FkYE9liYmSBDzLYtOar/39WOsFn63duXL2FwbVOEi LF0tg5/nOlp8LFqPRrpbXYAgy/QwzHixRzVo/rqEqAvpIuINXP2gP/43LX3o7dhpSzAF vtaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=v2zcP9CT5ccSSOOGcSRR/i70gzt2HrgdbD7LNeQ6q6o=; b=MvXutmzUdZtDMlSz3A32eBRMpa1rcLbXd8ibOegCs4Gc6HOw3UrmOxdoiigNFmmGC9 48S0p61IeG/sqLlCysLo1sxLyTG6LyMKgkzuWT3v3ula2OaazGP+AXrINtBJskMO7rwA k7TDkNxiKlVQSiOephzZCVUxIR8tYUYv7409Oeh8TXYA4Jv3LYsFnvyiBUN95Djo/4CE Pxdfd+NEI6sbgUdeZ/RQkUTVrqXc54WeVlDJ/dxxokRvTMN/N/KGx8j+/bwQwEgKwDeY N2T7qTViU/yj8qG8hKmqqew+Uk37PtOy1Kjj0/BKW4AAGdPT+xG31o781AOy4uEFTQVT 9l0Q== X-Gm-Message-State: AOAM531iW88z9n4DQgFjQOehdGYCy1rK5yoO+cuX/ccAs4G2t6ibGZgP bu2DaGM0K0PR3+cgpIh3JowyQKyEArQ= X-Google-Smtp-Source: ABdhPJzKZGbHFbLP2u2FHTudUShm0JJRRySQbvPz/R+u+YdeBJRtzOmafWcCv88xo6Z2r6Lf5IqWcQ== X-Received: by 2002:a7b:c3d5:: with SMTP id t21mr24318645wmj.37.1606757349269; Mon, 30 Nov 2020 09:29:09 -0800 (PST) Original-Received: from guixSD (host-79-54-131-134.retail.telecomitalia.it. [79.54.131.134]) by smtp.gmail.com with ESMTPSA id y18sm29193463wrr.67.2020.11.30.09.29.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 09:29:08 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=anothersms@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:9923 Archived-At: Hi! Guile 3.0.4 is segfaulting when using https://github.com/aconchillo/guile-json (release 4.4.0, 89e2ce975064baf4f434de4d97e54aac704769a0) The bug has been fixed in guile-json, but according to the manual "When Guile crashes, it is a bug", so I'm reporting this here, too. The code that made guile crash is the following: #+begin_src scheme (use-modules (json)) (json-string->scm "[123e-10000000]") #+end_src It's either crashing at 0x00007ffff7bfea60 in __gmpn_copyi_core2 () from /gnu/store/35afkywncrr5xsb4cxcljf6rpjcb7f61-gmp-6.2.0/lib/libgmp.so.10 or 0x00007ffff7bfefbe in __gmpn_lshift_core2 () from /gnu/store/35afkywncrr5xsb4cxcljf6rpjcb7f61-gmp-6.2.0/lib/libgmp.so.10 I'm running guile on guix (#6135e55f5ce39c7947288d54de8727eb5aa0e43c). Thanks!