[ZCM] [ZC] 2329/ 1 Request "Redefining view as view causes Zope crash"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Sun, 27 May 2007 10:25:57 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2329 Update (Request) "Redefining view as view causes Zope crash" Status Pending, Zope/bug medium To followup, visit: http://www.zope.org/Collectors/Zope/2329 ============================================================== = Request - Entry #1 by mj on May 27, 2007 10:25 am Uploaded: "viewcrash.tgz" - http://www.zope.org/Collectors/Zope/2329/viewcrash.tgz/view Re-defining view as view in a tal:define statement causes a bus error, instead of an infinite recursion exception. See the attached test case (drop in $INSTANCESHOME/lib/python, copy or link viewcrash-configure.zcml into $INSTANCE_HOME/etc/package-includes, visit /viewcrash). What happens is that 'view' is called, ending up in a deepening recursion, but somewhere along the way python crashes with a bus error. Apart from the fact that redefining view as view is silly, bus errors indicate a serious C extension or python interpreter bug. ==============================================================