A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-December/084512.html below:

[Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2

[Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2 [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2skip at pobox.com skip at pobox.com
Sun Dec 21 18:53:18 CET 2008
    Stijn> any hints what might cause this (or how i can figure it out). i
    Stijn> have a coredump, but have no clue what to look for.

I can reproduce it on my Mac.  The croak happens while it is attempting to
raise the exception about a bad file descriptor.  Unfortunately, in
PyErr_Restore the call to PyThreadState_GET() returns NULL which means that
_PyThreadState_Current is NULL.  I see no differences between pystate.[ch]
in the 2.5 and 2.6 branches.  There must be something different about the
way PyThreadState_Swap or PyThreadState_DeleteCurrent are used.  Those are
the only two routines which appear to set it.  

Did this not happen with 2.5.2?

-- 
Skip Montanaro - skip at pobox.com - http://smontanaro.dyndns.org/
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4