Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.047 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'assuming': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'itself.': 0.14; 'breakpoint': 0.16; 'exit()': 0.16; 'attach': 0.16; 'stack': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'skip': 0.24; 'url:moin': 0.24; 'versions': 0.24; 'header:In-Reply-To:1': 0.27; '(like': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:wiki': 0.31; 'trace': 0.31; 'file': 0.32; 'stuff': 0.32; 'url:python': 0.33; 'running': 0.33; 'there,': 0.34; 'received:google.com': 0.35; 'version': 0.36; 'url:org': 0.36; 'should': 0.36; 'process,': 0.38; 'sure': 0.39; 'manually': 0.60; 'here:': 0.62; "you've": 0.63; 'pick': 0.64; 'more': 0.64; 'details': 0.65; 'latest': 0.67 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OvRgX6zYLS8ts20D6Ht9puwjayiI+swGLH7Oaio/HE0=; b=bVWQUGfmJ4PMVuJ9iiPsr8hww+x/AqNkInhgoN6VZf64xU2U5dFUphsEH0NNQV+Ih3 ASxdfHu+haP+g3HQTQP5p5hXT9t9AbZMA8K5GZbOiqBTMr9aqI/ST4KE2eRu7mPbJJiW N2jCy3JAsLnz4LtCiKOFQG3OqKgvYuzNeaZRfU8CPsjwgoO4kjblTZidxezkku2BzZiu o2Yl0F1FklAKeQcwO9GOc70jgIvTikwAls1DXqnjcxR89z4nBnaKav6NNScGLXaDzn5Y ABUdRDLCGrbIMjICxad/w4OWBHe3x/htY6IUC/U0l6Jhu3By7V/arRIH0ByZByhdZe85 7NnQ== MIME-Version: 1.0 X-Received: by 10.182.71.73 with SMTP id s9mr21863969obu.15.1421170003411; Tue, 13 Jan 2015 09:26:43 -0800 (PST) In-Reply-To: <41D1FC10-000B-4DD7-8C40-12D92F62BC25@ravnalaska.net> References: <7FF67692-9F7B-4EE1-AD9F-83DAC545A78A@mac.com> <41D1FC10-000B-4DD7-8C40-12D92F62BC25@ravnalaska.net> Date: Tue, 13 Jan 2015 11:26:43 -0600 Subject: Re: Track down SIGABRT From: Skip Montanaro To: Israel Brewster Content-Type: text/plain; charset=UTF-8 Cc: python-list , William Ray Wing X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1421170006 news.xs4all.nl 2953 [2001:888:2000:d::a6]:47531 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:83711 Assuming you have gdb available, you should be able to attach to the running process, then set a breakpoint in relevant functions (like exit() or abort()). Once there, you can pick through the C stack manually (kind of tedious) or use the gdbinit file which comes with Python to get a Python stack trace (much less tedious, once you've made sure any version dependencies have been eliminated). Or, with the latest versions of gdb (7.x I think), you get more stuff built into gdb itself. More details here: https://wiki.python.org/moin/DebuggingWithGdb Skip