Bug 1795896 - Regression in v1.3-stable: unw_step fails if the address was swapped-out
Summary: Regression in v1.3-stable: unw_step fails if the address was swapped-out
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libunwind
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kyle McMartin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-29 07:22 UTC by ki.stfu
Modified: 2020-02-16 01:09 UTC (History)
5 users (show)

Fixed In Version: libunwind-1.3.1-5.fc31 libunwind-1.3.1-5.fc30
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 02:24:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description ki.stfu 2020-01-29 07:22:40 UTC
Description of problem:
Hi! Last week I was trying to get why my tests wont work on Fedora 30/31/32, and it turned out that there is a bug in libunwind v1.3.x that was fixed only in v1.4-rc1. I filled an issue to backport the fix to v1.3-stable branch: https://github.com/libunwind/libunwind/issues/155 .

For now I worry that few latest Fedora releases have this issue, and it may affect our customers. Fortunately other popular linux distros like Debian/Ubuntu/CentOS still use v1.2.

Is it possible to update libunwind to fix this issue? I see the following options:
1) Build libunwind with HAVE_MINCORE disabled in config.h
2) Build libunwind with https://github.com/libunwind/libunwind/commit/05d814b64036b1ea2f0f328b3a985b03559dcf10
3) ?? downgrade to v1.2

Unfortunately libunwind is updated very rarely, and who knows when v1.4 will be released.

For more details about the crash, please see the attached issue.

Comment 1 Fedora Update System 2020-01-31 22:49:11 UTC
FEDORA-2020-c6c6f63047 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c6c6f63047

Comment 2 Fedora Update System 2020-01-31 22:49:13 UTC
FEDORA-2020-43fddbbd8b has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-43fddbbd8b

Comment 3 Fedora Update System 2020-02-01 01:05:15 UTC
libunwind-1.3.1-5.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-43fddbbd8b

Comment 4 Fedora Update System 2020-02-01 02:03:23 UTC
libunwind-1.3.1-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c6c6f63047

Comment 5 ki.stfu 2020-02-04 09:42:53 UTC
Thanks folks, libunwind-1.3.1-5.fc31 works for me now.

Comment 6 Fedora Update System 2020-02-06 02:24:48 UTC
libunwind-1.3.1-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2020-02-16 01:09:10 UTC
libunwind-1.3.1-5.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.