Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83711
| References | <B967FFA3-810A-4C9F-A353-A3C5E8C9ED6B@ravnalaska.net> <7FF67692-9F7B-4EE1-AD9F-83DAC545A78A@mac.com> <41D1FC10-000B-4DD7-8C40-12D92F62BC25@ravnalaska.net> |
|---|---|
| Date | 2015-01-13 11:26 -0600 |
| Subject | Re: Track down SIGABRT |
| From | Skip Montanaro <skip.montanaro@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17687.1421170006.18130.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Track down SIGABRT Skip Montanaro <skip.montanaro@gmail.com> - 2015-01-13 11:26 -0600
csiph-web