[Bug 633635] Re: Assertion (dev != NULL) at ../../libparted/disk.c:185 in function ped_disk_new() failed

Phillip Susi psusi at ubuntu.com
Thu Dec 13 21:52:58 UTC 2012


This looks like it may be a bug in gnome-format.  Did you try using
parted directly?


** Changed in: parted (Ubuntu)
       Status: New => Incomplete

-- 
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/633635

Title:
  Assertion (dev != NULL) at ../../libparted/disk.c:185 in function
  ped_disk_new() failed

Status in “parted” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: parted

  Using maverick
  Linux head.undifined.nl 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux
  parted (GNU parted) 2.3

  It failed upon my silicon power 16GB stick
  I saved the core file along with this bugreport
  and the lsusb -v is below that

  
  # gnome-format 
  (gnome-format:20518): Gtk-WARNING **: Ignoring the separator setting
  (gnome-format:20518): Gtk-WARNING **: Ignoring the separator setting
  (gnome-format:20518): Gtk-WARNING **: No object called: 
  Error: Error opening /dev/sdb: No medium found
  Backtrace has 20 calls on stack:
    20: /lib/libparted.so.0(ped_assert+0x31) [0x7ffd857415c1]
    19: /lib/libparted.so.0(+0x15899) [0x7ffd85748899]
    18: gnome-format(gnome_format_create_partition_2+0x47) [0x406a77]
    17: gnome-format(gnome_format_format_dialog_on_final_format_button_clicked+0x8a) [0x404c4a]
    16: /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e) [0x7ffd870e3afe]
    15: /usr/lib/libgobject-2.0.so.0(+0x27379) [0x7ffd870fc379]
    14: /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x826) [0x7ffd870fdaf6]
    13: /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83) [0x7ffd870fe353]
    12: /usr/lib/libgtk-x11-2.0.so.0(+0x91845) [0x7ffd88e43845]
    11: /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa9) [0x7ffd870e3a49]
    10: /usr/lib/libgobject-2.0.so.0(+0x26c43) [0x7ffd870fbc43]
    9: /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x826) [0x7ffd870fdaf6]
    8: /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83) [0x7ffd870fe353]
    7: /usr/lib/libgtk-x11-2.0.so.0(+0x901d7) [0x7ffd88e421d7]
    6: /usr/lib/libgtk-x11-2.0.so.0(+0x1546e3) [0x7ffd88f066e3]
    5: /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa9) [0x7ffd870e3a49]
    4: /usr/lib/libgobject-2.0.so.0(+0x26fc2) [0x7ffd870fbfc2]
    3: /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x66c) [0x7ffd870fd93c]
    2: /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83) [0x7ffd870fe353]
    1: /usr/lib/libgtk-x11-2.0.so.0(+0x287c0f) [0x7ffd89039c0f]
  A bug has been detected in GNU Parted.  Refer to the web site of parted http://www.gnu.org/software/parted/parted.html for more information of what could be useful for bug submitting!  Please email a bug report to bug-parted at gnu.org containing at least the version (2.3) and the following message:  Assertion (dev != NULL) at ../../libparted/disk.c:185 in function ped_disk_new() failed.
  Aborted (core dumped)

  
  # lsusb -v
  Bus 001 Device 005: 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         
    iProduct                2 silicon-power
    iSerial                 3 E69501570027
    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)

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




More information about the foundations-bugs mailing list