From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: bug#36402: installation error Date: Mon, 02 Sep 2019 11:50:42 +0200 Message-ID: <87imqbgh71.fsf@gmail.com> References: <87lfxmu47j.fsf@gnu.org> <878sr989br.fsf@gmail.com> <87a7bnaj0b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51748) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4izH-0001yU-91 for bug-guix@gnu.org; Mon, 02 Sep 2019 05:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4izG-0003qg-Bg for bug-guix@gnu.org; Mon, 02 Sep 2019 05:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i4izG-0003qZ-8Y for bug-guix@gnu.org; Mon, 02 Sep 2019 05:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i4izG-0003vb-4f for bug-guix@gnu.org; Mon, 02 Sep 2019 05:51:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87a7bnaj0b.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36402@debbugs.gnu.org, Juan Hey, I pushed the missing file :). > It might be useful to add calls to =E2=80=98gc=E2=80=99 here and there in= the tests to > stress-test memory management. Inserting gc calls here: --8<---------------cut here---------------start------------->8--- (test-assert "partition-remove extended" (with-tmp-device "device-extended.iso" (lambda (new-device) (let* ((device (get-device new-device)) (disk (disk-new device)) (partitions (disk-partitions disk)) (extended-partition (find extended-partition? partitions))) (gc) ; <-- Try to destroy disk? (disk-remove-partition* disk extended-partition) (gc) (equal? (extended-partition-count disk) 0))))) --8<---------------cut here---------------end--------------->8--- causes a segfault. Is it legal to call GC here? Do you have any clue on how to investigate what the GC is doing? Thanks, Mathieu