Re: Segfault when setting an instance property on 2.7.3

2012-08-26 Thread Vincent Pelletier
Le samedi 25 août 2012 11:38:47, Vincent Pelletier a écrit : > Any idea of ways to debug this problem further ? Trying with pypy ("just to see"), I got even more reproductible segfaults - even with valgrind. Turns out, I was not keeping strong references to ctypes buffers, which get very quickl

Segfault when setting an instance property on 2.7.3

2012-08-25 Thread Vincent Pelletier
Hi. (please keep me in CC for replies, I'm not subscribed) I wrote a ctypes-(wait, read on)-based binding[1] for libusb1, in which I'm triggering a segfault from an application[2] I wrote. I've been through several segfault caused by ctypes mis-usage, this one seems different enough. I think t