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


Groups > comp.lang.python > #10975

Re: Segmentation Fault on exit

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python,': 0.01; 'debug': 0.03; 'myself,': 0.09; 'crashes': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; 'advise.': 0.18; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'interface': 0.23; 'module,': 0.23; 'pm,': 0.24; 'aug': 0.24; 'code': 0.25; 'up.': 0.26; 'code,': 0.28; 'sat,': 0.28; 'exit': 0.29; 'message- id:@mail.gmail.com': 0.29; 'but...': 0.30; 'compiling': 0.30; 'thanks': 0.30; 'list': 0.32; 'actual': 0.32; 'people,': 0.32; 'there': 0.33; 'to:addr:python-list': 0.33; "i've": 0.34; 'done': 0.34; 'reference': 0.35; 'file': 0.36; 'none': 0.37; 'but': 0.37; 'somewhat': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'empty': 0.39; 'to:addr:python.org': 0.39; 'results': 0.61; 'back': 0.62; 'hate': 0.73; 'absolutely': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=CFWlSzsiMfbV5cQSu2X/gf8YJtas4cDgKYuBSjrqlKs=; b=eho1gY6n+P83pOlI/Mkp2E1+a0h9/Pg82jv1Sq1VRErp7R0tgqk1rUTLn3zT9L0LmF tCY/QuTe5taHF5dKUU32LFfrrhbTQaIOfRU3ObyXaoiQb/zwqWX6Jt/HjQWwvJk76Btp gOXYr3zf2q4WywuONTSFvc4chbxICThrXlmlo=
MIME-Version 1.0
In-Reply-To <CANMJH-uhEBqp3imj9j_yBRuafJDuFOhJRyx8qmxcfShZHdG=Zw@mail.gmail.com>
References <CANMJH-t13ntKy1cVmOZ6kmON3_aQoO2BZ=4trO5bz7haHyJDHQ@mail.gmail.com> <CAPTjJmrpYzEAzjyFODzkYBGw2fMiWZr_8y3Wd5VtpZ2iwcTSGQ@mail.gmail.com> <CANMJH-vS-rg=FV90Eti9bdETfPDj=Sfa2NOwVXOC4aXWJ_piGQ@mail.gmail.com> <CAPTjJmqHvJ-YOA53B_1ohwgYyUy8WgM-eXOaWcjWbQbS7aw_pg@mail.gmail.com> <CANMJH-uhEBqp3imj9j_yBRuafJDuFOhJRyx8qmxcfShZHdG=Zw@mail.gmail.com>
Date Sat, 6 Aug 2011 17:52:01 +0100
Subject Re: Segmentation Fault on exit
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
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.1982.1312649524.1164.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1312649524 news.xs4all.nl 23862 [2001:888:2000:d::a6]:43043
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:10975

Show key headers only | View raw


On Sat, Aug 6, 2011 at 2:34 PM, Vipul Raheja <vipul.iiith@gmail.com> wrote:
> Here's the link: www.geofemengineering.it/data/master_wrap.cxx
> Thanks and Regards,
> Vipul Raheja

Ugh. Unfortunately that file is somewhat lengthy... I hate to say
"tl;dr" to people, but... is there any way to simplify that down?

Perhaps the best way to proceed would be to make a completely empty
SWIG-Python module, with absolutely none of the actual interface code,
just initializing itself and cleaning up. If that doesn't crash, add
code back in until it crashes on exit again.

Alternatively, you may be able to get good results by compiling a
debug build of Python, with reference tracking. I've never done that
myself, but others on this list will be able to advise.

ChrisA

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


Thread

Re: Segmentation Fault on exit Chris Angelico <rosuav@gmail.com> - 2011-08-06 17:52 +0100

csiph-web