Bug 24997 - portmap segfaults on extended ulimit
Summary: portmap segfaults on extended ulimit
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: portmap   
(Show other bugs)
Version: 6.2
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Aaron Brown
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-26 00:58 UTC by Viraj Alankar
Modified: 2007-04-18 16:30 UTC (History)
1 user (show)

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: ---


Attachments (Terms of Use)
strace of portmap -vd (71.25 KB, text/plain)
2001-01-30 18:09 UTC, Trond Eivind Glomsrxd
no flags Details

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.


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