Return-Path: 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 In-Reply-To: Date: Tue, 13 Jan 2015 08:34:27 -0900 Content-Transfer-Encoding: quoted-printable References: <7FF67692-9F7B-4EE1-AD9F-83DAC545A78A@mac.com> <41D1FC10-000B-4DD7-8C40-12D92F62BC25@ravnalaska.net> To: Skip Montanaro X-Mailer: Apple Mail (2.1878.6) 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: 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 On Jan 13, 2015, at 8:26 AM, Skip Montanaro = 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. >=20 > More details here: >=20 > 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. >=20 > Skip