Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1663054 - dtc "Segmentation fault" on Raspberry Pi 3B+
Summary: dtc "Segmentation fault" on Raspberry Pi 3B+
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dtc
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-02 22:26 UTC by Steve
Modified: 2019-01-22 01:34 UTC (History)
6 users (show)

Fixed In Version: dtc-1.4.7-2.fc29 dtc-1.4.7-2.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-18 02:14:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve 2019-01-02 22:26:50 UTC
Description of problem:
This crashes with a "Segmentation fault" on a Raspberry Pi 3B+:

$ sudo dtc -I fs /proc/device-tree

Reported in Bug 1661961, Comment 22. See the associated Attachment 1517970 [details].

Version-Release number of selected component (if applicable):
Name         : dtc
Version      : 1.4.7
Release      : 1.fc29
Arch         : armv7hl

How reproducible:
Always.

Additional info:

I reproduced the crash in an armv7l VM (virt-manager/qemu) on an F28 x86_64 host.

The dtc command is cited by PhilE (Raspberry Pi Engineer & Forum Moderator) in a post at raspberrypi.org:
https://www.raspberrypi.org/forums/viewtopic.php?p=1404200#p1298259

Comment 1 Steve 2019-01-02 22:46:14 UTC
kernel 4.19.10-300.fc29.armv7hl per Bug 1661961, Comment 18.

Comment 2 Greg Kurz 2019-01-15 17:29:35 UTC
This is fixed upstream by the following commit:

commit 9619c8619c37b9aea98100bcc15c51a5642e877e
Author: Greg Kurz <groug>
Date:   Thu Aug 30 12:01:59 2018 +0200

    Kill bogus TYPE_BLOB marker type

https://github.com/dgibson/dtc/commit/9619c8619c37b9aea98100bcc15c51a5642e877e

It got merged quite early after 1.4.7 so I believe it should be easy to
apply on top of the official tarball.

Cheers,

--
Greg

Comment 3 Fedora Update System 2019-01-16 12:07:08 UTC
dtc-1.4.7-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-507e89ccbe

Comment 4 Fedora Update System 2019-01-16 12:07:11 UTC
dtc-1.4.7-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4384e1aee2

Comment 5 Fedora Update System 2019-01-17 02:11:21 UTC
dtc-1.4.7-2.fc29 has been pushed to the Fedora 29 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-2019-4384e1aee2

Comment 6 Fedora Update System 2019-01-17 02:50:27 UTC
dtc-1.4.7-2.fc28 has been pushed to the Fedora 28 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-2019-507e89ccbe

Comment 7 Fedora Update System 2019-01-18 02:14:03 UTC
dtc-1.4.7-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2019-01-22 01:34:44 UTC
dtc-1.4.7-2.fc28 has been pushed to the Fedora 28 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.