bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35809: Bug in Parted


From: Massimiliano Pagani -Tecniplast S . p . A .
Subject: bug#35809: Bug in Parted
Date: Mon, 20 May 2019 12:14:01 +0000

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.

-----------------------------

 address@hidden  ~  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

----------------------------------

 address@hidden  ~/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
address@hidden
cid:image002.jpg@01D26FEB.71844FE0

TECNIPLAST S.p.A.

  Via I Maggio, 6
  21020 Buguggiate (VA) - ITALY

  www.tecniplast.it

Join us on Linked-In

LEGAL NOTICE
This electronic message contains information from address@hidden, 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
address@hidden 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]