Re: Segmentation Fault on CDLL reloading

2008-08-30 Thread Diez B. Roggisch
Marcus.CM schrieb: Hi, I use the following ctype to load a .so library in Linux. vr = ctypes.CDLL(sstr) And the following to release it so that i can reload the library without quiting the python script. _ctypes.dlclose(vr._handle) These calls are guarded by a writer lock and access to

Segmentation Fault on CDLL reloading

2008-08-30 Thread Marcus.CM
Hi, I use the following ctype to load a .so library in Linux. vr = ctypes.CDLL(sstr) And the following to release it so that i can reload the library without quiting the python script. _ctypes.dlclose(vr._handle) These calls are guarded by a writer lock and access to it guarded by a