bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28834] New: incorrect detection of "DWARF error: section .


From: joelhock at gmail dot com
Subject: [Bug binutils/28834] New: incorrect detection of "DWARF error: section .debug_str is larger than its filesize"
Date: Fri, 28 Jan 2022 21:23:05 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]