1. Python CFFI
  2. Untitled project
  3. cffi
  4. Issues
Issue #78 resolved

Pypy 2.0 beta 2 with cffi segmentation fault 11

Anonymous created an issue

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

Comments (3)

  1. Log in to comment