Message30272
A reproducible segfault when using heavily-nested
generators and exceptions.
Unfortunately, I haven't yet been able to provoke this
behaviour with a standalone python2.5 script. There
are, however, no third-party c extensions running in
the process so I'm fairly confident that it is a
problem in the core.
The gist of the code is a series of nested generators
which leave scope when an exception is raised. This
exception is caught and re-raised in an outer loop.
The old exception was holding on to the frame which was
keeping the generators alive, and the sequence of
generator destruction and new finalization caused the
segfault. |
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:43:55 | admin | link | issue1579370 messages |
| 2007-08-23 14:43:55 | admin | create | |
|