Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16432

Re: Python crashes on segmentation error

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'python': 0.08; '>>>>': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:error': 0.09; 'library': 0.13; 'crashes': 0.16; 'segfault.': 0.16; 'thankyou': 0.16; 'unexpectedly': 0.16; 'advance': 0.17; 'extension': 0.21; 'header :In-Reply-To:1': 0.22; 'module': 0.26; 'skip:_ 20': 0.26; 'function': 0.27; 'import': 0.27; 'module.': 0.29; 'looks': 0.29; 'header:User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.33; 'to:addr:python-list': 0.34; 'causing': 0.34; '???': 0.34; 'init': 0.34; 'occurs': 0.34; 'greatly': 0.36; 'thread': 0.37; 'run': 0.37; 'received:org': 0.38; 'received:de': 0.39; 'either': 0.39; 'help': 0.39; 'called': 0.40; 'to:addr:python.org': 0.40; 'here': 0.65; 'crash': 0.67; '177': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Christian Heimes <lists@cheimes.de>
Subject Re: Python crashes on segmentation error
Date Wed, 30 Nov 2011 13:58:41 +0100
References <8bffed0f-1050-418a-834d-f7060a899ab7@h5g2000yqk.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host smtp.semantics.de
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0
In-Reply-To <8bffed0f-1050-418a-834d-f7060a899ab7@h5g2000yqk.googlegroups.com>
X-Enigmail-Version 1.4a1pre
OpenPGP id=AD16AB1B; url=http://cheimes.de/heimes.asc
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3157.1322657937.27778.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1322657937 news.xs4all.nl 6961 [2001:888:2000:d::a6]:36251
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16432

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python crashes on segmentation error Ben Richardson <ben.richardson@gmx.com> - 2011-11-30 02:42 -0800
  Re: Python crashes on segmentation error Christian Heimes <lists@cheimes.de> - 2011-11-30 13:58 +0100
  Re: Python crashes on segmentation error Terry Reedy <tjreedy@udel.edu> - 2011-11-30 17:29 -0500
    Re: Python crashes on segmentation error rusi <rustompmody@gmail.com> - 2011-11-30 21:32 -0800

csiph-web