[Python-Dev] Need help in debugging the python core
Sajjanshetty, Amresh
Amresh.Sajjanshetty at netapp.com
Fri Sep 2 14:36:34 EDT 2016
Surprisingly I’m not seeing the core dump/crash after adding ‘faulthandler.enable()’ . Would it catch the signal and ignore by default?
Thanks and Regards,
Amresh
From: Burkhard Meier <burkhardameier at gmail.com>
Date: Friday, September 2, 2016 at 11:19 PM
To: Victor Stinner <victor.stinner at gmail.com>
Cc: Amresh Sajjanshetty <Amresh.Sajjanshetty at netapp.com>, "python-dev at python.org" <python-dev at python.org>
Subject: Re: [Python-Dev] Need help in debugging the python core
How could I help?
Burkhard
On Fri, Sep 2, 2016 at 10:47 AM, Victor Stinner <victor.stinner at gmail.com<mailto:victor.stinner at gmail.com>> wrote:
Oh, I forgot to mention that it would help to get the Python traceback
on the crash. Try faulthandler: add faulthandler.enable() at the
beginning of your program.
https://docs.python.org/dev/library/faulthandler.html
Maybe I should write once tools to debug such bug :-)
Victor
_______________________________________________
Python-Dev mailing list
Python-Dev at python.org<mailto:Python-Dev at python.org>
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/burkhardameier%40gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160902/ef83f0a2/attachment.html>
More information about the Python-Dev
mailing list