Message144852
Reproducible in 2.7 and tip:
[meadori@motherbrain cpython]$ ./python
Python 3.3.0a0 (default:61de28fa5537+d05350c14e77+, Oct 3 2011, 21:47:04)
[GCC 4.6.0 20110603 (Red Hat 4.6.0-10)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes import *
>>> NARGS = 2 ** 20
>>> proto = CFUNCTYPE(None, *(c_int,) * NARGS)
>>> def func(*args):
... return (1, "abc", None)
...
>>> cb = proto(func)
>>> cb(*(1,) * NARGS)
Segmentation fault (core dumped) |
|
Date |
User |
Action |
Args |
2011-10-04 03:57:17 | meador.inge | set | recipients:
+ meador.inge, amaury.forgeotdarc, belopolsky |
2011-10-04 03:57:17 | meador.inge | set | messageid: <1317700637.71.0.186696346618.issue13097@psf.upfronthosting.co.za> |
2011-10-04 03:57:17 | meador.inge | link | issue13097 messages |
2011-10-04 03:57:16 | meador.inge | create | |
|