[Python-Dev] Issue #8863 adds a new PYTHONNOFAULTHANDLER?environment variable (original) (raw)
R. David Murray rdmurray at bitdance.com
Mon Dec 20 19:46:01 CET 2010
- Previous message: [Python-Dev] Issue #8863 adds a new?PYTHONNOFAULTHANDLER?environment variable
- Next message: [Python-Dev] Issue #8863 adds a new PYTHONNOFAULTHANDLER?environment variable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 20 Dec 2010 15:55:57 +0100, Stefan Krah <stefan at bytereef.org> wrote:
Victor Stinner <vstinner at edenwall.com> wrote: > Stefan Krah wrote: > > I think the output is not particularly informative: > > > > $ ./python Lib/test/crashers/gcinspection.py > > (<object object at 0x7f01827ad870>, , , , , , > > , , , ) Fatal Python error: Segmentation fault > > > > Traceback (most recent call first): > > File "Lib/test/crashers/gcinspection.py", line 29 in g > > File "Lib/test/crashers/gcinspection.py", line 32 in > > Segmentation fault > > Segmentation fault
> The backtrace is valid. Don't you think that this backtrace is more useful > than just "Segmentation fault"? Perhaps I misunderstood, but I thought the purpose of the patch was to let developers act more quickly on bug reports. I wonder if this output really speeds up the process. Do you have an example bug where this patch helps in finding the precise location of a segfault?
How is 'line 29 in g' not more precise than 'Segmentation fault'?
Now imagine that this error is being produced from a 20,000 line application program bundle...
-- R. David Murray www.bitdance.com
- Previous message: [Python-Dev] Issue #8863 adds a new?PYTHONNOFAULTHANDLER?environment variable
- Next message: [Python-Dev] Issue #8863 adds a new PYTHONNOFAULTHANDLER?environment variable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]