Bug 1051894

Summary: semodule segfaults
Product: [Fedora] Fedora Reporter: Branko Grubić <bitlord0xff>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bitlord0xff, dwalsh, mgrepl, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-17 20:03:09 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
yum history info
none
gdb trace
none
bt full (w/ extra symbols) none

Description Branko Grubić 2014-01-12 16:49:42 UTC
Created attachment 848940 [details]
yum history info

Description of problem:
during the update I saw message that 'semodule' segfaulted. 

Version-Release number of selected component (if applicable):
policycoreutils-2.2.5-1.fc20.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Branko Grubić 2014-01-12 16:50:53 UTC
Created attachment 848948 [details]
gdb trace

Comment 2 Branko Grubić 2014-01-12 16:55:22 UTC
I think I did something wrong in gdb with executable file (sorry) 
""/usr/sbin/semanage": not in executable format: File format not recognized", but looks like gdb picks up the right file later (smarter than me!)
"Reading symbols from /usr/sbin/semodule...Reading symbols from /usr/lib/debug/usr/sbin/semodule.debug...done."

Comment 3 Miroslav Grepl 2014-01-13 10:46:09 UTC
Any chance you are out of memory?

Comment 4 Miroslav Grepl 2014-01-13 10:46:57 UTC
If you execute

# yum reinstall selinux-policy-targeted

does it blow up?

Comment 5 Branko Grubić 2014-01-13 21:08:45 UTC
"Any chance you are out of memory?" 
I have 3G of RAM + 4G of swap (and it is mostly ~1.5G used (swap ~100% free))

No, reinstalling 'selinux-policy-targeted' doesn't blow up, reinstalls fine. 

I know it can be a hw. problem I tested memory with memtest86, no issues (~6x (all tests))

Anything useful I can get from those "crash files" (from abrt, I don't like uploading everything, trace is 'generated' from coredump, I can install more debug symbols if needed?)

Comment 8 Miroslav Grepl 2014-01-14 06:50:09 UTC
Ok. So now it works. How about 

# semodule -B 

Basically we would need to have a coredump from the crash.

Comment 9 Branko Grubić 2014-01-14 08:28:05 UTC
No, 'semodule -B' also works, I'm attaching 'bt full', not sure if it can help. Sorry I cannot upload a coredump (if you cannot do much without it, you can close this bug)

Comment 10 Branko Grubić 2014-01-14 08:29:15 UTC
Created attachment 849800 [details]
bt full (w/ extra symbols)

Comment 11 Daniel Walsh 2014-01-14 21:55:01 UTC
So what command is blowing up now?

Comment 12 Branko Grubić 2014-03-17 20:03:09 UTC
This was actually a hw. issue, somehow RAM failed, but it doesn't fail memtest86 on this machine, I tested it in another and one stick fails :S 

Sorry for the noise, and thank you!

I'll close it now.