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


Groups > comp.lang.python > #83713

Re: Track down SIGABRT

Return-Path <israel@ravnalaska.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.025
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'assuming': 0.09; 'debugger': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'itself.': 0.14; 'breakpoint': 0.16; 'exit()': 0.16; 'attach': 0.16; 'extensions': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'packages.': 0.19; '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; 'installed': 0.27; 'am,': 0.29; '(like': 0.30; 'getting': 0.31; 'that.': 0.31; 'url:wiki': 0.31; '13,': 0.31; 'trace': 0.31; 'file': 0.32; 'stuff': 0.32; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; 'there,': 0.34; 'version': 0.36; 'much.': 0.36; 'doing': 0.36; 'charset:us- ascii': 0.36; "i'll": 0.36; 'url:org': 0.36; 'should': 0.36; 'received:10': 0.37; 'process,': 0.38; 'sure': 0.39; 'manually': 0.60; 'here:': 0.62; "you've": 0.63; 'header:Message-Id:1': 0.63; 'pick': 0.64; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'details': 0.65; 'latest': 0.67; 'received:12': 0.81
X-Warning RFC compliance checks disabled due to whitelist
X-Warning Reverse-Path DNS check skipped due to whitelist
X-Warning Maximum message size check skipped due to whitelist
X-Warning Realtime Block Lists skipped due to whitelist
X-Warning System filters skipped due to whitelist
X-Warning Domain filters skipped due to whitelist
X-Warning User filters skipped due to whitelist
X-Warning Anti-Spam check skipped due to whitelist
X-Whitelist 2147483645
X-Envelope-From israel@ravnalaska.net
X-Envelope-To skip.montanaro@gmail.com
Content-Type text/plain; charset=us-ascii
Mime-Version 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject Re: Track down SIGABRT
From Israel Brewster <israel@ravnalaska.net>
In-Reply-To <CANc-5Uzi-0XSJzAMQecNDwdi6RAr7cfj5-vT1-9b5PKsoJW+LQ@mail.gmail.com>
Date Tue, 13 Jan 2015 08:34:27 -0900
Content-Transfer-Encoding quoted-printable
References <B967FFA3-810A-4C9F-A353-A3C5E8C9ED6B@ravnalaska.net> <7FF67692-9F7B-4EE1-AD9F-83DAC545A78A@mac.com> <41D1FC10-000B-4DD7-8C40-12D92F62BC25@ravnalaska.net> <CANc-5Uzi-0XSJzAMQecNDwdi6RAr7cfj5-vT1-9b5PKsoJW+LQ@mail.gmail.com>
To Skip Montanaro <skip.montanaro@gmail.com>
X-Mailer Apple Mail (2.1878.6)
Cc python-list <python-list@python.org>, William Ray Wing <wrw@mac.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17688.1421170470.18130.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421170470 news.xs4all.nl 2847 [2001:888:2000:d::a6]:54010
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:83713

Show key headers only | View raw


On Jan 13, 2015, at 8:26 AM, Skip Montanaro <skip.montanaro@gmail.com> wrote:

> 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

Thanks, I'll look into that. Hopefully running with the debugger attached won't slow things down to much. The main thing I think will be getting the python extensions installed - the instructions only talk about doing this for linux packages.

> 
> Skip

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


Thread

Re: Track down SIGABRT Israel Brewster <israel@ravnalaska.net> - 2015-01-13 08:34 -0900

csiph-web