[Bug 217736] addr2line incorrectly resolves filename/lineno/function

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 13 08:54:28 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217736

            Bug ID: 217736
           Summary: addr2line incorrectly resolves
                    filename/lineno/function
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: marat at slonopotamus.org

Way to reproduce:

1. fetch http://slonopotamus.org/libUE4Editor-Core.so (warning, 50MB)
2. addr2line -f -e libUE4Editor-Core.so +0x2c09b2

Expected output,given by addr2line from GNU binutils and gdb (and I in fact
know that this is what I want to get):

  _Z20PlatformCrashHandleriP9siginfo_tPv
 
/home/marat/production/ue4/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformCrashContext.cpp:595

Actual output:

  ??
  Runtime/Core/Public/Delegates/DelegateInstancesImpl.h:869

I have already reported this to elftoolchain project, though am not sure
whether I should (not) also report this to FreeBSD.

For the reference, elftoolchain bug reports (note that it crashes with -f,
unlike FreeBSD addr2line):

https://sourceforge.net/p/elftoolchain/tickets/545/
https://sourceforge.net/p/elftoolchain/tickets/546/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list