A user reported a problem when using parted to add a label to a partition having a non standard sector size. [root@archive1 ~]# parted /dev/sdc Warning: Device /dev/sdc has a logical sector size of 1024. Not all parts of GNU Parted support this at the moment, and the working code is HIGHLY EXPERIMENTAL. GNU Parted 1.8.1 Using /dev/sdc Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel *** glibc detected *** <unknown>: double free or corruption (out): 0x000000000394a800 *** ======= Backtrace: ========= /lib64/libc.so.6[0x339c071ce2] /lib64/libc.so.6(cfree+0x8c)[0x339c07590c] /usr/lib64/libparted-1.8.so.0[0x339b81a725] /usr/lib64/libparted-1.8.so.0[0x339b848be4] The dmesg identifies that the device has 1024 byte sector size. Vendor: DDN Model: S2A 9550 Rev: 4.01 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sdc: 3907041280 1024-byte hdwr sectors (4000810 MB) sdc: Write Protect is off sdc: Mode Sense: a7 00 10 08 SCSI device sdc: drive cache: write back w/ FUA SCSI device sdc: 3907041280 1024-byte hdwr sectors (4000810 MB) sdc: Write Protect is off sdc: Mode Sense: a7 00 10 08 SCSI device sdc: drive cache: write back w/ FUA sdc: sdc1 sd 3:0:2:1: Attached scsi disk sdc sd 3:0:2:1: Attached scsi generic sg4 type 0 When the user was requested to use standard 512 byte sector sizes, the problem was no longer seen. parted should either support non standard sector sizes or give an explicit warning message when used with a device having non standard sector sizes.
*** This bug has been marked as a duplicate of bug 361951 ***