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: 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: References: Date: Sat, 6 Aug 2011 17:52:01 +0100 Subject: Re: Segmentation Fault on exit From: Chris Angelico 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sat, Aug 6, 2011 at 2:34 PM, Vipul Raheja wrote: > Here's the link:=A0www.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