Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1702200

Summary: Segmentation fault: (core dumped) /usr/sbin/build-locale-archive
Product: Red Hat Enterprise Linux 8 Reporter: Bruno Goncalves <bgoncalv>
Component: compat-locales-sapAssignee: Mike FABIAN <mfabian>
Status: CLOSED ERRATA QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: dkutalek, eng-i18n-bugs, kanderso, mfabian, smaitra
Target Milestone: rcFlags: petersen: mirror+
Target Release: 8.0   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1721236 (view as bug list) Environment:
Last Closed: 2019-07-30 19:32:27 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:
Bug Depends On:    
Bug Blocks: 1698464, 1721236    

Description Bruno Goncalves 2019-04-23 08:19:32 UTC
Description of problem:

When upgrading compat-locales-sap a "Segmentation fault" appears.

Version-Release number of selected component (if applicable):
compat-locales-sap-1.0.10-5.el8.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install compat-locales-sap from RHEL-8.0.0 compose
2. Now upgrade it to the version available on RHEL-8.0.1 compose

# dnf upgrade compat-locales-sap
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:01:30 ago on Tue 23 Apr 2019 04:05:20 EDT.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                               Arch                                      Version                                           Repository                                                 Size
===================================================================================================================================================================================================================
Upgrading:
 compat-locales-sap                                    noarch                                    1.0.10-6.el8_0                                    beaker-AppStream-8.0.1                                    302 k

Transaction Summary
===================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 302 k
Is this ok [y/N]: y
Downloading Packages:
compat-locales-sap-1.0.10-6.el8_0.noarch.rpm                                                                                                                                       298 kB/s | 302 kB     00:01    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              297 kB/s | 302 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Upgrading        : compat-locales-sap-1.0.10-6.el8_0.noarch                                                                                                                                                  1/2 
  Cleanup          : compat-locales-sap-1.0.10-5.el8.noarch                                                                                                                                                    2/2 
  Running scriptlet: compat-locales-sap-1.0.10-5.el8.noarch                                                                                                                                                    2/2 
  Running scriptlet: compat-locales-sap-1.0.10-6.el8_0.noarch                                                                                                                                                  2/2 
/var/tmp/rpm-tmp.mbTIPl: line 3: 14494 Segmentation fault      (core dumped) /usr/sbin/build-locale-archive

  Running scriptlet: compat-locales-sap-1.0.10-5.el8.noarch                                                                                                                                                    2/2 
  Verifying        : compat-locales-sap-1.0.10-6.el8_0.noarch                                                                                                                                                  1/2 
  Verifying        : compat-locales-sap-1.0.10-5.el8.noarch                                                                                                                                                    2/2 
Installed products updated.

Upgraded:
  compat-locales-sap-1.0.10-6.el8_0.noarch                                                                                                                                                                         

Complete!



Actual results:
Note: /var/tmp/rpm-tmp.mbTIPl: line 3: 14494 Segmentation fault      (core dumped) /usr/sbin/build-locale-archive

Comment 1 Bruno Goncalves 2019-04-23 08:20:27 UTC
# dnf provides compat-locales-sap
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:13:15 ago on Tue 23 Apr 2019 04:05:20 EDT.
compat-locales-sap-1.0.10-6.el8_0.noarch : Compatibility locales for SAP
Repo        : @System
Matched from:
Provide    : compat-locales-sap = 1.0.10-6.el8_0

compat-locales-sap-1.0.10-5.el8.noarch : Compatibility locales for SAP
Repo        : beaker-AppStream-8.0.0
Matched from:
Provide    : compat-locales-sap = 1.0.10-5.el8

compat-locales-sap-1.0.10-6.el8_0.noarch : Compatibility locales for SAP
Repo        : beaker-AppStream-8.0.1
Matched from:
Provide    : compat-locales-sap = 1.0.10-6.el8_0

Comment 2 Bruno Goncalves 2019-04-23 08:20:47 UTC
[ 2262.172643] User process fault: interruption code 0010 ilc:3 in build-locale-archive[1000000+98000]
[ 2262.172657] Failing address: 000003ffc6418000 TEID: 000003ffc6418800
[ 2262.172659] Fault in primary space mode while using user ASCE.
[ 2262.172662] AS:00000000025381c7 R3:000000002e364007 S:0000000000000020 
[ 2262.172669] CPU: 0 PID: 14494 Comm: build-locale-ar Not tainted 4.18.0-80.el8.s390x #1
[ 2262.172672] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[ 2262.172675] User PSW : 000000009a8ba6df 000000000e42b847
[ 2262.172679]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 RI:0 EA:3
[ 2262.172683] User GPRS: 0000000000000174 0000000000000000 000003ffc6418e70 0000000000000000
[ 2262.172686]            000000000000000f 000003ffc6418e70 000003ffd755ab08 00000000000002c9
[ 2262.172689]            000000000000000c 000003ffad286416 0000000000000000 000003ffd755aa18
[ 2262.172693]            000003ff0000000c 000000000106eb30 000000000100668a 000003ffd755aa08
[ 2262.172703] User Code: 00000000010066ec: e70420000037	vll	%v0,%r4,0(%r2)
                          00000000010066f2: e70000300081	vfene	%v0,%v0,%v0,0,3
                         #00000000010066f8: a784000c		brc	8,1006710
                         >00000000010066fc: e70350000006	vl	%v0,0(%r3,%r5)
                          0000000001006702: a73b0010		aghi	%r3,16
                          0000000001006706: e70000300081	vfene	%v0,%v0,%v0,0,3
                          000000000100670c: a774fff8		brc	7,10066fc
                          0000000001006710: e71000070021	vlgv	%r1,%v0,7,0
[ 2262.172845] Last Breaking-Event-Address:
[ 2262.172886]  [<0000000001006b86>] 0x1006b86

Comment 3 Bruno Goncalves 2019-04-23 08:26:52 UTC
It seems to be fixed on compat-locales-sap-1.0.10-9.el8_0.s390x

# rpm -q compat-locales-sap
compat-locales-sap-1.0.10-6.el8_0.noarch

# dnf upgrade http://download.eng.bos.redhat.com/brewroot/vol/rhel-8/packages/compat-locales-sap/1.0.10/9.el8_0/s390x/compat-locales-sap-1.0.10-9.el8_0.s390x.rpm
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:20:07 ago on Tue 23 Apr 2019 04:05:20 EDT.
compat-locales-sap-1.0.10-9.el8_0.s390x.rpm                                                                                                                                        298 kB/s | 300 kB     00:01    
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                 Arch                                       Version                                                Repository                                         Size
===================================================================================================================================================================================================================
Upgrading:
 compat-locales-sap                                      s390x                                      1.0.10-9.el8_0                                         @commandline                                      300 k

Transaction Summary
===================================================================================================================================================================================================================
Upgrade  1 Package

Total size: 300 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Upgrading        : compat-locales-sap-1.0.10-9.el8_0.s390x                                                                                                                                                   1/2 
  Cleanup          : compat-locales-sap-1.0.10-6.el8_0.noarch                                                                                                                                                  2/2 
  Running scriptlet: compat-locales-sap-1.0.10-6.el8_0.noarch                                                                                                                                                  2/2 
  Verifying        : compat-locales-sap-1.0.10-9.el8_0.s390x                                                                                                                                                   1/2 
  Verifying        : compat-locales-sap-1.0.10-6.el8_0.noarch                                                                                                                                                  2/2 
Installed products updated.

Upgraded:
  compat-locales-sap-1.0.10-9.el8_0.s390x                                                                                                                                                                          

Complete!

Comment 10 errata-xmlrpc 2019-07-30 19:32:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1993