Bug 1324256

Summary: Package nss-softokn-freebl.x86_64 3.23.0-1.0.fc23 Causes Core Dumps
Product: [Fedora] Fedora Reporter: asender <asender>
Component: nss-softoknAssignee: Kai Engert (:kaie) (inactive account) <kengert>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 23CC: emaldona, kengert, rrelyea
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-18 13:11:42 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:

Description asender@testlabs.com.au 2016-04-06 01:23:04 UTC
Description of problem:

Bug in the following package, causes most programs to core dump, rpm, yum, etc... X will break.

yum install glibc.i686 will pull in the below package as a dependency.

nss-softokn-freebl      x86_64      3.23.0-1.0.fc23         updates      214 k



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. yum install glibc.i686
2. rpm, yum etc.. will core dump
3. X will break.


Apr 06 09:30:57 DEBUG ---> Package glibc.i686 2.22-11.fc23 will be installed
Apr 06 09:30:57 DEBUG ---> Package nss-softokn-freebl.i686 3.23.0-1.0.fc23 will be installed
Apr 06 09:30:57 DEBUG ---> Package glibc-common.x86_64 2.22-7.fc23 will be upgraded
Apr 06 09:30:57 DEBUG ---> Package glibc-common.x86_64 2.22-11.fc23 will be an upgrade
Apr 06 09:30:57 DEBUG ---> Package glibc.x86_64 2.22-7.fc23 will be upgraded
Apr 06 09:30:57 DEBUG ---> Package glibc.x86_64 2.22-11.fc23 will be an upgrade
Apr 06 09:30:57 DEBUG ---> Package glibc-headers.x86_64 2.22-7.fc23 will be upgraded
Apr 06 09:30:57 DEBUG ---> Package glibc-headers.x86_64 2.22-11.fc23 will be an upgrade
Apr 06 09:30:57 DEBUG ---> Package glibc-devel.x86_64 2.22-7.fc23 will be upgraded
Apr 06 09:30:57 DEBUG ---> Package glibc-devel.x86_64 2.22-11.fc23 will be an upgrade
Apr 06 09:30:57 DEBUG ---> Package nss-softokn-freebl.x86_64 3.21.0-1.1.fc23 will be upgraded
Apr 06 09:30:57 DEBUG ---> Package nss-softokn-freebl.x86_64 3.23.0-1.0.fc23 will be an upgrade
Apr 06 09:30:57 DEBUG --> Finished dependency resolution
Apr 06 09:30:57 DDEBUG timer: depsolve: 432 ms
Apr 06 09:30:57 INFO Dependencies resolved.
Apr 06 09:30:57 INFO ================================================================================
 Package                 Arch        Version                 Repository    Size
================================================================================
Installing:
 glibc                   i686        2.22-11.fc23            updates      4.3 M
 nss-softokn-freebl      i686        3.23.0-1.0.fc23         updates      200 k
Upgrading:
 glibc                   x86_64      2.22-11.fc23            updates      3.6 M
 glibc-common            x86_64      2.22-11.fc23            updates       12 M
 glibc-devel             x86_64      2.22-11.fc23            updates      910 k
 glibc-headers           x86_64      2.22-11.fc23            updates      494 k
 nss-softokn-freebl      x86_64      3.23.0-1.0.fc23         updates      214 k

Transaction Summary
================================================================================
Install  2 Packages
Upgrade  5 Packages


Installed:
  glibc.i686 2.22-11.fc23        nss-softokn-freebl.i686 3.23.0-1.0.fc23       

Upgraded:
  glibc.x86_64 2.22-11.fc23                  glibc-common.x86_64 2.22-11.fc23  
  glibc-devel.x86_64 2.22-11.fc23            glibc-headers.x86_64 2.22-11.fc23 
  nss-softokn-freebl.x86_64 3.23.0-1.0.fc23 


Other Notes (IRC)

[10:28:48] <sendro> blah hi all, running fedora23 ; a glibc.i686 was required for dependency... installed it through yum now everything core dumps
[10:29:11] <sendro> strange thing is i did it yesterday on another machine at home and worked fine
[10:29:30] <sendro> not sure how to rescue my system, as chroot everything still core dumps
[10:29:40] <sendro> i removed glibc.i686 with rpm --root 
[10:29:46] <sendro> but still getting core dumps
[10:30:32] <sendro> i think might need to reinstall glibc 64 bit.... any thoughts :(


[10:48:18] <kk4ewt> sendro,  fpaste --sysinfo
[10:49:51] <sendro> thats really cool - http://paste.fedoraproject.org/350121/59903725
[10:53:55] <sendro> kk4ewt: this is what i installed - http://pastebin.com/wpizPkZV 
11:06:36] <sendro> i downgraded nss-softokn-freebl.x86_64 
[11:06:39] <sendro> everything works

Comment 1 Elio Maldonado Batiz 2016-04-06 15:09:41 UTC
I installed glibc.i686, directly not as a dependency of other package,  without problems.

This what I had bore
$ rpm -qa | grep ^nss
nss-debuginfo-3.23.0-1.0.fc23.x86_64
nss-util-3.23.0-1.0.fc23.x86_64
nss-tools-3.23.0-1.0.fc23.x86_64
nss-sysinit-3.23.0-1.0.fc23.x86_64
nss-pkcs11-devel-3.23.0-1.0.fc23.x86_64
nss-softokn-freebl-devel-3.23.0-1.0.fc23.x86_64
nss-softokn-3.23.0-1.0.fc23.x86_64
nss-softokn-debuginfo-3.23.0-1.0.fc23.x86_64
nss-devel-3.23.0-1.0.fc23.x86_64
nss-util-debuginfo-3.23.0-1.0.fc23.x86_64
nss-softokn-devel-3.23.0-1.0.fc23.x86_64
nss-mdns-0.10-16.fc23.x86_64
nss-3.23.0-1.0.fc23.x86_64
nss-softokn-freebl-3.23.0-1.0.fc23.x86_64
nss-util-devel-3.23.0-1.0.fc23.x86_64

Only x86_64 ones.

$ sudo dnf install glibc.i686
... remove something related to Red Hat only....

Last metadata expiration check: 0:01:17 ago on Wed Apr  6 07:57:20 2016.
Dependencies resolved.
====================================================================================================================================
 Package                               Arch                    Version                             Repository                  Size
====================================================================================================================================
Installing:
 glibc                                 i686                    2.22-11.fc23                        updates                    4.3 M
 nss-softokn-freebl                    i686                    3.23.0-1.0.fc23                     updates                    200 k

Transaction Summary
====================================================================================================================================
Install  2 Packages

Total download size: 4.5 M
Installed size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): nss-softokn-freebl-3.23.0-1.0.fc23.i686.rpm                                                  371 kB/s | 200 kB     00:00    
(2/2): glibc-2.22-11.fc23.i686.rpm                                                                  3.6 MB/s | 4.3 MB     00:01    
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               2.9 MB/s | 4.5 MB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : nss-softokn-freebl-3.23.0-1.0.fc23.i686                                                                         1/2 
  Installing  : glibc-2.22-11.fc23.i686                                                                                         2/2 
  Verifying   : glibc-2.22-11.fc23.i686                                                                                         1/2 
  Verifying   : nss-softokn-freebl-3.23.0-1.0.fc23.i686                                                                         2/2 

Installed:
  glibc.i686 2.22-11.fc23                                  nss-softokn-freebl.i686 3.23.0-1.0.fc23                                 

Complete!

Check again.
$ rpm -qa | grep ^nss
nss-debuginfo-3.23.0-1.0.fc23.x86_64
nss-util-3.23.0-1.0.fc23.x86_64
nss-tools-3.23.0-1.0.fc23.x86_64
nss-sysinit-3.23.0-1.0.fc23.x86_64
nss-pkcs11-devel-3.23.0-1.0.fc23.x86_64
nss-softokn-freebl-devel-3.23.0-1.0.fc23.x86_64
nss-softokn-3.23.0-1.0.fc23.x86_64
nss-softokn-debuginfo-3.23.0-1.0.fc23.x86_64
nss-devel-3.23.0-1.0.fc23.x86_64
nss-util-debuginfo-3.23.0-1.0.fc23.x86_64
nss-softokn-devel-3.23.0-1.0.fc23.x86_64
nss-softokn-freebl-3.23.0-1.0.fc23.i686           ----- new
nss-mdns-0.10-16.fc23.x86_64
nss-3.23.0-1.0.fc23.x86_64
nss-softokn-freebl-3.23.0-1.0.fc23.x86_64
nss-util-devel-3.23.0-1.0.fc23.x86_64
[emaldona@dhcp-16-216 ~]$ rpm -qa | grep ^glibc
glibc-devel-2.22-11.fc23.x86_64
glibc-common-2.22-11.fc23.x86_64
glibc-2.22-11.fc23.i686                            ----- new
glibc-headers-2.22-11.fc23.x86_64
glibc-debuginfo-common-2.22-11.fc23.x86_64
glibc-2.22-11.fc23.x86_64
glibc-debuginfo-2.22-11.fc23.x86_64

To be more like what you did I removed glibc.i686 and repeated using yum and also okay.

Comment 2 Fedora Admin XMLRPC Client 2016-08-15 15:51:27 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Kai Engert (:kaie) (inactive account) 2016-11-18 13:11:42 UTC
I don't know if the version you had mentioned had a bug that caused your issue.

I believe the most recent package versions we're shipping shouldn't crash, I assume many people have installed this combination of packages.

If you still can reproduce, please make another comment.