URL: <https://savannah.gnu.org/support/?109945>
Summary: Removed a USB device after wiping its partition but before exiting Project: GNU Parted Submitted by: None Submitted on: Wed 28 Aug 2019 06:36:17 AM UTC Category: None Priority: 5 - Normal Severity: 1 - Wish Status: None Privacy: Public Assigned to: None Originator Email: sevenbrokenbri...@gmail.com Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: (parted) print devices /dev/sda (500GB) /dev/sdb (500GB) /dev/sdc (1000GB) /dev/sr0 (2097MB) /dev/sdd (73.4MB) (parted) select /dev/sdd Using /dev/sdd (parted) print Model: USB DISK Pro (scsi) Disk /dev/sdd: 73.4MB Sector size (logical/physical): 512B/512B Partition Table: loop Disk Flags: Number Start End Size File system Flags 1 0.00B 73.4MB 73.4MB fat16 (parted) rm 1 Warning: Partition /dev/sdd is being used. Are you sure you want to continue? Yes/No? y (parted) print Model: USB DISK Pro (scsi) Disk /dev/sdd: 73.4MB Sector size (logical/physical): 512B/512B Partition Table: loop Disk Flags: Number Start End Size File system Flags (parted) print devices /dev/sdc (1000GB) /dev/sdd (73.4MB) /dev/sda (500GB) /dev/sdb (500GB) /dev/sr0 (2097MB) Error: Error opening /dev/sdd: No medium found Retry/Cancel? c (parted) exit align-check TYPE N check partition N for TYPE(min|opt) alignment help [COMMAND] print general help, or help on COMMAND mklabel,mktable LABEL-TYPE create a new disklabel (partition table) mkpart PART-TYPE [FS-TYPE] START END make a partition name NUMBER NAME name partition NUMBER as NAME print [devices|free|list,all|NUMBER] display the partition table, available devices, free space, all found partitions, or a particular partition quit exit program rescue START END rescue a lost partition near START and END resizepart NUMBER END resize partition NUMBER rm NUMBER delete partition NUMBER select DEVICE choose the device to edit disk_set FLAG STATE change the FLAG on selected device disk_toggle [FLAG] toggle the state of FLAG on selected device set NUMBER FLAG STATE change the FLAG on partition NUMBER toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER unit UNIT set the default unit to UNIT version display the version number and copyright information of GNU Parted (parted) quit You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: Check whether the bug has already been fixed by checking the last version of GNU Parted that you can find at: http://ftp.gnu.org/gnu/parted/ Please check this version prior to bug reporting. If this has not been fixed yet or if you don't know how to check, please visit the GNU Parted website: http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (3.2) along with the error message below, the output of parted DEVICE unit co print unit s print and the following history of commands you entered. Also include any additional information about your setup you consider important. Command History: help print devices print all print devices help print print all select /dev/sdb print rm 1 select /dev/sdc print rm 1 print devices select /dev/sdd print rm 1 y print print devices c exit quit Error: SEGV_MAPERR (Address not mapped to object) Backtrace has 9 calls on stack: 9: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f01bc422c45] 8: parted(+0xbc7b) [0x55b4946c9c7b] 7: /lib/x86_64-linux-gnu/libc.so.6(+0x43f60) [0x7f01bc1f2f60] 6: parted(+0x8ad1) [0x55b4946c6ad1] 5: parted(+0x8bbf) [0x55b4946c6bbf] 4: parted(interactive_mode+0x12c) [0x55b4946cbecc] 3: parted(main+0x13ab) [0x55b4946c4deb] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f01bc1d5b6b] 1: parted(_start+0x2a) [0x55b4946c4e7a] You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: Check whether the bug has already been fixed by checking the last version of GNU Parted that you can find at: http://ftp.gnu.org/gnu/parted/ Please check this version prior to bug reporting. If this has not been fixed yet or if you don't know how to check, please visit the GNU Parted website: http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (3.2) along with the error message below, the output of parted DEVICE unit co print unit s print and the following history of commands you entered. Also include any additional information about your setup you consider important. Assertion (0) at ../../parted/ui.c:356 in function sa_sigsegv_handler() failed. Aborted _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?109945> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/