[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils-bugs
Subject:    [Bug binutils/28834] New: incorrect detection of "DWARF error: section .debug_str is larger than its
From:       "joelhock at gmail dot com" <sourceware-bugzilla () sourceware ! org>
Date:       2022-01-28 21:23:05
Message-ID: bug-28834-70 () http ! sourceware ! org/bugzilla/
[Download RAW message or body]

https://sourceware.org/bugzilla/show_bug.cgi?id=28834

            Bug ID: 28834
           Summary: incorrect detection of "DWARF error: section
                    .debug_str is larger than its filesize"
           Product: binutils
           Version: 2.37
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: joelhock at gmail dot com
  Target Milestone: ---

Commit 647cebce12a can cause valid sections to be considered corrupt if their
uncompressed size is greater than the size of the entire binary, resulting in
warnings like:

addr2line: DWARF error: section .debug_str is larger than its filesize!
(0xb60c570 vs 0x9309705)

One example binary we have is 150MB total; however, the .debug_str section is
190MB uncompressed (and only 27MB compressed).  I'm not sure what the best fix
is to keep the protection of intended by the commit without causing these false
positives.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic