Summary: | libparted падает , когда видит том нулевого размера | ||||||
---|---|---|---|---|---|---|---|
Product: | ALT Linux Centaurus | Reporter: | Стас <stas.grumbler> | ||||
Component: | Ошибки работы | Assignee: | Anton V. Boyarshinov <boyarsh> | ||||
Status: | NEW --- | QA Contact: | qa-p7 <qa-p7> | ||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 7.0.5 | ||||||
Hardware: | all | ||||||
OS: | Linux | ||||||
Attachments: |
|
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