bug#21914: bugreport parted

Emil Pedersen <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <713DC8AA76B2C0FA3DDFE5D3@8A2E060FA4F0E7C327EFF6EF>
Hi!

Seems I might have stumbled upon a bug.  Apart from the information below, 
the system is running a fully updated Debian (8.2) and some disks have 
previously been used with a Solaris installation.

// Emil

--- latest output from parted before abortion ---

(parted) help mklabel
  mklabel,mktable LABEL-TYPE               create a new disklabel 
(partition table)

        LABEL-TYPE is one of: aix, amiga, bsd, dvh, gpt, mac, msdos, pc98, 
sun, loop
(parted)
(parted) mklabel ?
parted: invalid token: ?
New disk label type? msdos


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:
?
print
i
print devices
print free
print list
i
print
print ?
help
i
print   list
i
i
i
print   free
print   all
i
i
i
help
unit
help ?
help mklabel
mklabel ?
msdos

Error: SEGV_MAPERR (Address not mapped to object)
Backtrace has 11 calls on stack:
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fd1f505f644]
  10: parted() [0x40a934]
  9: /lib/x86_64-linux-gnu/libc.so.6(+0x35180) [0x7fd1f486a180]
  8: /lib/x86_64-linux-gnu/libc.so.6(strlen+0x2a) [0x7fd1f48b6c8a]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x16ad6) [0x7fd1f5068ad6]
  6: /lib/x86_64-linux-gnu/libparted.so.2(+0x174ba) [0x7fd1f50694ba]
  5: parted() [0x4085e6]
  4: parted(interactive_mode+0xff) [0x40ca2f]
  3: parted(main+0x119f) [0x405f6f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) 
[0x7fd1f4856b45]
  1: parted() [0x405fc7]


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






root@playgate:~# parted /dev/sdb unit co print unit s print
Warning: Not all of the space available to /dev/sdb appears to be used, you 
can fix the GPT to use all of the space (an extra 1
blocks) or continue with the current setting?
parted: invalid token: unit
Fix/Ignore? i
Model: ATA WDC WD10EADS-00M (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      131kB   1000GB  1000GB  zfs          zfs
 9      1000GB  1000GB  8389kB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.