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


Groups > comp.lang.python > #83713 > unrolled thread

Re: Track down SIGABRT

Started byIsrael Brewster <israel@ravnalaska.net>
First post2015-01-13 08:34 -0900
Last post2015-01-13 08:34 -0900
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#83713 — Re: Track down SIGABRT

FromIsrael Brewster <israel@ravnalaska.net>
Date2015-01-13 08:34 -0900
SubjectRe: Track down SIGABRT
Message-ID<mailman.17688.1421170470.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web