Bug 915088 - [abrt] policycoreutils-restorecond-2.1.13-55.fc18: pcre_exec: Process /usr/sbin/restorecond was killed by signal 7 (SIGBUS)
Summary: [abrt] policycoreutils-restorecond-2.1.13-55.fc18: pcre_exec: Process /usr/sb...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libselinux
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:eb00e58abb571669fc5b4993752...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-24 17:59 UTC by David Highley
Modified: 2013-05-17 13:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-17 13:36:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (70.03 KB, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details
File: cgroup (168 bytes, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details
File: core_backtrace (886 bytes, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details
File: dso_list (1.90 KB, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details
File: environ (114 bytes, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details
File: limits (1.29 KB, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details
File: maps (8.78 KB, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details
File: open_fds (166 bytes, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details
File: proc_pid_status (888 bytes, text/plain)
2013-02-24 17:59 UTC, David Highley
no flags Details

Description David Highley 2013-02-24 17:59:42 UTC
Description of problem:
As far as we know it happened during a yum update of selinux policies.

Version-Release number of selected component:
policycoreutils-restorecond-2.1.13-55.fc18

Additional info:
backtrace_rating: 4
cmdline:        /usr/sbin/restorecond
crash_function: pcre_exec
executable:     /usr/sbin/restorecond
kernel:         3.7.9-201.fc18.x86_64
remote_result:  NOTFOUND
uid:            0
var_log_messages: Feb 24 09:29:21 douglas abrt[14973]: Saved core dump of pid 848 (/usr/sbin/restorecond) to /var/spool/abrt/ccpp-2013-02-24-09:29:21-848 (1695744 bytes)

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 pcre_exec at pcre_exec.c:6409
 #1 lookup at label_file.c:618
 #2 selabel_lookup_common at label.c:200
 #3 selabel_lookup_raw at label.c:233
 #4 match at restore.c:101
 #5 restore at restore.c:109
 #6 apply_spec at restore.c:289
 #7 process_one at restore.c:349
 #8 process_one_realpath at restore.c:409
 #9 watch_list_find at watch.c:129

Comment 1 David Highley 2013-02-24 17:59:44 UTC
Created attachment 702066 [details]
File: backtrace

Comment 2 David Highley 2013-02-24 17:59:46 UTC
Created attachment 702067 [details]
File: cgroup

Comment 3 David Highley 2013-02-24 17:59:47 UTC
Created attachment 702068 [details]
File: core_backtrace

Comment 4 David Highley 2013-02-24 17:59:49 UTC
Created attachment 702069 [details]
File: dso_list

Comment 5 David Highley 2013-02-24 17:59:50 UTC
Created attachment 702070 [details]
File: environ

Comment 6 David Highley 2013-02-24 17:59:52 UTC
Created attachment 702071 [details]
File: limits

Comment 7 David Highley 2013-02-24 17:59:54 UTC
Created attachment 702072 [details]
File: maps

Comment 8 David Highley 2013-02-24 17:59:55 UTC
Created attachment 702073 [details]
File: open_fds

Comment 9 David Highley 2013-02-24 17:59:56 UTC
Created attachment 702074 [details]
File: proc_pid_status

Comment 10 Michal Schmidt 2013-03-06 12:18:29 UTC
Could be a duplicate of bug 901812.

Comment 11 Daniel Walsh 2013-03-06 17:43:34 UTC
Yes it is the same problem.

Comment 12 Eric Paris 2013-03-06 17:50:31 UTC
In /var/spool/abrt/ccpp-2013-02-24-09:29:21-848 there should be a core dump file.  Can you attach that file?  Can you also include rpm -qa libse\* \*policy\*   ?

Thanks!

Comment 13 Daniel Walsh 2013-03-06 19:05:57 UTC
We have a potential race where we are writing the regex and an app attempts to read it, which this could happen.

libselinux-2.1.12-7.2.fc18  makes this atomic.

Comment 14 David Highley 2013-05-17 13:36:26 UTC
Confirmed fixed with the above version.


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