Bug 24764 - dwz internal error: dwz.c:9253: recompute_abbrevs: Assertion `off == cu_size' failed
Summary: dwz internal error: dwz.c:9253: recompute_abbrevs: Assertion `off == cu_size'...
Status: RESOLVED FIXED
Alias: None
Product: dwz
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-04 08:41 UTC by Tom de Vries
Modified: 2019-11-27 18:17 UTC (History)
4 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom de Vries 2019-07-04 08:41:06 UTC
There are two distro bug reports that mention this assert:
- #892828 [i|M|  ] [dwz] dwz internal error: dwz.c:9253: recompute_abbrevs:
  Assertion `off == cu_size' failed
  ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892828 )
- Bug 1456261 - debuginfo files for Gtk2 plugin process are very large 
  ( https://bugzilla.redhat.com/show_bug.cgi?id=1456261 )

Unfortunately neither of them has a usable reproducer.
Comment 1 Tom de Vries 2019-11-27 10:27:11 UTC
I can reproduce with two of the executables from PR25024:
...
$ time.sh dwz CheckerOptionHandlingAnalyzerPlugin.so-10.0.0-0.20190817snap5.fc30.x86_64.debug -o 1 -Lnone -l0
dwz: dwz.c:9937: recompute_abbrevs: Assertion `off == cu_size' failed.
Command terminated by signal 6
maxmem: 2183648
real: 62.65
user: 61.50
system: 1.13
...
and:
...
$ time.sh dwz clang-10-10.0.0-0.20190817snap5.fc30.x86_64.debug -o 1 -Lnone -l0
dwz: dwz.c:9937: recompute_abbrevs: Assertion `off == cu_size' failed.
Command terminated by signal 6
maxmem: 5627516
real: 155.69
user: 148.60
system: 3.66
...
Comment 2 Tom de Vries 2019-11-27 10:55:13 UTC
And finally, a fast reproducer (binary from the same PR as in the previous comment):
...
$ time.sh dwz clang-offload-bundler-10.0.0-0.20190817snap5.fc30.x86_64.debug -o 1 -Lnone -l0
dwz: dwz.c:9920: recompute_abbrevs: Assertion `off == cu_size' failed.
Command terminated by signal 6
maxmem: 327576
real: 5.49
user: 5.29
system: 0.18
...