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 meador.inge
Recipients amaury.forgeotdarc, belopolsky, meador.inge
Date 2011-10-04.03:57:16
SpamBayes Score 3.106147e-05
Marked as misclassified No
Message-id <1317700637.71.0.186696346618.issue13097@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2011-10-04 03:57:17meador.ingesetrecipients: + meador.inge, amaury.forgeotdarc, belopolsky
2011-10-04 03:57:17meador.ingesetmessageid: <1317700637.71.0.186696346618.issue13097@psf.upfronthosting.co.za>
2011-10-04 03:57:17meador.ingelinkissue13097 messages
2011-10-04 03:57:16meador.ingecreate