Amaury Forgeot d Arc <[email protected]> added the comment:
There was a typo, here is the full script.
It does not crash with "--jit off".
import cffi
ffi = cffi.FFI()
ffi.cdef("""
struct message_s {
short payload_len;
char sender_addr[4];
char src_addr[4];
short id;
};
""")
msg = ffi.new("struct message_s *")
for i in range(30000):
msg.id = 258
----------
nosy: +amaury
status: unread -> chatting
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1459>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue