Bug 2192226

Summary: [abrt] binutils: fseek(): dwp killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Solomon Peachy <pizza>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: dvlasenk, fweimer, jakub, nickc, pizza, sipoyare, yahmad
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d833b96418b154a30bfca5d52358e7fde8700d8
Whiteboard: abrt_hash:c60372d325fd2f8742a1f30463cb6c8297387000;VARIANT_ID=workstation;
Fixed In Version: binutils-2.39-12.fc38 binutils-2.38-27.fc37 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 01:38:36 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: maps
none
File: exploitable
none
File: open_fds
none
File: environ
none
File: dso_list
none
File: cpuinfo
none
File: limits
none
File: os_info
none
File: proc_pid_status
none
File: backtrace
none
File: core_backtrace
none
File: mountinfo none

Description Solomon Peachy 2023-04-30 16:36:30 UTC
Description of problem:
Happens every time I compile scummvm.

Version-Release number of selected component:
binutils-2.39-9.fc38

Additional info:
reporter:       libreport-2.17.9
cmdline:        dwp -e ./scummvm-conf -o /dev/null
type:           CCpp
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-kitty-3838.scope
runlevel:       N 5
package:        binutils-2.39-9.fc38
journald_cursor: s=4b4e9570774c43efacdbf61ff62ab96f;i=54f5d;b=3473737d77ab48b0ace91e72c2f674ac;m=1be6bb552;t=5fa816aa0fec4;x=f28b2ad6d22bfb3d
executable:     /usr/bin/dwp
rootdir:        /
kernel:         6.2.12-300.fc38.x86_64
reason:         dwp killed by SIGSEGV
backtrace_rating: 4
comment:        Happens every time I compile scummvm.
crash_function: fseek
uid:            1000

Truncated backtrace:
Thread no. 1 (4 frames)
 #0 fseek at fseek.c:35
 #1 gold::Dwp_output_file::write_new_section at /usr/src/debug/binutils-2.39-9.fc38.x86_64/gold/dwp.cc:1961
 #2 gold::Dwp_output_file::write_index<false> at /usr/src/debug/binutils-2.39-9.fc38.x86_64/gold/dwp.cc:2070
 #3 gold::Dwp_output_file::finalize at /usr/src/debug/binutils-2.39-9.fc38.x86_64/gold/dwp.cc:1874


Potential duplicate: bug 2136183

Comment 1 Solomon Peachy 2023-04-30 16:36:35 UTC
Created attachment 1961228 [details]
File: maps

Comment 2 Solomon Peachy 2023-04-30 16:36:37 UTC
Created attachment 1961229 [details]
File: exploitable

Comment 3 Solomon Peachy 2023-04-30 16:36:38 UTC
Created attachment 1961230 [details]
File: open_fds

Comment 4 Solomon Peachy 2023-04-30 16:36:40 UTC
Created attachment 1961231 [details]
File: environ

Comment 5 Solomon Peachy 2023-04-30 16:36:42 UTC
Created attachment 1961232 [details]
File: dso_list

Comment 6 Solomon Peachy 2023-04-30 16:36:44 UTC
Created attachment 1961233 [details]
File: cpuinfo

Comment 7 Solomon Peachy 2023-04-30 16:36:46 UTC
Created attachment 1961234 [details]
File: limits

Comment 8 Solomon Peachy 2023-04-30 16:36:48 UTC
Created attachment 1961235 [details]
File: os_info

Comment 9 Solomon Peachy 2023-04-30 16:36:50 UTC
Created attachment 1961236 [details]
File: proc_pid_status

Comment 10 Solomon Peachy 2023-04-30 16:36:52 UTC
Created attachment 1961237 [details]
File: backtrace

Comment 11 Solomon Peachy 2023-04-30 16:36:54 UTC
Created attachment 1961238 [details]
File: core_backtrace

Comment 12 Solomon Peachy 2023-04-30 16:36:56 UTC
Created attachment 1961239 [details]
File: mountinfo

Comment 13 Nick Clifton 2023-05-02 12:26:12 UTC
This looks another instance of this upstream bug report:

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

As a workaround you could probably just skip the invocation of dwp during the build of scummvm.

In the meantime, I will test the patch from the upstream PR.

Comment 14 Nick Clifton 2023-05-02 16:32:55 UTC
Fixed in binutils-2.40-8.fc39, binutils-2.39-12.fc38 and binutils-2.38-27.fc37

Comment 15 Fedora Update System 2023-05-04 14:51:07 UTC
FEDORA-2023-fb366d5ed5 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-fb366d5ed5

Comment 16 Fedora Update System 2023-05-04 14:51:11 UTC
FEDORA-2023-14607e274c has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-14607e274c

Comment 17 Fedora Update System 2023-05-04 14:51:14 UTC
FEDORA-2023-eafe3fad16 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-eafe3fad16

Comment 18 Fedora Update System 2023-05-05 01:30:45 UTC
FEDORA-2023-fb366d5ed5 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-fb366d5ed5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-fb366d5ed5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2023-05-05 01:30:47 UTC
FEDORA-2023-eafe3fad16 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-eafe3fad16`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-eafe3fad16

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2023-05-05 02:22:59 UTC
FEDORA-2023-14607e274c has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-14607e274c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-14607e274c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2023-05-09 01:38:36 UTC
FEDORA-2023-14607e274c has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2023-08-17 01:30:06 UTC
FEDORA-2023-fb366d5ed5 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-fb366d5ed5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-fb366d5ed5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.