Same issue with a Kingston 4GB DataTraveler.

Backtrace has 16 calls on stack:
  16: /lib/libparted.so.0(ped_assert+0x2a) [0x16af0a]
  15: /lib/libparted.so.0(+0x42507) [0x1a2507]
  14: /lib/libparted.so.0(+0x43317) [0x1a3317]
  13: /lib/libparted.so.0(+0x4460c) [0x1a460c]
  12: /lib/libparted.so.0(+0xf7b1) [0x16f7b1]
  11: /lib/libparted.so.0(ped_disk_add_partition+0x262) [0x173032]
  10: /lib/libparted.so.0(+0x45fa3) [0x1a5fa3]
  9: /lib/libparted.so.0(+0x4619f) [0x1a619f]
  8: /lib/libparted.so.0(ped_disk_new+0x75) [0x173e15]
  7: parted() [0x804e389]
  6: parted() [0x804f553]
  5: parted() [0x80517da]
  4: parted() [0x8052e51]
  3: parted(main+0x2e) [0x8052f5e]
  2: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x31fbd6]
  1: parted() [0x804c3f1]

Assertion (head_size <= 63) at ../../../libparted/labels/dos.c:659 in function
probe_partition_for_geom() failed.

This has something to do with manufacturers partitioning - here is what
fdisk shows:

r...@quabuntu:~# fdisk /dev/sdb

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): p

Disk /dev/sdb: 3980 MB, 3980394496 bytes
9 heads, 9 sectors/track, 95977 cylinders
Units = cylinders of 81 * 512 = 41472 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *         100       95978     3883072    c  W95 FAT32 (LBA)


If I delete the partition, and recreate a new primary partition, then parted 
works fine.

-- 
gparted crashes at startup - Assertion failed
https://bugs.launchpad.net/bugs/558431
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to