Personal tools
You are here: Home Documentation Developers Zope client crashes without any error

Zope client crashes without any error

by scorcm43 last modified Sep 29, 2010 03:20 PM

If your Zope client crashes and there was no exception or error, it was probably because of a stack overflow. This can happen when the Python stack size is less than the Python recursion limit. If Python gets stuck in an infinite recursive loop that grows beyond the max stack size, it will cause a segmentation fault.

Stack size is defined by your OS and the Python recursion limit is set with: sys.{set|get}recursionlimit()

Source

One cause of this can be defining an attribute using atapi.ATFieldProperty() in your contenttype when the field is set to use AttributeStorage. This causes an infinite recursive loop and can crash the client.

Source

 
Document Actions
  • Print this
  • Bookmarks