From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35858: Null pointer error when partitioning with the graphical installer Date: Tue, 28 May 2019 16:59:50 +0200 Message-ID: <87ftoyy68p.fsf@gnu.org> References: <87sgt61fu6.fsf@planete-kraus.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdbP-0006uM-1A for bug-guix@gnu.org; Tue, 28 May 2019 11:01:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVdbI-0001Ob-IJ for bug-guix@gnu.org; Tue, 28 May 2019 11:01:22 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVdb4-0001HZ-BZ for bug-guix@gnu.org; Tue, 28 May 2019 11:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVdb4-0002N6-8N for bug-guix@gnu.org; Tue, 28 May 2019 11:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87sgt61fu6.fsf@planete-kraus.eu> (Vivien Kraus's message of "Wed, 22 May 2019 20:53:05 +0200") 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: Vivien Kraus Cc: Mathieu Othacehe , 35858@debbugs.gnu.org Hello Vivien, Vivien Kraus skribis: > I'm trying to install guix on my system. I have the 1.0.1 patch, but I > had the same problem with 1.0.0. We fixed a bug similar to what you describe in 1.0.1: https://issues.guix.gnu.org/issue/35783 Can you confirm that the backtrace you posted comes from 1.0.1 and not 1.0.0? (It seems to be from 1.0.1 accordingly to the line numbers, but better be on the safe side.) > In ice-9/boot-9.scm: > 829:9 19 (catch srfi-34 # ./gnu/installer/steps.scm:144:7 ()> # ./gnu/installer/steps.scm:144:7 (key c)> _) > 829:9 18 (catch srfi-34 # ./gnu/installer/steps.scm:144:7 ()> # ./gnu/installer/steps.scm:144:7 (key c)> _) > 829:9 17 (catch srfi-34 # ./gnu/installer/steps.scm:144:7 ()> # ./gnu/installer/steps.scm:144:7 (key c)> _) > 829:9 16 (catch srfi-34 # ./gnu/installer/steps.scm:144:7 ()> # ./gnu/installer/steps.scm:144:7 (key c)> _) > In ./gnu/installer/steps.scm: > 182:21 15 (_) > In ./gnu/installer/newt/partition.scm: > 755:33 14 (run-partitioning-page) > In ./gnu/installer/parted.scm: > 1010:14 13 (auto-partition! #< bytestructure: > #> #:scheme _) > 870:21 12 (loop _ _ _) > 863:17 11 (loop _ 1962582833 967694336) > 771:25 10 (mkpart #< bytestructure: # 0xbddb10>> _ #:previous-partition _) > In parted/structs.scm: > 552:19 9 (pointer->partition _) > 132:3 8 (pointer->bytestructure # > #) > In unknown file: > 7 (pointer->bytevector # 88 # > #) > In ice-9/boot-9.scm: > 751:25 6 (dispatch-exception 5 null-pointer-error > ("pointer->bytevector" "null pointer dereference" () ())) > In ice-9/eval.scm: > 619:8 5 (_ #(#(# > #< name: newt init: # exit: > # exit-error: # key args)> final-p...>) ...)) > 619:8 4 (_ #(#(#(# > #< name: newt init: # exit: > # exit-error: # key args)> fi...>) ...) #)) > In ice-9/ports.scm: > 462:17 3 (call-with-output-file _ _ #:binary _ #:encoding _) > In ice-9/eval.scm: > 619:8 2 (_ #(#(# > null-pointer-error ("pointer->bytevector" "null pointer > dereference" () ())) #)) > 159:9 1 (_ #(#(# > null-pointer-error ("pointer->bytevector" "null pointer > dereference" () ())) #)) > In unknown file: > 0 (make-stack #t) > ice-9/eval.scm:159:9: In procedure pointer->bytevector: null > pointer dereference Is it 100% reproducible for you? Could you post the output of =E2=80=9Cfdisk -l /dev/sda=E2=80=9D (hit Ctrl-= Alt-F3 and run that command)? Does the problem occur when you choose the =E2=80=9Cmanual partitioning=E2= =80=9D method instead of =E2=80=9Cguided partitioning=E2=80=9D? Thanks, Ludo=E2=80=99.