[Bug libelf/25083] Unexpected hangs at elf32_updatefile.c:518

mark at klomp dot org sourceware-bugzilla@sourceware.org
Sat Oct 19 19:27:00 GMT 2019


Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-10-19
                 CC|                            |mark at klomp dot org
     Ever confirmed|0                           |1

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
It doesn't really "hang", but tries to write out an enormous amount of data.

The issue is that both hangxx files have allocated section with a very large

[ 9] .rela.dyn            NOBITS       00000000000015b8 d600000280 00002688 24
      5   0  8

[26] .bss                 NOBITS       0000000000212b80 e8ff012b60 00000490  0
WA     0   0 64

When writing out the new file eu-unstrip will dutifully try to place those
sections at that exact offset in the file by putting "filler" (zeros) in the
file till the offset is reached. That simply takes a very long time (or till
the disk space runs out).

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list