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 screen and it happens almost always.

If I try to store a DynamicWebsite object it segfaults every time and at that moment, no need to wait some minutes.

Background info:

class User(Storable):
# one single method which calls another custom function in another module of mine plus the inherited methods

class DynamicWebsite(Website, Storable):
# a more complex object. The base class Website assigns req to self.req. This child class modifies it in one of it's three methods. Perhaps has something to do? It also import custom modules from some of it's functions.


class Storable(object):
# just an interface to load/save from a db



I will be a bit busy until saturday. I will try to make a testcase then, but it's not trivial.

Perhaps it has to do with circular dependencies with the req object?


Please look at my comment here:

http://issues.apache.org/jira/browse/MODPYTHON-45

I can't see wether this has anything to do with the problem at hand but just in case.


Jim Gallacher wrote:
Hi dharana,

I've been away for a few days, but should have some time to mess around with this today.


--
dharana

Reply via email to