[Bug 666066] Re: parted crashes when creating a partition on a lvm2 volume

Phillip Susi psusi at ubuntu.com
Fri Dec 14 04:13:02 UTC 2012


I am unable to reproduce this on 12.10, are you?


** Changed in: parted (Ubuntu)
       Status: Confirmed => 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/666066

Title:
  parted crashes when creating a partition on a lvm2 volume

Status in “parted” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: parted

  When creating a partition (ext2) on a lvm2 volume, parted crashes. I
  get different error messages depending on it is invoked, see below.

  I launch parted with:
  $ parted /dev/fluid/fpm
  Utilisation de /dev/dm-0 (using /dev/dm-0)
  Then I type:
  mkpartfs
  primary
  ext2
  0
  5000
  Ignore

  And I get:

  Erreur : SEGV_MAPERR (l'adresse n'est pas associée à un objet) (The address is not associated with a object)
  Backtrace : 13 appels sur la pile:
    13: /lib/libparted.so.0(ped_assert+0x31) [0x7f255529d5c1]
    12: parted() [0x40c32f]
    11: /lib/libc.so.6(+0x33c20) [0x7f2554abac20]
    10: /lib/libparted.so.0(+0x1799c) [0x7f25552a699c]
    9: /lib/libparted.so.0(+0x185e8) [0x7f25552a75e8]
    8: /lib/libparted.so.0(+0x1b82f) [0x7f25552aa82f]
    7: /lib/libparted.so.0(ped_disk_commit_to_os+0x33) [0x7f25552a4393]
    6: /lib/libparted.so.0(ped_disk_commit+0x48) [0x7f25552a4688]
    5: parted() [0x408c4c]
    4: parted(interactive_mode+0xf3) [0x40db53]
    3: parted(main+0x8f) [0x40ab3f]
    2: /lib/libc.so.6(__libc_start_main+0xfe) [0x7f2554aa5d8e]
    1: parted() [0x404fa9]

  Assertion (0) à ../../parted/ui.c: échec de 356 dans la fonction
  sa_sigsegv_handler(). (Failed of 356 in the function...)

  ============================

  I am actually trying to use vmbuilder, which seems to launch the
  following command:

  parted --script -- /dev/fluid/fpm mkpart primary ext2 0 9599

  See for yourself:
  2010-10-24 18:01:22,882 INFO    : Mounting target filesystems
  2010-10-24 18:01:22,882 INFO    : Adding partition table to disk image: /dev/fluid/fpm
  2010-10-24 18:01:23,075 INFO    : Adding type 4 partition to disk image: /dev/fluid/fpm
  2010-10-24 18:01:23,210 INFO    : device-mapper: deps ioctl failed: No such device or address
  2010-10-24 18:01:23,516 ERROR   : Process (['parted', '--script', '--', '/dev/fluid/fpm', 'mkpart', 'primary', 'ext2', '0', '9599']) returned -11. stdout: , stderr: device-mapper: deps ioctl failed: No such device or address

  And this gives me:

  device-mapper: deps ioctl failed: No such device or address

  When I try to launch that same command manually, I just get a core-
  dumped error.

  ============================

  LVM Physical volumes:
    PV         VG    Fmt  Attr PSize  PFree
    /dev/sda3  fluid lvm2 a-   80,17g 70,17g
    /dev/sdb2  fluid lvm2 a-   70,92g 70,92g

  LVM Volume Groups:
    VG    #PV #LV #SN Attr   VSize   VFree
    fluid   2   1   0 wz--n- 151,09g 141,09g

  LVM Logical volumes:
     LV   VG    Attr   LSize  Origin Snap%  Move Log Copy%  Convert
    fpm  fluid -wi-a- 10,00g

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: parted 2.3-2ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  Architecture: amd64
  Date: Sun Oct 24 18:25:56 2010
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20101002)
  ProcEnviron:
   LC_MONETARY=en_US.utf8
   PATH=(custom, user)
   LANG=fr_FR.utf8
   SHELL=/bin/bash
  SourcePackage: parted

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




More information about the foundations-bugs mailing list