Bug 2361116

Summary: [abrt] elfutils: gelf_getsymshndx(): eu-strip killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Luca Stefani <luca.stefani.ge1>
Component: elfutilsAssignee: Mark Wielaard <mjw>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: amerey, fche, jakub, luca.stefani.ge1, mcermak, me, mjw, suraj.ghimire7
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ae811212b972695d0fe9eadf21283b55b806a0c
Whiteboard: abrt_hash:105651fb63a9bc8f44699d89579596ad36d26c7d;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-05 13:18:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: exploitable
none
File: dso_list
none
File: backtrace none

Description Luca Stefani 2025-04-19 12:30:17 UTC
Description of problem:
Compiling linux kernel on x86_64 arch targeting arm64 with LLVM

Version-Release number of selected component:
elfutils-0.192-9.fc42

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         eu-strip killed by SIGSEGV
journald_cursor: s=3e07b3ff4ea6470b9bae398119261ad4;i=dc36;b=0a944b6ef1714f5c8697192111591ffa;m=5273138f4;t=63320bfa9295d;x=ee818c286fb3b35
executable:     /usr/bin/eu-strip
cmdline:        eu-strip --remove-comment --reloc-debug-sections -f /home/luca/linux/rpmbuild/BUILD/kernel-6.15.0_rc2_00652_g5a711138f964-build/BUILDROOT/usr/lib/debug/lib/modules/6.15.0-rc2-00652-g5a711138f964/kernel/lib/crypto/libarc4.ko.debug /home/luca/linux/rpmbuild/BUILD/kernel-6.15.0_rc2_00652_g5a711138f964-build/BUILDROOT/lib/modules/6.15.0-rc2-00652-g5a711138f964/kernel/lib/crypto/libarc4.ko
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole
rootdir:        /
uid:            1000
kernel:         6.14.2-300.fc42.x86_64
package:        elfutils-0.192-9.fc42
runlevel:       N 5
comment:        Compiling linux kernel on x86_64 arch targeting arm64 with LLVM
backtrace_rating: 4
crash_function: gelf_getsymshndx

Truncated backtrace:
Thread no. 1 (4 frames)
 #0 gelf_getsymshndx at /usr/src/debug/elfutils-0.192-9.fc42.x86_64/libelf/gelf_getsymshndx.c:123
 #1 remove_debug_relocations at /usr/src/debug/elfutils-0.192-9.fc42.x86_64/src/strip.c:690
 #2 handle_elf at /usr/src/debug/elfutils-0.192-9.fc42.x86_64/src/strip.c:2467
 #3 process_file at /usr/src/debug/elfutils-0.192-9.fc42.x86_64/src/strip.c:799

Comment 1 Luca Stefani 2025-04-19 12:30:22 UTC
Created attachment 2085859 [details]
File: proc_pid_status

Comment 2 Luca Stefani 2025-04-19 12:30:23 UTC
Created attachment 2085860 [details]
File: maps

Comment 3 Luca Stefani 2025-04-19 12:30:25 UTC
Created attachment 2085861 [details]
File: limits

Comment 4 Luca Stefani 2025-04-19 12:30:26 UTC
Created attachment 2085862 [details]
File: environ

Comment 5 Luca Stefani 2025-04-19 12:30:27 UTC
Created attachment 2085863 [details]
File: open_fds

Comment 6 Luca Stefani 2025-04-19 12:30:29 UTC
Created attachment 2085864 [details]
File: mountinfo

Comment 7 Luca Stefani 2025-04-19 12:30:30 UTC
Created attachment 2085865 [details]
File: os_info

Comment 8 Luca Stefani 2025-04-19 12:30:32 UTC
Created attachment 2085866 [details]
File: cpuinfo

Comment 9 Luca Stefani 2025-04-19 12:30:33 UTC
Created attachment 2085867 [details]
File: core_backtrace

Comment 10 Luca Stefani 2025-04-19 12:30:34 UTC
Created attachment 2085868 [details]
File: exploitable

Comment 11 Luca Stefani 2025-04-19 12:30:36 UTC
Created attachment 2085869 [details]
File: dso_list

Comment 12 Luca Stefani 2025-04-19 12:30:37 UTC
Created attachment 2085870 [details]
File: backtrace

Comment 13 Luca Stefani 2025-04-19 12:39:36 UTC
Same crash as here https://sourceware.org/bugzilla/show_bug.cgi?id=32673
https://sourceware.org/pipermail/elfutils-devel/2025q1/007868.html is the supposed fix.

Was planning to make a backport but it seems like a new release with the fix is coming on April 25
https://inbox.sourceware.org/elfutils-devel/CAJDtP-QGvqvyyY+K5-gpbzw5ej7G6dWcodqXAprJ17BDCsZ3qg@mail.gmail.com/T/#u

Comment 14 Fedora Update System 2025-05-01 18:42:42 UTC
FEDORA-2025-098c5129af (elfutils-0.193-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-098c5129af

Comment 15 Fedora Update System 2025-05-03 02:09:18 UTC
FEDORA-2025-098c5129af (elfutils-0.193-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.