Python crashes on segmentation error

Christian Heimes lists at cheimes.de
Wed Nov 30 07:58:41 EST 2011


Am 30.11.2011 11:42, schrieb Ben Richardson:
> Python crashes every time i run the following command…
> 
>>>> import cv
> Segmentation fault: 11
> 
> Python quit unexpectedly - any help would be greatly appreciated -
> thankyou in advance :)
> 
> Here is crash report…
[...]
> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   ???                           	000000000000000000 0 + 0
> 1   org.python.python             	0x00000001006c7885 PyImport_Import
> + 121
> 2   org.python.python             	0x00000001006c7a1e
> PyImport_ImportModule + 32
> 3   cv.so                         	0x00000001004f5082 initcv + 18
> 4   org.python.python             	0x00000001000dc071
> _PyImport_LoadDynamicModule + 177

It looks like you have a faulty 3rd party library with an extension
module called cv.so that is causing the segfault. The segfault occurs
either inside or during the import of the cv module. initcv() is the
init function of the cv module that is called automatically during the
import.

Christian




More information about the Python-list mailing list