Bug 962178

Summary: [abrt] ypserv-2.29-8.fc18: __strdup: Process /usr/lib64/yp/revnetgroup was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Lukáš Nykrýn <lnykryn>
Component: ypservAssignee: Honza Horak <hhorak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: hhorak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4431b48b7ec9fb34f263b47f233037927967b67b
Fixed In Version: ypserv-2.31-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-27 11:06:42 UTC Type: ---
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
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
Patch that stops netgroup expansion when it reaches a recursion limit none

Description Lukáš Nykrýn 2013-05-12 10:39:03 UTC
Description of problem:
I have changed /etc/netgroup to:

group1 (a,b,c) (d,,) (e,-,f)
group2 (x,y,z) (j,k,-)

group3 group1 group2
group4 group2
groupa (g,h,i) groupb
groupb groupa (t,u,v)

and then just
cd /var/yp
make

Version-Release number of selected component:
ypserv-2.29-8.fc18

Additional info:
backtrace_rating: 4
cmdline:        /usr/lib64/yp/revnetgroup -h
crash_function: __strdup
executable:     /usr/lib64/yp/revnetgroup
kernel:         3.8.9-200.fc18.x86_64
uid:            0
ureports_counter: 1

Truncated backtrace:
Thread no. 1 (2 frames)
 #2 __strdup at strdup.c:42
 #3 rev_expand_netgroupentry at getnetgrent.c:160

Comment 1 Lukáš Nykrýn 2013-05-12 10:39:12 UTC
Created attachment 746833 [details]
File: backtrace

Comment 2 Lukáš Nykrýn 2013-05-12 10:39:20 UTC
Created attachment 746834 [details]
File: cgroup

Comment 3 Lukáš Nykrýn 2013-05-12 10:39:23 UTC
Created attachment 746835 [details]
File: core_backtrace

Comment 4 Lukáš Nykrýn 2013-05-12 10:39:26 UTC
Created attachment 746836 [details]
File: dso_list

Comment 5 Lukáš Nykrýn 2013-05-12 10:39:28 UTC
Created attachment 746837 [details]
File: environ

Comment 6 Lukáš Nykrýn 2013-05-12 10:39:31 UTC
Created attachment 746838 [details]
File: limits

Comment 7 Lukáš Nykrýn 2013-05-12 10:39:33 UTC
Created attachment 746839 [details]
File: maps

Comment 8 Lukáš Nykrýn 2013-05-12 10:39:36 UTC
Created attachment 746840 [details]
File: open_fds

Comment 9 Lukáš Nykrýn 2013-05-12 10:39:39 UTC
Created attachment 746841 [details]
File: proc_pid_status

Comment 10 Lukáš Nykrýn 2013-05-12 10:39:41 UTC
Created attachment 746842 [details]
File: var_log_messages

Comment 11 Honza Horak 2013-05-17 14:00:23 UTC
Created attachment 749353 [details]
Patch that stops netgroup expansion when it reaches a recursion limit

This patch has been sent to upstream, I'll wait for the respond.