GNU bug report logs -
#35809
Bug in Parted
Previous Next
To reply to this bug, email your comments to 35809 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-parted <at> gnu.org
:
bug#35809
; Package
parted
.
(Mon, 20 May 2019 14:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Massimiliano Pagani -Tecniplast S.p.A. <massimiliano.pagani <at> tecniplast.it>
:
New bug report received and forwarded. Copy sent to
bug-parted <at> gnu.org
.
(Mon, 20 May 2019 14:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello, I was trying to use Parted to resize a partition on an USB thumb drive. More precisely the partition exceeded the size of the disk. Below you can find the complete output of the session and yet below the output of the command "parted DEVICE unit co print unit s print" as requested.
-----------------------------
apagani <at> tcn-del-5svf132 ~ sudo parted /dev/sdc ✔ 10511 14:03:43
GNU Parted 3.2
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) help
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) resize 1
Error: The resize command has been removed in parted 3.0
(parted) resizepart 1
Error: Can't have a partition outside the disk!
Ignore/Cancel?
Ignore/Cancel? Cancel
(parted) resizepart 1 977920
Error: Can't have a partition outside the disk!
Ignore/Cancel? Ignore
Partition number? 1
End? [4027MB]?
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
resize 1
resizepart 1
Cancel
resizepart 1 977920
Ignore
1
Error: SEGV_MAPERR (Address not mapped to object)
Backtrace has 9 calls on stack:
9: /lib64/libparted.so.2(ped_assert+0x49) [0x7f295ce50a29]
8: parted(+0xbf9f) [0x557e258d8f9f]
7: /lib64/libc.so.6(+0x38600) [0x7f295cc37600]
6: /lib64/libc.so.6(cfree+0x53) [0x7f295cc86153]
5: parted(+0xa00e) [0x557e258d700e]
4: parted(interactive_mode+0x12c) [0x557e258db31c]
3: parted(main+0x13ab) [0x557e258d3deb]
2: /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f295cc23413]
1: parted(_start+0x2a) [0x557e258d3e7a]
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 ui.c:356 in function sa_sigsegv_handler() failed.
[1] 13635 abort sudo parted /dev/sdc
----------------------------------
apagani <at> tcn-del-5svf132 ~/work/master.install sudo parted /dev/sdc unit co print unit s print
[sudo] password for apagani:
Error: Can't have a partition outside the disk!
Ignore/Cancel? Ignore
Model: USB 2.0 Flash Drive (scsi)
Disk /dev/sdc: 4007MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 4027MB 4025MB primary ext3 boot
--
Massimiliano Pagani
Embedded Systems Lead Programmer
tel. +39 0332 809 497
fax +39 0332 809 911
massimiliano.pagani <at> tecniplast.it<mailto:massimiliano.pagani <at> tecniplast.it>
[cid:image002.jpg <at> 01D26FEB.71844FE0]
TECNIPLAST S.p.A.
Via I Maggio, 6
21020 Buguggiate (VA) - ITALY
www.tecniplast.it<http://www.tecniplast.it/>
[cid:part3.07F99AFC.12F552D8 <at> tecniplast.it]
[Join us on Linked-In]
<https://www.linkedin.com/company/tecniplast/>
LEGAL NOTICE
This electronic message contains information from massimiliano.pagani <at> tecniplast.it<mailto:massimiliano.pagani <at> tecniplast.it>, which may be privileged and confidential. The information is intended to be for recipient. All views expressed in this message are those of the individual and not necessarily those of Tecniplast or any associated company. No Liability will be accepted for statements which are clearly the senders own and not made on behalf of Tecniplast. If you are not the intended addressee recipient, any disclosure, distribution or copying of the contents of this e-mail by anyone other than the intended recipient or any action taken (or not taken) in reliance on it is unauthorized and is unlawful. If you are not the recipient, please inform the sender massimiliano.pagani <at> tecniplast.it<mailto:massimiliano.pagani <at> tecniplast.it> immediately or telephone on +39 0332 809 497 and delete all copies.
P Please consider the environment before printing this mail note.
Per favore pensa all'ambiente prima di stampare questo messaggio.
[Message part 2 (text/html, inline)]
[akklfcebefpmemkc.png (image/png, inline)]
[pbhdjpdljpglaceh.png (image/png, inline)]
[ohnbjhhmdefccoel.png (image/png, inline)]
Information forwarded
to
bug-parted <at> gnu.org
:
bug#35809
; Package
parted
.
(Mon, 20 May 2019 15:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 35809 <at> debbugs.gnu.org (full text, mbox):
Could you attach a copy of this MBR?
Massimiliano Pagani -Tecniplast S.p.A. writes:
> Hello, I was trying to use Parted to resize a partition on an USB thumb drive. More precisely the partition exceeded the size of the disk. Below you can find the complete output of the session and yet below the output of the command "parted DEVICE unit co print unit s print" as requested.
Information forwarded
to
bug-parted <at> gnu.org
:
bug#35809
; Package
parted
.
(Mon, 20 May 2019 15:43:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 35809 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Phillip,
unfortunately I continued working and rewrote the thumb drive. I attached the first 4096 bytes of the disk image I think I have used (sorry, I'm not sure). Hope this could help.
On 5/20/19 5:01 PM, Phillip Susi wrote:
Could you attach a copy of this MBR?
Massimiliano Pagani -Tecniplast S.p.A. writes:
Hello, I was trying to use Parted to resize a partition on an USB thumb drive. More precisely the partition exceeded the size of the disk. Below you can find the complete output of the session and yet below the output of the command "parted DEVICE unit co print unit s print" as requested.
--
Massimiliano Pagani
Embedded Systems Lead Programmer
tel. +39 0332 809 497
fax +39 0332 809 911
massimiliano.pagani <at> tecniplast.it<mailto:massimiliano.pagani <at> tecniplast.it>
[cid:image002.jpg <at> 01D26FEB.71844FE0]
TECNIPLAST S.p.A.
Via I Maggio, 6
21020 Buguggiate (VA) - ITALY
www.tecniplast.it<http://www.tecniplast.it/>
[cid:part3.32A7D21E.3B0D5CCF <at> tecniplast.it]
[Join us on Linked-In]
<https://www.linkedin.com/company/tecniplast/>
LEGAL NOTICE
This electronic message contains information from massimiliano.pagani <at> tecniplast.it<mailto:massimiliano.pagani <at> tecniplast.it>, which may be privileged and confidential. The information is intended to be for recipient. All views expressed in this message are those of the individual and not necessarily those of Tecniplast or any associated company. No Liability will be accepted for statements which are clearly the senders own and not made on behalf of Tecniplast. If you are not the intended addressee recipient, any disclosure, distribution or copying of the contents of this e-mail by anyone other than the intended recipient or any action taken (or not taken) in reliance on it is unauthorized and is unlawful. If you are not the recipient, please inform the sender massimiliano.pagani <at> tecniplast.it<mailto:massimiliano.pagani <at> tecniplast.it> immediately or telephone on +39 0332 809 497 and delete all copies.
P Please consider the environment before printing this mail note.
Per favore pensa all'ambiente prima di stampare questo messaggio.
[Message part 2 (text/html, inline)]
[iieconclnlammkec.png (image/png, inline)]
[dhcbfjfipkamdhfl.png (image/png, inline)]
[efhlknmddkenaocc.png (image/png, inline)]
[mbr.img (application/x-raw-disk-image, attachment)]
This bug report was last modified 6 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.