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


Groups > comp.lang.python > #10969

Segmentation Fault on exit

Return-Path <vipul.iiith@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.01; 'log:': 0.04; 'python': 0.08; 'c++': 0.12; 'library': 0.15; '"copyright",': 0.16; '"credits"': 0.16; '"license"': 0.16; '[gcc': 0.16; 'exit()': 0.16; 'linux2': 0.16; '>>>': 0.18; 'help.': 0.19; 'to:2**1': 0.20; 'stuff': 0.22; 'sep': 0.23; 'fine': 0.26; 'import': 0.28; 'message-id:@mail.gmail.com': 0.29; 'to:addr:lists.sourceforge.net': 0.30; 'thanks': 0.30; 'hi,': 0.32; 'to:addr:python-list': 0.33; 'fault': 0.34; 'to:no real name:2**1': 0.35; 'using': 0.37; 'but': 0.37; 'some': 0.38; 'received:google.com': 0.38; 'to:addr:python.org': 0.39; 'received:74.125': 0.39; 'more': 0.60; 'kindly': 0.65; 'skip:v 40': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=vvq4IbBFjfSP/LVbUxWB44/egrTg5Jlr5h8dYLJJcxQ=; b=ps2hgXNxJwdBgo4FtNfIEB/KDdCkhT7u7u1pBU2inRL2cyDPhhaGSlJlFJEM0xMv8p RRaGcdC/79yY7Oz/XZlscDX/OX8sThZVt4gATCozK0dKfyXqw2eUSLqbbQVk/IT4MB0K Jgr7hCiDJ0ulOHW4t9eg2umISGdn4rYUDWD+k=
MIME-Version 1.0
From Vipul Raheja <vipul.iiith@gmail.com>
Date Sat, 6 Aug 2011 16:05:34 +0530
Subject Segmentation Fault on exit
To swig-user@lists.sourceforge.net, python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.1971.1312626956.1164.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1312626956 news.xs4all.nl 23963 [2001:888:2000:d::a6]:53493
X-Complaints-To abuse@xs4all.nl
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:10969

Show key headers only | View raw


Hi,

I have wrapped a library from C++ to Python using SWIG. But when I
import it in Python, I am able to work fine with it, but it gives a
segmentation fault while exiting. Following is the log:

vipul@vipul-laptop:~/ossim-svn/src/pyossim/swig$ python
Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyossim
>>>
* Do some stuff *
>>> exit()
Segmentation fault
vipul@vipul-laptop:~/ossim-svn/src/pyossim/swig$

Kindly help.

Thanks and Regards,
Vipul Raheja

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


Thread

Segmentation Fault on exit Vipul Raheja <vipul.iiith@gmail.com> - 2011-08-06 16:05 +0530
  Re: Segmentation Fault on exit Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-08-08 08:56 +0200
  Re: Segmentation Fault on exit ron <vacorama@gmail.com> - 2011-08-10 07:18 -0700

csiph-web