_apache._global_lock results in segfault when index > number of mutexes
---
Key: MODPYTHON-58
URL: http://issues.apache.org/jira/browse/MODPYTHON-58
Project: mod_python
Type: Bug
Components: core
[ http://issues.apache.org/jira/browse/MODPYTHON-58?page=all ]
Jim Gallacher updated MODPYTHON-58:
---
Description:
All of the following calls will cause a segfault when the index is greater than
the number of global mutexes available or index < -1.
eg.
[ http://issues.apache.org/jira/browse/MODPYTHON-58?page=all ]
Jim Gallacher updated MODPYTHON-58:
---
Attachment: apachemodule.c-jg20050601-1.diff
Patch to fix issue is attached.
> _apache._global_lock results in segfault when index > number of mutexes
Hi Nicolas,
I've been working on the elusive request.get_session() session handling
mechanism and was trying to track down some issues with memory leaks and
segfaults (c extension code - yuck) when I spotted the problem with
_global_lock and it's siblings.
I don't think _global_lock will be