[CentOS] Parted Bug? in C 5.9

Fri May 10 04:11:32 UTC 2013
Eero Volotinen <eero.volotinen at iki.fi>

File bugreport at redhat (upstream) bugzilla?
10.5.2013 6.54 "Andrew Reis" <andy at dbmsinc.com> kirjoitti:

>
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf
> Of Andrew Reis
> Sent: Wednesday, May 8, 2013 3:33 PM
> To: centos at centos.org
> Cc: jim at dbmsinc.com
> Subject: [CentOS] Parted Bug? in C 5.9
>
> I'm receiving the following error when trying to repartition and reformat a
> USB flash drive via parted using a simple script. The bug follows:
>
>
>
> /sbin/parted -s /dev/sdb mkpart primary fat32
>
> Backtrace has 14 calls on stack:
>
>   14: /usr/lib/libparted-1.8.so.0(ped_assert+0x3b) [0x10af3b]
>
>   13: /usr/lib/libparted-1.8.so.0 [0x146194]
>
>   12: /usr/lib/libparted-1.8.so.0 [0x146f4d]
>
>   11: /usr/lib/libparted-1.8.so.0 [0x1483c7]
>
>   10: /usr/lib/libparted-1.8.so.0 [0x1103e7]
>
>   9: /usr/lib/libparted-1.8.so.0(ped_disk_add_partition+0x295) [0x112e65]
>
>   8: /usr/lib/libparted-1.8.so.0 [0x14a2c3]
>
>   7: /usr/lib/libparted-1.8.so.0 [0x14a505]
>
>   6: /usr/lib/libparted-1.8.so.0(ped_disk_new+0xa3) [0x113c23]
>
>   5: /sbin/parted [0x804e2ef]
>
>   4: /sbin/parted(non_interactive_mode+0x7c) [0x8052c9c]
>
>   3: /sbin/parted(main+0x58) [0x8050f58]
>
>   2: /lib/libc.so.6(__libc_start_main+0xdc) [0x94cebc]
>
>   1: /sbin/parted [0x804b521]
>
> 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 (1.8.1)
>
> along with the error message below, the output of
>
> parted DEVICE unit co print unit s print
>
> and additional information about your setup you consider important.
>
> Assertion (head_size <= 63) at dos.c:623 in function
> probe_partition_for_geom()
>
> failed.
>
> Backtrace has 15 calls on stack:
>
>   15: /usr/lib/libparted-1.8.so.0(ped_assert+0x3b) [0x10af3b]
>
>   14: /usr/lib/libparted-1.8.so.0 [0x146194]
>
>   13: /usr/lib/libparted-1.8.so.0 [0x146f4d]
>
>   12: /usr/lib/libparted-1.8.so.0 [0x1483c7]
>
>   11: /usr/lib/libparted-1.8.so.0 [0x1103e7]
>
>   10: /usr/lib/libparted-1.8.so.0(ped_disk_add_partition+0x295) [0x112e65]
>
>   9: /usr/lib/libparted-1.8.so.0 [0x14a2c3]
>
>   8: /usr/lib/libparted-1.8.so.0 [0x14a505]
>
>   7: /usr/lib/libparted-1.8.so.0 [0x14a7a5]
>
>   6: /usr/lib/libparted-1.8.so.0(ped_disk_new+0xa3) [0x113c23]
>
>   5: /sbin/parted [0x804e2ef]
>
>   4: /sbin/parted(non_interactive_mode+0x7c) [0x8052c9c]
>
>   3: /sbin/parted(main+0x58) [0x8050f58]
>
>   2: /lib/libc.so.6(__libc_start_main+0xdc) [0x94cebc]
>
>   1: /sbin/parted [0x804b521]
>
> 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 (1.8.1)
>
> along with the error message below, the output of
>
> parted DEVICE unit co print unit s print
>
> and additional information about your setup you consider important.
>
> Assertion (head_size <= 63) at dos.c:623 in function
> probe_partition_for_geom()
>
> failed.
>
>
>
> Output of parted /dev/sdb unit co print unit s print:
>
>
>
> parted /dev/sdb unit co print unit s print
>
> Backtrace has 14 calls on stack:
>
>   14: /usr/lib/libparted-1.8.so.0(ped_assert+0x3b) [0x10af3b]
>
>   13: /usr/lib/libparted-1.8.so.0 [0x146194]
>
>   12: /usr/lib/libparted-1.8.so.0 [0x146f4d]
>
>   11: /usr/lib/libparted-1.8.so.0 [0x1483c7]
>
>   10: /usr/lib/libparted-1.8.so.0 [0x1103e7]
>
>   9: /usr/lib/libparted-1.8.so.0(ped_disk_add_partition+0x295) [0x112e65]
>
>   8: /usr/lib/libparted-1.8.so.0 [0x14a2c3]
>
>   7: /usr/lib/libparted-1.8.so.0 [0x14a505]
>
>   6: /usr/lib/libparted-1.8.so.0(ped_disk_new+0xa3) [0x113c23]
>
>   5: parted [0x804d21b]
>
>   4: parted(non_interactive_mode+0x7c) [0x8052c9c]
>
>   3: parted(main+0x58) [0x8050f58]
>
>   2: /lib/libc.so.6(__libc_start_main+0xdc) [0x94cebc]
>
>   1: parted [0x804b521]
>
> 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 (1.8.1)
>
> along with the error message below, the output of
>
> parted DEVICE unit co print unit s print
>
> and additional information about your setup you consider important.
>
> Assertion (head_size <= 63) at dos.c:623 in function
> probe_partition_for_geom()
>
> failed.
>
> parted: invalid token: unit
>
> Ignore/Cancel?
>
>
>
> Model: Kingston DT 100 G2 (scsi)
>
> Disk /dev/sdb: 3927MB
>
> Sector size (logical/physical): 512B/512B
>
> Partition Table: msdos
>
>
>
> Number  Start   End     Size    Type     File system  Flags
>
> 1      4129kB  3927MB  3923MB  primary  fat32        boot, lba
>
>
>
>
>
>
>
> Anyone have any ideas?
>
>
>
>
>
> _________________________________________________________________
>
> Does anyone have any suggestions about this?
>
> Andrew Reis
> Networking/Windows Support
> DBMS Inc.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>