bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

parted crash accessing GPT table


From: Daniel Fandrich
Subject: parted crash accessing GPT table
Date: Thu, 23 Jun 2011 18:12:49 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

parted 3.0 crashes for me when accessing the attached EFI partition table
with the following crash log. This was compiled on an ubuntu 11.04 x86_64
Linux system.

$ /var/tmp/parted-3.0/parted/parted ptable  unit co print unit s print
WARNING: You are not superuser.  Watch out for permissions.
Error: Can't have the end before the start! (start sector=34 length=-33)  
Error: Can't have overlapping partitions.                                 
Error: Can't have overlapping partitions.                                 
Error: end of file while reading No such file or directory                
parted: invalid token: unit
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: /var/tmp/parted-3.0/libparted/.libs/libparted.so.1(ped_assert+0x31) 
[0x7f3394dd34c1]
  7: /var/tmp/parted-3.0/libparted/.libs/libparted.so.1(+0x246ae) 
[0x7f3394deb6ae]
  6: /var/tmp/parted-3.0/libparted/.libs/libparted.so.1(ped_disk_new+0x75) 
[0x7f3394dd99e5]
  5: /var/tmp/parted-3.0/parted/.libs/lt-parted() [0x405e59]
  4: /var/tmp/parted-3.0/parted/.libs/lt-parted(non_interactive_mode+0x8c) 
[0x40a7bc]
  3: /var/tmp/parted-3.0/parted/.libs/lt-parted(main+0xd6e) [0x40800e]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff) [0x7f33945cbeff]
  1: /var/tmp/parted-3.0/parted/.libs/lt-parted() [0x404bf9]
                                                                          

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.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (3.0)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

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

Aborted


>>> Dan
-- 
Daniel Fandrich
Embedded Developer
Intrinsyc Software, Inc.
10th Floor, 700 West Pender
Vancouver, BC  V6C 1G8
604-801-6461
fax: 604-801-6417
http://www.intrinsyc.com

Attachment: ptable
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]