[Bug 615613] Re: parted, fdisk, and gparted crash on printing the table

RProgrammer rprogrammer at gmail.com
Fri Dec 14 04:31:35 UTC 2012


That was two years ago..
I'm not sure if I even have the offending device any more :P


On Thu, Dec 13, 2012 at 10:08 PM, Phillip Susi <psusi at ubuntu.com> wrote:

> Can you reproduce this running parted on the command line and post the
> output?
>
>
> ** Changed in: parted (Ubuntu)
>        Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/615613
>
> Title:
>   parted, fdisk, and gparted crash on printing the table
>
> Status in “parted” package in Ubuntu:
>   Incomplete
>
> Bug description:
>   Binary package hint: parted
>
>   This is what I get when using parted (only upon printing), fdisk, and
> gparted (upon startup).
>   Note that it all used to work, but during one particular operation
> (shrink the one ext3, relocate right, and add-fat32 at beginning) it
> crashed and now even the command line parted crashes.
>
>
>   ======================
>   libparted : 2.2
>   ======================
>   Backtrace has 15 calls on stack:
>     15: /lib/libparted.so.0(ped_assert+0x31) [0x7f8200118771]
>     14: /lib/libparted.so.0(+0x3a0e6) [0x7f82001430e6]
>     13: /lib/libparted.so.0(+0x3a853) [0x7f8200143853]
>     12: /lib/libparted.so.0(+0x3b50d) [0x7f820014450d]
>     11: /lib/libparted.so.0(ped_disk_add_partition+0x1cb) [0x7f820011ee7b]
>     10: /lib/libparted.so.0(+0x3c916) [0x7f8200145916]
>     9: /lib/libparted.so.0(+0x3cac5) [0x7f8200145ac5]
>     8: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f820011f955]
>     7: /usr/sbin/gpartedbin() [0x44ab94]
>     6: /usr/sbin/gpartedbin() [0x45646c]
>     5: /usr/sbin/gpartedbin() [0x476c57]
>     4: /usr/lib/libglibmm-2.4.so.1(+0x36862) [0x7f81feb9b862]
>     3: /lib/libglib-2.0.so.0(+0x67b84) [0x7f81fdfeeb84]
>     2: /lib/libpthread.so.0(+0x69ca) [0x7f81fd8459ca]
>     1: /lib/libc.so.6(clone+0x6d) [0x7f81fd5a26fd]
>   Assertion (head_size <= 63) at ../../../libparted/labels/dos.c:659 in
> function probe_partition_for_geom() failed.
>
>
>
>
>   This is the offending device (an 8GB flash drive) in lsusb -vvv:
>
>
>   Bus 002 Device 009: ID 13fe:3123 Kingston Technology Company Inc.
>   Device Descriptor:
>     bLength                18
>     bDescriptorType         1
>     bcdUSB               2.00
>     bDeviceClass            0 (Defined at Interface level)
>     bDeviceSubClass         0
>     bDeviceProtocol         0
>     bMaxPacketSize0        64
>     idVendor           0x13fe Kingston Technology Company Inc.
>     idProduct          0x3123
>     bcdDevice            1.10
>     iManufacturer           1 Verbatim
>     iProduct                2 STORE N GO
>     iSerial                 3 0792148513A4
>     bNumConfigurations      1
>     Configuration Descriptor:
>       bLength                 9
>       bDescriptorType         2
>       wTotalLength           32
>       bNumInterfaces          1
>       bConfigurationValue     1
>       iConfiguration          0
>       bmAttributes         0x80
>         (Bus Powered)
>       MaxPower              300mA
>       Interface Descriptor:
>         bLength                 9
>         bDescriptorType         4
>         bInterfaceNumber        0
>         bAlternateSetting       0
>         bNumEndpoints           2
>         bInterfaceClass         8 Mass Storage
>         bInterfaceSubClass      6 SCSI
>         bInterfaceProtocol     80 Bulk (Zip)
>         iInterface              0
>         Endpoint Descriptor:
>           bLength                 7
>           bDescriptorType         5
>           bEndpointAddress     0x81  EP 1 IN
>           bmAttributes            2
>             Transfer Type            Bulk
>             Synch Type               None
>             Usage Type               Data
>           wMaxPacketSize     0x0200  1x 512 bytes
>           bInterval               0
>         Endpoint Descriptor:
>           bLength                 7
>           bDescriptorType         5
>           bEndpointAddress     0x02  EP 2 OUT
>           bmAttributes            2
>             Transfer Type            Bulk
>             Synch Type               None
>             Usage Type               Data
>           wMaxPacketSize     0x0200  1x 512 bytes
>           bInterval               0
>   Device Qualifier (for other device speed):
>     bLength                10
>     bDescriptorType         6
>     bcdUSB               2.00
>     bDeviceClass            0 (Defined at Interface level)
>     bDeviceSubClass         0
>     bDeviceProtocol         0
>     bMaxPacketSize0        64
>     bNumConfigurations      1
>   Device Status:     0x0000
>     (Bus Powered)
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 10.04
>   Package: gparted 0.5.1-1ubuntu3
>   ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
>   Uname: Linux 2.6.32-24-generic x86_64
>   NonfreeKernelModules: wl
>   Architecture: amd64
>   Date: Mon Aug  9 18:03:27 2010
>   InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64
> (20100427.1)
>   ProcEnviron:
>    PATH=(custom, user)
>    LANG=en_US.utf8
>    SHELL=/bin/bash
>   SourcePackage: gparted
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/parted/+bug/615613/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/615613

Title:
  parted, fdisk, and gparted crash on printing the table

Status in “parted” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: parted

  This is what I get when using parted (only upon printing), fdisk, and gparted (upon startup).
  Note that it all used to work, but during one particular operation (shrink the one ext3, relocate right, and add-fat32 at beginning) it crashed and now even the command line parted crashes.

  
  ======================
  libparted : 2.2
  ======================
  Backtrace has 15 calls on stack:
    15: /lib/libparted.so.0(ped_assert+0x31) [0x7f8200118771]
    14: /lib/libparted.so.0(+0x3a0e6) [0x7f82001430e6]
    13: /lib/libparted.so.0(+0x3a853) [0x7f8200143853]
    12: /lib/libparted.so.0(+0x3b50d) [0x7f820014450d]
    11: /lib/libparted.so.0(ped_disk_add_partition+0x1cb) [0x7f820011ee7b]
    10: /lib/libparted.so.0(+0x3c916) [0x7f8200145916]
    9: /lib/libparted.so.0(+0x3cac5) [0x7f8200145ac5]
    8: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f820011f955]
    7: /usr/sbin/gpartedbin() [0x44ab94]
    6: /usr/sbin/gpartedbin() [0x45646c]
    5: /usr/sbin/gpartedbin() [0x476c57]
    4: /usr/lib/libglibmm-2.4.so.1(+0x36862) [0x7f81feb9b862]
    3: /lib/libglib-2.0.so.0(+0x67b84) [0x7f81fdfeeb84]
    2: /lib/libpthread.so.0(+0x69ca) [0x7f81fd8459ca]
    1: /lib/libc.so.6(clone+0x6d) [0x7f81fd5a26fd]
  Assertion (head_size <= 63) at ../../../libparted/labels/dos.c:659 in function probe_partition_for_geom() failed.




  This is the offending device (an 8GB flash drive) in lsusb -vvv:

  
  Bus 002 Device 009: ID 13fe:3123 Kingston Technology Company Inc. 
  Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               2.00
    bDeviceClass            0 (Defined at Interface level)
    bDeviceSubClass         0 
    bDeviceProtocol         0 
    bMaxPacketSize0        64
    idVendor           0x13fe Kingston Technology Company Inc.
    idProduct          0x3123 
    bcdDevice            1.10
    iManufacturer           1 Verbatim
    iProduct                2 STORE N GO
    iSerial                 3 0792148513A4
    bNumConfigurations      1
    Configuration Descriptor:
      bLength                 9
      bDescriptorType         2
      wTotalLength           32
      bNumInterfaces          1
      bConfigurationValue     1
      iConfiguration          0 
      bmAttributes         0x80
        (Bus Powered)
      MaxPower              300mA
      Interface Descriptor:
        bLength                 9
        bDescriptorType         4
        bInterfaceNumber        0
        bAlternateSetting       0
        bNumEndpoints           2
        bInterfaceClass         8 Mass Storage
        bInterfaceSubClass      6 SCSI
        bInterfaceProtocol     80 Bulk (Zip)
        iInterface              0 
        Endpoint Descriptor:
          bLength                 7
          bDescriptorType         5
          bEndpointAddress     0x81  EP 1 IN
          bmAttributes            2
            Transfer Type            Bulk
            Synch Type               None
            Usage Type               Data
          wMaxPacketSize     0x0200  1x 512 bytes
          bInterval               0
        Endpoint Descriptor:
          bLength                 7
          bDescriptorType         5
          bEndpointAddress     0x02  EP 2 OUT
          bmAttributes            2
            Transfer Type            Bulk
            Synch Type               None
            Usage Type               Data
          wMaxPacketSize     0x0200  1x 512 bytes
          bInterval               0
  Device Qualifier (for other device speed):
    bLength                10
    bDescriptorType         6
    bcdUSB               2.00
    bDeviceClass            0 (Defined at Interface level)
    bDeviceSubClass         0 
    bDeviceProtocol         0 
    bMaxPacketSize0        64
    bNumConfigurations      1
  Device Status:     0x0000
    (Bus Powered)

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gparted 0.5.1-1ubuntu3
  ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic x86_64
  NonfreeKernelModules: wl
  Architecture: amd64
  Date: Mon Aug  9 18:03:27 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: gparted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/615613/+subscriptions




More information about the foundations-bugs mailing list