This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author v2m
Recipients marche147, ned.deily, ronaldoussoren, v2m
Date 2018-09-08.02:56:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536375394.25.0.56676864532.issue34602@psf.upfronthosting.co.za>
In-reply-to
Content
I can repro it with a given sample file 
```
vladima-mbp $ cat test.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/resource.h>

int main() {
  struct rlimit rl;
  if(getrlimit(RLIMIT_STACK, &rl) < 0) {
    perror("getrlimit");
    exit(1);
  }

  rl.rlim_cur = rl.rlim_max;
  if(setrlimit(RLIMIT_STACK, &rl) < 0) {
    perror("setrlimit");
    exit(1);
  }
  return 0;
}vladima-mbp $ gcc   -Wl,-stack_size,1000000   -o test test.c
vladima-mbp $ ./test
setrlimit: Invalid argument
```
Similar settings were added to Python in https://github.com/python/cpython/commit/335ab5b66f4
History
Date User Action Args
2018-09-08 02:56:34v2msetrecipients: + v2m, ronaldoussoren, ned.deily, marche147
2018-09-08 02:56:34v2msetmessageid: <1536375394.25.0.56676864532.issue34602@psf.upfronthosting.co.za>
2018-09-08 02:56:34v2mlinkissue34602 messages
2018-09-08 02:56:34v2mcreate