New submission from michaelso <[email protected]>:
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 <[email protected]>
<https://bugs.pypy.org/issue1459>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue