Re: FileSession segfaulting (Was: Re: _apache.emergency_unlock function?)

2005-05-24 Thread Jim Gallacher
Hi dharana, I've been away for a few days, but should have some time to mess around with this today. dharana wrote: More info: It just happens with some classes. Some work and some won't, and I don't yet know why. Do you ever see segfaults if you only saving strings in your session, ra

Re: FileSession segfaulting (Was: Re: _apache.emergency_unlock function?)

2005-05-24 Thread dharana
Hi Jim, Objects of types int, str, unicode, etc don't cause a segfault. Currently I'm storing just a string and an User object of mine. It segfaults when an undetermined ammount of time passes (it may be around 30 mins). It happens even if I'm continually browsing not just staring at the scree

Re: FileSession segfaulting (Was: Re: _apache.emergency_unlock function?)

2005-05-24 Thread Nicolas Lehuen
Hi dharana, I have a two parts answer : 1) One thing I'm really sure is that there is no way for the pickle module to handle the request object correctly. Hence, if the session code is trying to pickle an object which contains a reference to a request object, I have no idea of how this can be done