Bug 1906184

Summary: rpm-ostree crashes on armhfp when installing some packages
Product: [Fedora] Fedora Reporter: Paul Whalen <pwhalen>
Component: rpm-ostreeAssignee: Colin Walters <walters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: antoine.saroufim, dustymabe, jerome, jonathan, lucab, miabbott, pbrobinson, philip.wyett, robertthomasfairley, travier, walters
Target Milestone: ---   
Target Release: ---   
Hardware: armhfp   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-19 17:30:23 UTC Type: Bug
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
rpm-ostree backtrace
none
updated rpm-ostree backtrace none

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. ***