Bug 32843 - libparted падает , когда видит том нулевого размера
Summary: libparted падает , когда видит том нулевого размера
Status: NEW
Alias: None
Product: ALT Linux Centaurus
Classification: Distributions
Component: Ошибки работы (show other bugs)
Version: 7.0.5
Hardware: all Linux
: P3 normal
Assignee: Anton V. Boyarshinov
QA Contact: qa-p7@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-04 02:29 MSK by Стас
Modified: 2016-12-04 02:29 MSK (History)
0 users

See Also:


Attachments
первые 4 килобайта диска, при открытии которого падает parted. Полный размер диска 2 000 398 934 016 bytes (4.00 KB, application/octet-stream)
2016-12-04 02:29 MSK, Стас
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Стас 2016-12-04 02:29:05 MSK
Created attachment 6887 [details]
первые 4 килобайта диска, при открытии которого падает parted. Полный размер диска 2 000 398 934 016 bytes

libparted-2.4-alt3

[root@servmul ~]# parted /dev/sdb print 
Backtrace имеет 13 вызовов из стека:
  13: /usr/lib64/libparted.so.0(ped_assert+0x2e) [0x7f99df56e8fe]
  12: /usr/lib64/libparted.so.0(ped_geometry_read+0x80) [0x7f99df575e40]
  11: /usr/lib64/libparted.so.0(ped_geometry_read_alloc+0x54) [0x7f99df575ed4]
  10: /usr/lib64/libparted.so.0(nilfs2_probe+0x6a) [0x7f99df59671a]
  9: /usr/lib64/libparted.so.0(ped_file_system_probe_specific+0x43) [0x7f99df56fd93]
  8: /usr/lib64/libparted.so.0(ped_file_system_probe+0x51) [0x7f99df56fe71]
  7: /usr/lib64/libparted.so.0(+0x42ba7) [0x7f99df59eba7]
  6: /usr/lib64/libparted.so.0(ped_disk_new+0x58) [0x7f99df574af8]
  5: parted() [0x407369]
  4: parted(non_interactive_mode+0x8a) [0x40ddfa]
  3: parted(main+0x1415) [0x4065e5]
  2: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f99ded61ad5]
  1: parted() [0x4066a9]
Аварийный останов
[root@servmul ~]# gfdisk -l /dev/sdb
GNU Fdisk 1.2.5
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Backtrace имеет 12 вызовов из стека:
  12: /usr/lib64/libparted.so.0(ped_assert+0x2e) [0x7f8ed4a548fe]
  11: /usr/lib64/libparted.so.0(ped_geometry_read+0x80) [0x7f8ed4a5be40]
  10: /usr/lib64/libparted.so.0(ped_geometry_read_alloc+0x54) [0x7f8ed4a5bed4]
  9: /usr/lib64/libparted.so.0(nilfs2_probe+0x6a) [0x7f8ed4a7c71a]
  8: /usr/lib64/libparted.so.0(ped_file_system_probe_specific+0x43) [0x7f8ed4a55d93]
  7: /usr/lib64/libparted.so.0(ped_file_system_probe+0x51) [0x7f8ed4a55e71]
  6: /usr/lib64/libparted.so.0(+0x42ba7) [0x7f8ed4a84ba7]
  5: /usr/lib64/libparted.so.0(ped_disk_new+0x58) [0x7f8ed4a5aaf8]
  4: gfdisk() [0x40f8b8]
  3: gfdisk() [0x407416]
  2: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f8ed4471ad5]
  1: gfdisk() [0x403fb9]
Аварийный останов

Начало диска прилагаю файлом. Полный размер диска 2 000 398 934 016 bytes