Bug 24997

Summary: portmap segfaults on extended ulimit
Product: [Retired] Red Hat Linux Reporter: Viraj Alankar <valankar>
Component: portmapAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: jakub
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-30 18:12:48 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
strace of portmap -vd none

Description Viraj Alankar 2001-01-26 00:58:50 UTC
When having the following in root's .bashrc:

ulimit -n 90000

starting portmap, then doing rpcinfo -p causes portmap to crash. Also doing
a:

strace /sbin/portmap -vd

segfaults on a select call with a very large file descriptor set. I don't
know if this is a bug in glibc or portmap. Any help appreciated.

Viraj.

Comment 1 Trond Eivind Glomsrxd 2001-01-30 18:09:00 UTC
It tries a huuuge select call, and dies doing that... jakub?

Comment 2 Trond Eivind Glomsrxd 2001-01-30 18:09:58 UTC
Created attachment 8504 [details]
strace of portmap -vd

Comment 3 Trond Eivind Glomsrxd 2001-01-30 18:12:44 UTC
Note - none of this happens on a rawhidish system w/2.4 kernel and glibc 2.2

Comment 4 Trond Eivind Glomsrxd 2001-02-11 22:34:06 UTC
Fixed in newer versions of Red Hat Linux.