[Parted-maintainers] Bug#785399: parted: crashes on corrupt backup GPT

Rafal Pietrak rafal at poczta.ztk-rp.eu
Fri May 15 15:58:17 UTC 2015


Package: parted
Version: 2.3-12
Severity: important

Dear Maintainer,

I used parted, since the disk is 3TB one.

I used it earlier within an USB enclosure. Occsionally it failed to mount (and
needed an FSCK), but never like that. Then I've put it into the comp and
connected it directly with SATA.

--------------------screenlog------------------------
(parted) print                                                            
Error: Bad argument during seek for read on /dev/sdh                      
Retry/Ignore/Cancel? i                                                    
Error: The backup GPT table is corrupt, but the primary appears OK, so that will
be used.
OK/Cancel? ok                                                             
Backtrace has 8 calls on stack:
  8: /lib/i386-linux-gnu/libparted.so.0(ped_assert+0x29) [0xf76a02a9]
  7: /lib/i386-linux-gnu/libparted.so.0(+0x4b6be) [0xf76de6be]
  6: /lib/i386-linux-gnu/libparted.so.0(ped_disk_new+0x61) [0xf76a8171]
  5: parted() [0x804e71b]
  4: parted(interactive_mode+0x116) [0x8056186]
  3: parted(main+0x1906) [0x804dd86]
  2: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe6) [0xf74fbe16]
  1: parted() [0x804de25]
                                                                          


Assertion (last_usable <= disk->dev->length) at
../../../libparted/labels/gpt.c:723 in function _parse_header() failed.

------------------screenlog END--------------------------




-- System Information:
Debian Release: 7.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages parted depends on:
ii  libblkid1           2.20.1-5.3
ii  libc6               2.13-38+deb7u8
ii  libdevmapper1.02.1  2:1.02.74-8
ii  libparted0debian1   2.3-12
ii  libreadline6        6.2+dfsg-0.1
ii  libtinfo5           5.9-10
ii  libuuid1            2.20.1-5.3

parted recommends no packages.

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

-- no debconf information



More information about the Parted-maintainers mailing list