|
From: | V字龍 |
Subject: | bug#23059: parted Debian 8 |
Date: | Sun, 10 Jul 2016 08:04:00 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
(This is a re-send attempt as I seems to be failed to send to the
mailing list itself) Hi, I have the similar symptom myself so I'd like to share some of my details. I recently bought an Intel SSDSC2BW240H6 240GB SSD and (probably) formatted to a msdos partition table using GNOME Disks(which seems to be Parted-based) then partitioned to "install" Ubuntu 16.04(and by "install" I mean I formatted an EXT4 filesystem and rsync'd the entire rootfs of my previously using Ubuntu 16.04 to the new filesystem then re-install the bootloader) via an USB 3.0 USB-to-SATA interface on a laptop. The "install"ation went normally. Then after few days later, recently, I plugged the new SSD on my desktop and working on a project which internally calls `parted` command for some information I encountered this "bug". `````````````` Backtrace has 14 calls on stack: 14: /lib/x86_64-linux-gnu/libparte 13: /lib/x86_64-linux-gnu/libparte 12: /lib/x86_64-linux-gnu/libparte 11: /lib/x86_64-linux-gnu/libparte 10: /lib/x86_64-linux-gnu/libparte 9: /lib/x86_64-linux-gnu/libparte 8: /lib/x86_64-linux-gnu/libparte 7: /lib/x86_64-linux-gnu/libparte 6: /lib/x86_64-linux-gnu/libparte 5: parted/.libs/lt-parted() [0x407163] 4: parted/.libs/lt-parted(non_int 3: parted/.libs/lt-parted(main+0x 2: /lib/x86_64-linux-gnu/libc.so. 1: parted/.libs/lt-parted(_start+ You found a bug in GNU Parted!(...) Assertion (metadata_length > 0) at ../../../libparted/labels/dos. add_logical_part_metadata() failed. ``````````````` I can still reproduce on current master branch. I'm a 100% Ubuntu/GNU/Linux user and I alway use Parted-based application to do disk partitioning so I'm pretty sure it's not some proprietary applications' issue. Here's the fdisk output: ``` Welcome to fdisk (util-linux 2.27.1).(...) Command (m for help): print Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xf2e75007 Device Boot Start End Sectors Size Id Type /dev/sda1 2048 19533297 19531250 9.3G ef EFI (FAT-12/16/32) /dev/sda2 19533824 39065073 19531250 9.3G 83 Linux /dev/sda3 39065600 468862127 429796528 205G f W95 Ext'd (LBA) /dev/sda5 39067648 468858879 429791232 205G 83 Linux /dev/sda6 468858880 468860927 2048 1M 83 Linux ``` V字龍 <address@hidden> |
[Prev in Thread] | Current Thread | [Next in Thread] |