[issue13097] ctypes: segfault with large number of callback arguments

2020-05-03 Thread Furkan Onder
Furkan Onder added the comment: The issue continues in python 3.8.2. -- nosy: +furkanonder ___ Python tracker ___ ___

[issue13097] ctypes: segfault with large number of callback arguments

2011-12-14 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: On Thu, Dec 1, 2011 at 2:11 AM, STINNER Victor rep...@bugs.python.org wrote: Is there really an use case where you need 2 ** 20 (1,048,576) arguments? If yes, I'm not against the torture in this case :-) Not very likely :-) However, the

[issue13097] ctypes: segfault with large number of callback arguments

2011-12-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Is there really an use case where you need 2 ** 20 (1,048,576) arguments? If yes, I'm not against the torture in this case :-) If no, why not raising an error if there are too many arguments? E.g. limit to 1,024 arguments or maybe

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-30 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13097 ___ ___

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Right, alloca() could be replaced by some malloc(), but is it really useful? After all, when a C function calls back to Python, all arguments needs to be pushed to the stack anyway. -- ___

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-30 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: On Wed, Nov 30, 2011 at 6:20 AM, Amaury Forgeot d'Arc rep...@bugs.python.org wrote: Right, alloca() could be replaced by some malloc(), but is it really useful?   After all, when a C function calls back to Python, all arguments needs to be

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-30 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13097 ___ ___ Python-bugs-list

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-28 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- assignee: - meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13097 ___ ___ Python-bugs-list

[issue13097] ctypes: segfault with large number of callback arguments

2011-10-09 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: As mentioned in issue12881, this issue is a result of an unbounded 'alloca' call that trashes the stack. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13097

[issue13097] ctypes: segfault with large number of callback arguments

2011-10-03 Thread Meador Inge
New submission from Meador Inge mead...@gmail.com: 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