GNU bug report logs -
#36402
Installer: null pointer exception during partitioning
Previous Next
Reported by: Juan <r5jm <at> protonmail.com>
Date: Thu, 27 Jun 2019 14:35:02 UTC
Severity: important
Merged with 35858
Done: Mathieu Othacehe <m.othacehe <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 36402 <at> debbugs.gnu.org (full text, mbox):
Hey,
I pushed the missing file :).
> It might be useful to add calls to ‘gc’ 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
This bug report was last modified 5 years and 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.