[Parted-maintainers] Bug#776421: parted: Segfault on align-check

Lucio Crusca lucio at sulweb.org
Tue Jan 27 21:24:42 UTC 2015


Package: parted
Version: 3.2-6
Severity: normal

While using parted I got the following SIGSEGV report:

(parted) align-check min 1                                                

You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
[...]

# parted /dev/vda unit co print unit s print

Model: Virtio Block Device (virtblk)
Disk /dev/vda: 1136GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1136GB  1136GB  primary               boot, lvm

Model: Virtio Block Device (virtblk)
Disk /dev/vda: 2218786816s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start  End          Size         Type     File system  Flags
 1      2048s  2218750000s  2218747953s  primary               boot, lvm


and the following history of commands I entered:

help
select /dev/vda
resize
resizepart
1
max
print devices
resizepart
1
1136GB
align-check min 1

Error: SEGV_MAPERR (Address not mapped to object)
Backtrace has 11 calls on stack:
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7f64ba92d644]
  10: parted() [0x40a934]
  9: /lib/x86_64-linux-gnu/libc.so.6(+0x35180) [0x7f64ba125180]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x157a8) [0x7f64ba9357a8]
  7: /lib/x86_64-linux-gnu/libparted.so.2(ped_device_get_minimum_alignment+0x1d) [0x7f64ba92e11d]
  6: parted() [0x4083d5]
  5: parted() [0x4084e4]
  4: parted(interactive_mode+0xff) [0x40ca2f]
  3: parted(main+0x119f) [0x405f6f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f64ba111b45]
  1: parted() [0x405fc7]


Assertion (0) at ../../parted/ui.c:356 in function sa_sigsegv_handler() failed.
                                                      
-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages parted depends on:
ii  libc6         2.19-13
ii  libparted2    3.2-6
ii  libreadline6  6.3-8+b3
ii  libtinfo5     5.9+20140913-1+b1

parted recommends no packages.

Versions of packages parted suggests:
pn  parted-doc  <none>

-- no debconf information



More information about the Parted-maintainers mailing list