[Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2 (original) (raw)
skip at pobox.com skip at pobox.com
Sun Dec 21 18:53:18 CET 2008
- Previous message: [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2
- Next message: [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2
- Next message: [Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]