Bug 1051894 - semodule segfaults
Summary: semodule segfaults
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-12 16:49 UTC by Branko Grubić
Modified: 2014-03-17 20:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-17 20:03:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
yum history info (5.47 KB, text/plain)
2014-01-12 16:49 UTC, Branko Grubić
no flags Details
gdb trace (2.53 KB, text/plain)
2014-01-12 16:50 UTC, Branko Grubić
no flags Details
bt full (w/ extra symbols) (3.79 KB, text/plain)
2014-01-14 08:29 UTC, Branko Grubić
no flags Details

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.


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