[pypy-issue] Issue #2001: Segfault / Invalid RPython instruction when importing code with native libraries under ulimit (pypy/pypy)

David MacIver issues-reply at bitbucket.org
Tue Mar 17 23:19:23 CET 2015


New issue 2001: Segfault / Invalid RPython instruction when importing code with native libraries under ulimit
https://bitbucket.org/pypy/pypy/issue/2001/segfault-invalid-rpython-instruction-when

David MacIver:

I get a segfault when doing the following:

1. Set a ulimit with "ulimit -v 150000 -v 150000"
2. Run py.test on a file containing just the following two lines:


```
#!python

import sqlite3
import json

```

On both a nightly build and the 2.5.0 release this segfaults. On a nightly with the binaries replaced with ones with assertions enabled I get "Invalid RPython operation (NULL ptr or bad array index)"




More information about the pypy-issue mailing list