On Fri, Jan 30, 2026 at 03:23:09PM +0100, Karl Zschiebsch wrote: > Parted crashed after I selected a USB stick, mounted it in another program, > edited it and then removed it from my device again. When I run `print > devices` again, it crashes with the error below. I am using NixOS.
Do you mean that you left parted running in the terminal and then manipulated the device without exiting? If so, then my advice is to not do that you can end up making changes that parted doesn't know about. If that's not what you mean, could you install the debug packages for your distro so that the traceback contains more details? And include the output of 'parted -s /dev/XXX u s p free' to show your disk's layout. Thanks, Brian > > Kind regards, > Karl > > Command History: > help > print devices > select /dev/sda > print > rm 2 > c > print devices > c > print devices > > Error: SEGV_MAPERR (Address not mapped to object) > Backtrace has 9 calls on stack: > 9: > /nix/store/k17i82wk9m4ln2qxxcdv98z08c2cjvsh-parted-3.6/lib/libparted.so.2(ped_assert+0x57) > [0x7f97b9f5cc97] > 8: parted(+0xe012) [0x5578b1d8d012] > 7: > /nix/store/wqfs0wh0wp6vdcbbck3wzk5v15qy17m7-glibc-2.40-66/lib/libc.so.6(+0x419c0) > [0x7f97b9c419c0] > 6: parted(+0x98a5) [0x5578b1d888a5] > 5: parted(interactive_mode+0x132) [0x5578b1d8f592] > 4: parted(main+0x12f5) [0x5578b1d86e05] > 3: > /nix/store/wqfs0wh0wp6vdcbbck3wzk5v15qy17m7-glibc-2.40-66/lib/libc.so.6(+0x2a4d8) > [0x7f97b9c2a4d8] > 2: > /nix/store/wqfs0wh0wp6vdcbbck3wzk5v15qy17m7-glibc-2.40-66/lib/libc.so.6(__libc_start_main+0x8b) > [0x7f97b9c2a59b] > 1: parted(_start+0x25) [0x5578b1d86e85] > > Assertion (0) at ui.c:358 in function sa_sigsegv_handler() failed. > > > > -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart
