bug#21522: assertion metadata_length > 0 in add_logical_part_metadata failed

James Ring <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <CA+3tv22VNEpkdcZdxFDfJQuQB2n1ueRjhdjS90TZKkOeONrqMQ@mail.gmail.com>
Hi Paul,

On Tue, Sep 22, 2015 at 10:06 AM, Phil Susi <[email protected]> wrote:
> On 9/20/2015 12:26 AM, James Ring wrote:
>> Hi there,
>>
>> (please cc me on replies)
>>
>> I ran into an assertion error in parted running on my Kubuntu box:
>>
>> sjr@sjr-desktop:~$ sudo parted /dev/sdb print
>
> Is this really the command that provoked this or was it something else?

Yeah, I just re-confirmed that this also causes the assertion failure.

>  I ask because you later show a print out of the partition table, which
> you shouldn't be able to get if the print command is what is crashing.
> Can you run sudo dd if=/dev/sdb count=1 | xxd and show the output?

sjr@sjr-desktop:~$ sudo dd if=/dev/sdb count=1 | xxd
1+0 records in
1+0 records out
512 bytes (512 B) copied, 4.5406e-05 s, 11.3 MB/s
00000000: eb63 90d0 bc00 7c8e c08e d8be 007c bf00  .c....|......|..
00000010: 06b9 0002 fcf3 a450 681c 06cb fbb9 0400  .......Ph.......
00000020: bdbe 0780 7e00 007c 0b0f 850e 0183 c510  ....~..|........
00000030: e2f1 cd18 8856 0055 c646 1105 c646 1000  .....V.U.F...F..
00000040: b441 bbaa 55cd 135d 720f 81fb 55aa 7509  .A..U..]r...U.u.
00000050: f7c1 0100 7403 fe46 1066 0080 0100 0000  ....t..F.f......
00000060: 0000 0000 fffa 9090 f6c2 8074 05f6 c270  ...........t...p
00000070: 7402 b280 ea79 7c00 0031 c08e d88e d0bc  t....y|..1......
00000080: 0020 fba0 647c 3cff 7402 88c2 52bb 1704  . ..d|<.t...R...
00000090: f607 0374 06be 887d e817 01be 057c b441  ...t...}.....|.A
000000a0: bbaa 55cd 135a 5272 3d81 fb55 aa75 3783  ..U..ZRr=..U.u7.
000000b0: e101 7432 31c0 8944 0440 8844 ff89 4402  [email protected].
000000c0: c704 1000 668b 1e5c 7c66 895c 0866 8b1e  ....f..\|f.\.f..
000000d0: 607c 6689 5c0c c744 0600 70b4 42cd 1372  `|f.\..D..p.B..r
000000e0: 05bb 0070 eb76 b408 cd13 730d 5a84 d20f  ...p.v....s.Z...
000000f0: 83d0 00be 937d e982 0066 0fb6 c688 64ff  .....}...f....d.
00000100: 4066 8944 040f b6d1 c1e2 0288 e888 f440  @f.D...........@
00000110: 8944 080f b6c2 c0e8 0266 8904 66a1 607c  .D.......f..f.`|
00000120: 6609 c075 4e66 a15c 7c66 31d2 66f7 3488  f..uNf.\|f1.f.4.
00000130: d131 d266 f774 043b 4408 7d37 fec1 88c5  .1.f.t.;D.}7....
00000140: 30c0 c1e8 0208 c188 d05a 88c6 bb00 708e  0........Z....p.
00000150: c331 dbb8 0102 cd13 721e 8cc3 601e b900  .1......r...`...
00000160: 018e db31 f6bf 0080 8ec6 fcf3 a51f 61ff  ...1..........a.
00000170: 265a 7cbe 8e7d eb03 be9d 7de8 3400 bea2  &Z|..}....}.4...
00000180: 7de8 2e00 cd18 ebfe 4752 5542 2000 4765  }.......GRUB .Ge
00000190: 6f6d 0048 6172 6420 4469 736b 0052 6561  om.Hard Disk.Rea
000001a0: 6400 2045 7272 6f72 0d0a 00bb 0100 b40e  d. Error........
000001b0: cd10 ac3c 0075 f4c3 5085 9725 0000 8020  ...<.u..P..%...
000001c0: 2100 07df 130c 0008 0000 0020 0300 00a3  !.......... ....
000001d0: 140d 07ef ffff 0028 0300 0070 e93c 00fe  .......(...p.<..
000001e0: ffff 83fe ffff 0098 ec3c 00f8 3100 00fe  .........<..1...
000001f0: ffff 05fe ffff fe87 5355 02e0 1c1f 55aa  ........SU....U.

Hopefully gmail leaves the line wrapping alone in that paste...

Regards,
James
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.