Bug 1906184 - rpm-ostree crashes on armhfp when installing some packages
Summary: rpm-ostree crashes on armhfp when installing some packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm-ostree
Version: 34
Hardware: armhfp
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1900382 1906054 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-09 20:47 UTC by Paul Whalen
Modified: 2021-05-18 09:43 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-04-19 17:30:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
rpm-ostree backtrace (17.41 KB, text/plain)
2020-12-09 20:47 UTC, Paul Whalen
no flags Details
updated rpm-ostree backtrace (19.55 KB, text/plain)
2020-12-09 21:12 UTC, Paul Whalen
no flags Details

Description Paul Whalen 2020-12-09 20:47:07 UTC
Description of problem:
When attempting to install some packages (for example fail2ban) in Fedora IoT on armhfp, rpm-ostree crashes

           PID: 809 (rpm-ostree)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Wed 2020-12-09 18:19:28 UTC (1h 56min ago)
  Command Line: /usr/bin/rpm-ostree start-daemon
    Executable: /usr/bin/rpm-ostree
 Control Group: /system.slice/rpm-ostreed.service
          Unit: rpm-ostreed.service
         Slice: system.slice
       Boot ID: 82496955662b438ea4667e4b59858df0
    Machine ID: 6868294b3ee1441ea7778fdaa16a5283
      Hostname: rpi3-2
       Storage: /var/lib/systemd/coredump/core.rpm-ostree.0.82496955662b438ea4667e4b59858df0.809.1607537968000000.zst
       Message: Process 809 (rpm-ostree) of user 0 dumped core.
                
                Stack trace of thread 1735:
                #0  0x00000000b62d3d60 strchrnul (libc.so.6 + 0x80d60)

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb62d3d60 in __strchrnul (s=<optimized out>, c_in=<optimized out>) at strchrnul.c:118
118	      longword = *longword_ptr++;


Version-Release number of selected component (if applicable):
rpm-ostree-2020.8-1.fc33.armv7hl

How reproducible:
Happens everytime with fail2ban on armhfp

Steps to Reproduce:
1. rpm-ostree install fail2ban

Comment 1 Paul Whalen 2020-12-09 20:47:52 UTC
Created attachment 1738027 [details]
rpm-ostree backtrace

Comment 2 Paul Whalen 2020-12-09 21:12:31 UTC
Created attachment 1738053 [details]
updated rpm-ostree backtrace

Comment 3 Jonathan Lebon 2020-12-09 21:12:50 UTC
Thanks, this is the first usable backtraces we have for this!
I opened https://github.com/coreos/rpm-ostree/pull/2369 which I think might address this.

Comment 4 Jonathan Lebon 2020-12-09 21:15:52 UTC
*** Bug 1900382 has been marked as a duplicate of this bug. ***

Comment 5 Ben Cotton 2021-02-09 15:33:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 6 Paul Whalen 2021-04-19 17:30:23 UTC
This is fixed, closing.

Comment 7 Luca BRUNO 2021-05-18 09:43:46 UTC
*** Bug 1906054 has been marked as a duplicate of this bug. ***


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