On 11/10/20 11:15 PM, John Paul Adrian Glaubitz wrote: > On 11/10/20 10:21 PM, John Paul Adrian Glaubitz wrote: >> On 11/9/20 10:02 PM, John Paul Adrian Glaubitz wrote: >>> Okay, that has been fixed and mounting the CD works again [1]. >>> >>> But for some reason partman (the partitioning tool) is hanging now. >> >> So far I know that the "DUMP" command for partman is hanging, i.e. >> try executing "partman-dump" in /var/lib/partman/devices/=dev=sda >> and it will hang which it shouldn't. > > Turns out that parted_server is crashing with a: > > free(): invalid next size (fast) > > in command_open() [1]. I don't know yet why that happens but that explains > why the partitioning just hangs forever.
Valgrind didn't find any memory leaks, so I'm currently out of ideas: (sid_powerpc-dchroot)glaubitz@perotto:~/partman-base/partman-base-213$ valgrind --leak-check=yes ./parted_server ==280386== Memcheck, a memory error detector ==280386== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==280386== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==280386== Command: ./parted_server ==280386== Cannot append to the log file ==280387== ==280387== HEAP SUMMARY: ==280387== in use at exit: 0 bytes in 0 blocks ==280387== total heap usage: 8 allocs, 8 frees, 1,835 bytes allocated ==280387== ==280387== All heap blocks were freed -- no leaks are possible ==280387== ==280387== For lists of detected and suppressed errors, rerun with: -s ==280387== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==280386== ==280386== HEAP SUMMARY: ==280386== in use at exit: 0 bytes in 0 blocks ==280386== total heap usage: 7 allocs, 7 frees, 1,523 bytes allocated ==280386== ==280386== All heap blocks were freed -- no leaks are possible ==280386== ==280386== For lists of detected and suppressed errors, rerun with: -s ==280386== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) (sid_powerpc-dchroot)glaubitz@perotto:~/partman-base/partman-base-213$ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913