bug#23059: parted Debian 8

"Ed Falat" <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>

root@asus:/home/debian# wajig reinstall parted
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/195 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 152720 files and directories currently installed.)
Preparing to unpack .../parted_3.2-7_amd64.deb ...
Unpacking parted (3.2-7) over (3.2-7) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up parted (3.2-7) ...
root@asus:/home/debian# partprobe /dev/sda
Backtrace has 13 calls on stack:
  13: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fcdf78bc644]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7fcdf78cfb26]
  11: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7fcdf78c10aa]
  10: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263) [0x7fcdf78c19a3]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7fcdf78cf405]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7fcdf78cf4a0]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7fcdf78cf43f]
  6: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7fcdf78d0555]
  5: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7fcdf78c15c8]
  4: partprobe() [0x4012a3]
  3: partprobe(main+0x1ba) [0x40110a]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fcdf6eadb45]
  1: partprobe() [0x4011a6]
A bug has been detected in GNU Parted.  Refer to the web site of parted http://www.gnu.org/software/parted/parted.html for more information of what
could be useful for bug submitting!  Please email a bug report to [email protected] containing at least the version (3.2) and the following
message:  Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.
Aborted
root@asus:/home/debian# dmesg | tail
[ 8865.806081] [25829]     0 25829   245305   114257     480   120937             0 systemd-udevd
[ 8865.806091] [25830]     0 25830   242651   113798     475   118753             0 systemd-udevd
[ 8865.806100] [25846]     0 25846     1084       22       7        0             0 wajig
[ 8865.806109] [25848]     0 25848    16513     2629      37        0             0 wajig.py
[ 8865.806119] [25871]     0 25871     1084       21       7        0             0 sh
[ 8865.806128] [25872]     0 25872    14997     1469      33        0             0 apt-get
[ 8865.806138] [25898]     0 25898     1084       22       7        0             0 sh
[ 8865.806148] [25899]     0 25899    14947     1561      33        0             0 apt-listchanges
[ 8865.806154] Out of memory: Kill process 25828 (systemd-udevd) score 224 or sacrifice child
[ 8865.806164] Killed process 25828 (systemd-udevd) total-vm:994076kB, anon-rss:468104kB, file-rss:0kB
root@asus:/home/debian# uname -a
Linux asus 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux
root@asus:/home/debian# parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Backtrace has 14 calls on stack:
  14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7ff13a559644]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7ff13a56cb26]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7ff13a55e0aa]
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263) [0x7ff13a55e9a3]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7ff13a56c405]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7ff13a56c4a0]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7ff13a56c43f]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7ff13a56d555]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7ff13a55e5c8]
  5: parted() [0x407769]
  4: parted(interactive_mode+0xff) [0x40ca2f]
  3: parted(main+0x119f) [0x405f6f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ff139d4eb45]
  1: parted() [0x405fc7]


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.2)
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 (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.

Aborted
root@asus:/home/debian# parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) m
  align-check TYPE N                        check partition N for TYPE(min|opt) alignment
  help [COMMAND]                           print general help, or help on COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found partitions, or a particular partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START and END
  resizepart NUMBER END                    resize partition NUMBER
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  disk_set FLAG STATE                      change the FLAG on selected device
  disk_toggle [FLAG]                       toggle the state of FLAG on selected device
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and copyright information of GNU Parted
(parted) p
Backtrace has 14 calls on stack:
  14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7f5407a96644]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7f5407aa9b26]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7f5407a9b0aa]
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263) [0x7f5407a9b9a3]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7f5407aa9405]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7f5407aa94a0]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7f5407aa943f]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7f5407aaa555]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f5407a9b5c8]
  5: parted() [0x407769]
  4: parted(interactive_mode+0xff) [0x40ca2f]
  3: parted(main+0x119f) [0x405f6f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f540728bb45]
  1: parted() [0x405fc7]


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.2)
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 (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.

Aborted
root@asus:/home/debian# blkid
^Z
root@asus:/home/debian#
root@asus:/home/debian# wajig install maxima mathomatic octave R-base geany xfig transfig inkscape blender libreoffice lyx audacity audacious
pavucontrol testdisk gdisk gparted
^CTraceback (most recent call last):
  File "/usr/share/wajig/wajig.py", line 26, in <module>
    import commands
  File "/usr/share/wajig/commands.py", line 11, in <module>
    import urllib.request
  File "/usr/lib/python3.4/urllib/request.py", line 88, in <module>
    import http.client
  File "/usr/lib/python3.4/http/client.py", line 1186, in <module>
    import ssl
  File "/usr/lib/python3.4/ssl.py", line 295, in <module>
    "cafile capath openssl_cafile_env openssl_cafile openssl_capath_env "
  File "/usr/lib/python3.4/collections/__init__.py", line 369, in namedtuple
    exec(class_definition, namespace)
  File "<string>", line 1, in <module>
KeyboardInterrupt

root@asus:/home/debian# free
             total       used       free     shared    buffers     cached
Mem:       2048552     343460    1705092      40884       2912     109816
-/+ buffers/cache:     230732    1817820
Swap:      2084860     219740    1865120
root@asus:/home/debian# partprobe /dev/sda
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.