[Bug 1586923] [NEW] Parted crashes with "Error in `parted': realloc(): invalid next size"

Launchpad Bug Tracker 1586923 at bugs.launchpad.net
Mon May 30 07:24:39 UTC 2016


You have been subscribed to a public bug:

I am using the parted from Xenial. When the command "paretd -s /dev/sda print" is run on my Macmini15, it crashes. If you need more info, please let me know.
The details:
# dpkg -l |grep parted
ii  libparted-fs-resize0:amd64         3.2-15                                   amd64        disk partition manipulator - shared FS resizing library
ii  libparted2:amd64                   3.2-15                                   amd64        disk partition manipulator - shared library
ii  parted                             3.2-15                                   amd64        disk partition manipulator

# parted -s /dev/sda print
Model: ATA APPLE HDD HTS541 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

*** Error in `parted': realloc(): invalid next size: 0x000055fba192b660 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7feb41c77725]
/lib/x86_64-linux-gnu/libc.so.6(+0x82bfa)[0x7feb41c82bfa]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0x179)[0x7feb41c83db9]
/lib/x86_64-linux-gnu/libparted.so.2(xrealloc+0x16)[0x7feb42467fe6]
parted(table_render+0xb6)[0x55fba09e2506]
parted(+0x790d)[0x55fba09dc90d]
parted(non_interactive_mode+0x92)[0x55fba09e2102]
parted(main+0x1238)[0x55fba09db028]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7feb41c20830]
parted(_start+0x29)[0x55fba09db1d9]
======= Memory map: ========
55fba09d5000-55fba09e7000 r-xp 00000000 07:00 8694                       /sbin/parted
55fba0be7000-55fba0be8000 r--p 00012000 07:00 8694                       /sbin/parted
55fba0be8000-55fba0be9000 rw-p 00013000 07:00 8694                       /sbin/parted
55fba1920000-55fba19d0000 rw-p 00000000 00:00 0                          [heap]
7feb38000000-7feb38021000 rw-p 00000000 00:00 0
7feb38021000-7feb3c000000 ---p 00000000 00:00 0
7feb3f92f000-7feb3f945000 r-xp 00000000 07:00 8224                       /lib/x86_64-linux-gnu/libgcc_s.so.1
7feb3f945000-7feb3fb44000 ---p 00016000 07:00 8224                       /lib/x86_64-linux-gnu/libgcc_s.so.1
7feb3fb44000-7feb3fb45000 rw-p 00015000 07:00 8224                       /lib/x86_64-linux-
gnu/libgcc_s.so.1
7feb3fb45000-7feb4079d000 r--p 00000000 07:00 10189                      /usr/lib/locale/locale-archive
7feb4079d000-7feb407a0000 r-xp 00000000 07:00 8206                       /lib/x86_64-linux-gnu/libdl-2.23.so
7feb407a0000-7feb4099f000 ---p 00003000 07:00 8206                       /lib/x86_64-linux-gnu/libdl-2.23.so
7feb4099f000-7feb409a0000 r--p 00002000 07:00 8206                       /lib/x86_64-linux-gnu/libdl-2.23.so
7feb409a0000-7feb409a1000 rw-p 00003000 07:00 8206                       /lib/x86_64-linux-gnu/libdl-2.23.so
7feb409a1000-7feb40a0f000 r-xp 00000000 07:00 8305                       /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7feb40c0f000-7feb40c10000 r--p 0006e000 07:00 8305                       /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7feb40c10000-7feb40c11000 rw-p 0006f000 07:00 8305                       /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7feb40c11000-7feb40d19000 r-xp 00000000 07:00 8250                       /lib/x86_64-linux-gnu/libm-2.23.so
7feb40d19000-7feb40f18000 ---p 00108000 07:00 8250                       /lib/x86_64-linux-gnu/libm-2.23.so
7feb40f18000-7feb40f19000 r--p 00107000 07:00 8250                       /lib/x86_64-linux-gnu/libm-2.23.so
7feb40f19000-7feb40f1a000 rw-p 00108000 07:00 8250                       /lib/x86_64-linux-gnu/libm-2.23.so
7feb40f1a000-7feb40f32000 r-xp 00000000 07:00 8314                       /lib/x86_64-linux-gnu/libpthread-2.23.so
7feb40f32000-7feb41131000 ---p 00018000 07:00 8314                       /lib/x86_64-linux-gnu/libpthread-2.23.so
7feb41131000-7feb41132000 r--p 00017000 07:00 8314                       /lib/x86_64-linux-gnu/libpthread-2.23.so
7feb41132000-7feb41133000 rw-p 00018000 07:00 8314                       /lib/x86_64-linux-gnu/libpthread-2.23.so
7feb41133000-7feb41137000 rw-p 00000000 00:00 0
7feb41137000-7feb41156000 r-xp 00000000 07:00 8326                       /lib/x86_64-linux-gnu/libselinux.so.1
7feb41156000-7feb41355000 ---p 0001f000 07:00 8326                       /lib/x86_64-linux-gnu/libselinux.so.1
7feb41355000-7feb41356000 r--p 0001e000 07:00 8326                       /lib/x86_64-linux-gnu/libselinux.so.1
7feb41356000-7feb41357000 rw-p 0001f000 07:00 8326                       /lib/x86_64-linux-gnu/libselinux.so.1
7feb41357000-7feb41359000 rw-p 00000000 00:00 0
7feb41359000-7feb41360000 r-xp 00000000 07:00 8322                       /lib/x86_64-linux-gnu/librt-2.23.so
7feb41360000-7feb4155f000 ---p 00007000 07:00 8322                       /lib/x86_64-linux-gnu/librt-2.23.so
7feb4155f000-7feb41560000 r--p 00006000 07:00 8322                       /lib/x86_64-linux-gnu/librt-2.23.so
7feb41560000-7feb41561000 rw-p 00007000 07:00 8322                       /lib/x86_64-linux-gnu/librt-2.23.so
7feb41561000-7feb4159d000 r-xp 00000000 07:00 8178                       /lib/x86_64-linux-gnu/libblkid.so.1.1.0
7feb4159d000-7feb4179c000 ---p 0003c000 07:00 8178                       /lib/x86_64-linux-gnu/libblkid.so.1.1.0
7feb4179c000-7feb417a0000 r--p 0003b000 07:00 8178                       /lib/x86_64-linux-gnu/libblkid.so.1.1.0
7feb417a0000-7feb417a1000 rw-p 0003f000 07:00 8178                       /lib/x86_64-linux-gnu/libblkid.so.1.1.0
7feb417a1000-7feb417a2000 rw-p 00000000 00:00 0
7feb417a2000-7feb417f7000 r-xp 00000000 07:00 8205                       /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
7feb417f7000-7feb419f6000 ---p 00055000 07:00 8205                       /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
7feb419f6000-7feb419f7000 r--p 00054000 07:00 8205                       /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
7feb419f7000-7feb419fa000 rw-p 00055000 07:00 8205                       /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
7feb419fa000-7feb419fb000 rw-p 00000000 00:00 0
7feb419fb000-7feb419ff000 r-xp 00000000 07:00 8354                       /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7feb419ff000-7feb41bfe000 ---p 00004000 07:00 8354                       /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7feb41bfe000-7feb41bff000 r--p 00003000 07:00 8354                       /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7feb41bff000-7feb41c00000 rw-p 00004000 07:00 8354                       /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7feb41c00000-7feb41dc0000 r-xp 00000000 07:00 8184                       /lib/x86_64-linux-gnu/libc-2.23.so
7feb41dc0000-7feb41fbf000 ---p 001c0000 07:00 8184                       /lib/x86_64-linux-gnu/libc-2.23.so
7feb41fbf000-7feb41fc3000 r--p 001bf000 07:00 8184                       /lib/x86_64-linux-gnu/libc-2.23.so
7feb41fc3000-7feb41fc5000 rw-p 001c3000 07:00 8184                       /lib/x86_64-linux-gnu/libc-2.23.so
7feb41fc5000-7feb41fc9000 rw-p 00000000 00:00 0
7feb41fc9000-7feb41fee000 r-xp 00000000 07:00 8340                       /lib/x86_64-linux-gnu/libtinfo.so.5.9
7feb41fee000-7feb421ed000 ---p 00025000 07:00 8340                       /lib/x86_64-linux-gnu/libtinfo.so.5.9
7feb421ed000-7feb421f1000 r--p 00024000 07:00 8340                       /lib/x86_64-linux-gnu/libtinfo.so.5.9
7feb421f1000-7feb421f2000 rw-p 00028000 07:00 8340                       /lib/x86_64-linux-gnu/libtinfo.so.5.9
7feb421f2000-7feb4222f000 r-xp 00000000 07:00 8319                       /lib/x86_64-linux-gnu/libreadline.so.6.3
7feb4222f000-7feb4242f000 ---p 0003d000 07:00 8319                       /lib/x86_64-linux-gnu/libreadline.so.6.3
7feb4242f000-7feb42431000 r--p 0003d000 07:00 8319                       /lib/x86_64-linux-gnu/libreadline.so.6.3
7feb42431000-7feb42437000 rw-p 0003f000 07:00 8319                       /lib/x86_64-linux-gnu/libreadline.so.6.3
7feb42437000-7feb42438000 rw-p 00000000 00:00 0
7feb42438000-7feb4247b000 r-xp 00000000 07:00 8300                       /lib/x86_64-linux-gnu/libparted.so.2.0.1
7feb4247b000-7feb4267b000 ---p 00043000 07:00 8300                       /lib/x86_64-linux-gnu/libparted.so.2.0.1
7feb4267b000-7feb4267d000 r--p 00043000 07:00 8300                       /lib/x86_64-linux-gnu/libparted.so.2.0.1
7feb4267d000-7feb4267e000 rw-p 00045000 07:00 8300                       /lib/x86_64-linux-gnu/libparted.so.2.0.1
7feb4267e000-7feb42683000 rw-p 00000000 00:00 0
7feb42683000-7feb426a9000 r-xp 00000000 07:00 8158                       /lib/x86_64-linux-gnu/ld-2.23.so
7feb42876000-7feb4287c000 rw-p 00000000 00:00 0
7feb4287c000-7feb4289a000 r-xp 00000000 07:00 8344                       /lib/x86_64-linux-gnu/libudev.so.1.6.4
7feb4289a000-7feb4289b000 r--p 0001d000 07:00 8344                       /lib/x86_64-linux-gnu/libudev.so.1.6.4
7feb4289b000-7feb4289c000 rw-p 0001e000 07:00 8344                       /lib/x86_64-linux-gnu/libudev.so.1.6.4
7feb4289c000-7feb4289f000 rw-p 00000000 00:00 0
7feb4289f000-7feb428a6000 r--s 00000000 07:00 10934                      /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7feb428a6000-7feb428a8000 rw-p 00000000 00:00 0
7feb428a8000-7feb428a9000 r--p 00025000 07:00 8158                       /lib/x86_64-linux-gnu/ld-2.23.so
7feb428a9000-7feb428aa000 rw-p 00026000 07:00 8158                       /lib/x86_64-linux-gnu/ld-2.23.so
7feb428aa000-7feb428ab000 rw-p 00000000 00:00 0
7ffe2e069000-7ffe2e08a000 rw-p 00000000 00:00 0                          [stack]
7ffe2e17d000-7ffe2e17f000 r--p 00000000 00:00 0                          [vvar]
7ffe2e17f000-7ffe2e181000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted

** Affects: parted (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Parted crashes with "Error in `parted': realloc(): invalid next size"
https://bugs.launchpad.net/bugs/1586923
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to parted in Ubuntu.



More information about the foundations-bugs mailing list