bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/30150] addr2line returns wrong results after several thous


From: lveyde at gmail dot com
Subject: [Bug binutils/30150] addr2line returns wrong results after several thousands of requests in pipe mode
Date: Wed, 22 Feb 2023 19:11:07 +0000

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

--- Comment #23 from Lev Veyde <lveyde at gmail dot com> ---
To avoid the possibility that the issue is caused by corrupted binary, I've
recompiled a different version of Linux kernel, 5.15.95, and ran tests against
it as well:


$ llvm-addr2line -fie vmlinux 0xffffffff81c00290
__SCT__x86_pmu_handle_irq
??:0



$ eu-addr2line -fie vmlinux 0xffffffff81c00290
__SCT__x86_pmu_handle_irq
??:0



$ addr2line -v
GNU addr2line version 2.30-117.el8
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

$ addr2line -fie vmlinux 0xffffffff81c00290
__SCT__x86_pmu_handle_irq
??:?



$ /opt/rh/gcc-toolset-11/root/usr/bin/addr2line -v
GNU addr2line version 2.36.1-2.el8
Copyright (C) 2021 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

$ /opt/rh/gcc-toolset-11/root/usr/bin/addr2line -fie vmlinux 0xffffffff81c00290
__SCT__x86_pmu_handle_irq
??:?



This is the output from addr2line version with a Nick's patch:

$ /tmp/binutils-gdb/binutils/addr2line -v
GNU addr2line (GNU Binutils) 2.40.50.20230222
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.


$ /tmp/binutils-gdb/binutils/addr2line -fie vmlinux 0xffffffff81c00290
__SCT__x86_pmu_handle_irq
/tmp/linux-5.15.95/./arch/x86/include/asm/paravirt.h:10

-- 
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]