[pypy-issue] [issue1459] Pypy 2.0 beta 2 with cffi segmentation fault 11
michaelso
tracker at bugs.pypy.org
Thu Apr 18 17:02:25 CEST 2013
New submission from michaelso <pypy at michaelso.com>:
typedef struct message_s{
short payload_len;
char sender_addr[4];
char src_addr[4];
short id;
} message_s;
msg = ffi.new("struct message_s *")
for i in range (30000):
msg.sender_asid = 258
CPython is ok. But Pypy crash with segmentation fault 11
Any thought?
It only crash on "short" but not other
----------
messages: 5594
nosy: michaelso, pypy-issue
priority: bug
release: 2.0
status: unread
title: Pypy 2.0 beta 2 with cffi segmentation fault 11
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1459>
________________________________________
More information about the pypy-issue
mailing list