X-Loop: help-debbugs@HIDDEN Subject: bug#37210: [sr #109945] Removed a USB device after wiping its partition but before exiting Resent-From: anonymous <INVALID.NOREPLY@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 28 Aug 2019 14:38:01 +0000 Resent-Message-ID: <handler.37210.B.156700302825923 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 37210 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: sevenbrokenbricks@HIDDEN, 37210 <at> debbugs.gnu.org X-Debbugs-Original-To: sevenbrokenbricks@HIDDEN, bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.156700302825923 (code B ref -1); Wed, 28 Aug 2019 14:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2019 14:37:08 +0000 Received: from localhost ([127.0.0.1]:51015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1i2z4N-0006k3-Tp for submit <at> debbugs.gnu.org; Wed, 28 Aug 2019 10:37:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:50407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <www-data@HIDDEN>) id 1i2rZA-0007J9-Av for submit <at> debbugs.gnu.org; Wed, 28 Aug 2019 02:36:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42695) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <www-data@HIDDEN>) id 1i2rZ8-0004eS-Ns for bug-parted@HIDDEN; Wed, 28 Aug 2019 02:36:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-95.6 required=5.0 tests=BAYES_40, FORGED_MUA_MOZILLA, FROM_SAVANNAH,HELO_NO_DOMAIN,RDNS_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1i2rZ7-0004Tk-E2 for bug-parted@HIDDEN; Wed, 28 Aug 2019 02:36:22 -0400 Received: from frontend0.savannah.gnu.org ([209.51.188.79]:46149) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1i2rZ5-0004T7-Qk for bug-parted@HIDDEN; Wed, 28 Aug 2019 02:36:20 -0400 Received: by frontend0.savannah.gnu.org (Postfix, from userid 33) id 99BDA2D9D; Wed, 28 Aug 2019 02:36:19 -0400 (EDT) X-PHP-Originating-Script: 1001:sendmail.php From: anonymous <INVALID.NOREPLY@HIDDEN> X-Savane-Server: savannah.gnu.org:443 [209.51.188.79] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Savane-Project: parted X-Savane-Tracker: support X-Savane-Item-ID: 109945 User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 X-Apparently-From: 47.208.138.6 Message-Id: <20190828-063618.sv0.65872@HIDDEN> References: In-Reply-To: Date: Wed, 28 Aug 2019 02:36:19 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.79 X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Wed, 28 Aug 2019 10:37:07 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) 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: sevenbrokenbricks@HIDDEN 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/
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: anonymous <INVALID.NOREPLY@HIDDEN> Subject: bug#37210: Acknowledgement ([sr #109945] Removed a USB device after wiping its partition but before exiting) Message-ID: <handler.37210.B.156700302825923.ack <at> debbugs.gnu.org> References: <20190828-063618.sv0.65872@HIDDEN> X-Gnu-PR-Message: ack 37210 X-Gnu-PR-Package: parted Reply-To: 37210 <at> debbugs.gnu.org Date: Wed, 28 Aug 2019 14:38:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 37210 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 37210: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37210 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#37210: [sr #109945] Removed a USB device after wiping its partition but before exiting Resent-From: "Brian C. Lane" <INVALID.NOREPLY@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 13 Nov 2019 00:56:02 +0000 Resent-Message-ID: <handler.37210.B.157360650412790 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 37210 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: bcl@HIDDEN, sevenbrokenbricks@HIDDEN, 37210 <at> debbugs.gnu.org X-Debbugs-Original-To: "Brian C. Lane" <bcl@HIDDEN>, sevenbrokenbricks@HIDDEN, bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.157360650412790 (code B ref -1); Wed, 13 Nov 2019 00:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Nov 2019 00:55:04 +0000 Received: from localhost ([127.0.0.1]:58657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iUgw4-0003K9-Gg for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 19:55:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:33125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <www-data@HIDDEN>) id 1iUgiE-0002xj-JT for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 19:40:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53226) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <www-data@HIDDEN>) id 1iUgiC-0007zP-Gj for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:40:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-94.3 required=5.0 tests=BAYES_00, FORGED_MUA_MOZILLA, FROM_SAVANNAH,HELO_NO_DOMAIN,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iUgiB-000252-8a for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:40:44 -0500 Received: from frontend0.savannah.gnu.org ([209.51.188.79]:59710) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iUgiA-00024w-My for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:40:43 -0500 Received: by frontend0.savannah.gnu.org (Postfix, from userid 33) id 6EE611DD7; Tue, 12 Nov 2019 19:40:42 -0500 (EST) X-PHP-Originating-Script: 1001:sendmail.php From: "Brian C. Lane" <INVALID.NOREPLY@HIDDEN> X-Savane-Server: savannah.gnu.org:443 [209.51.188.79] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Savane-Project: parted X-Savane-Tracker: support X-Savane-Item-ID: 109945 User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 X-Apparently-From: 73.157.81.114 (Savane authenticated user bcl) Message-Id: <20191112-164042.sv89425.98594@HIDDEN> References: <20190828-063618.sv0.65872@HIDDEN> In-Reply-To: <20190828-063618.sv0.65872@HIDDEN> Date: Tue, 12 Nov 2019 19:40:42 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.79 X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Tue, 12 Nov 2019 19:55:02 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Update of sr #109945 (project parted): Status: None => Invalid Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: I would suggest not doing that. I don't think it's a situation we should be expected to handle cleanly. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?109945> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.