[MacPorts] #38999: base/src/pextlib1.0/tracelib.c setrlimit failure
MacPorts
noreply at macports.org
Sat May 4 09:59:40 PDT 2013
#38999: base/src/pextlib1.0/tracelib.c setrlimit failure
-------------------------+--------------------
Reporter: ajdudman@… | Owner: cal@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: base | Version: 2.1.3
Resolution: fixed | Keywords:
Port: |
-------------------------+--------------------
Description changed by macsforever2000@…:
Old description:
> Say OSX is 10.8.3 and open files are:
>
> {{{
> ulimit -Sn
> 10240
> ulimit -Hn
> 12288
> }}}
>
> Then the current code will have rl.rlim_max as 12288, which is greater
> than OPEN_MAX. This produces an error in setrlimit() at line 438. See
> the attached log. OSX's setrlimit(2) is tricky and recently its behavior
> has changed. The manual page gives highlights. This problem is analogous
> to closed, fixed Ticket 35612 for bsdmake and the solution is similar.
New description:
Say OSX is 10.8.3 and open files are:
{{{
ulimit -Sn
10240
ulimit -Hn
12288
}}}
Then the current code will have rl.rlim_max as 12288, which is greater
than OPEN_MAX. This produces an error in setrlimit() at line 438. See the
attached log. OSX's setrlimit(2) is tricky and recently its behavior has
changed. The manual page gives highlights. This problem is analogous to
closed, fixed ticket:35612 for bsdmake and the solution is similar.
--
--
Ticket URL: <https://trac.macports.org/ticket/38999#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list