[ZCM] [ZC] 2006/ 1 Request "zope.conf: effective-user breaks clean segfault handling"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Thu Jan 19 04:35:44 EST 2006


Issue #2006 Update (Request) "zope.conf: effective-user breaks clean segfault handling"
 Status Pending, Zope/bug critical
To followup, visit:
  http://www.zope.org/Collectors/Zope/2006

==============================================================
= Request - Entry #1 by ctheune on Jan 19, 2006 4:35 am


I have been hunting a segfault problem for about 6 month now and finally found a way to get deeper into it.

Situation:

A Zope server using ZMySQLDA segfaults every now and then. The mysql C-module is likely to be the hotspot. However, no core dump is every issued, and the threads that did not segfault are hanging around.

Software: Python 2.3.5, Zope 2.7.7, and some other stuff that doesn't look too suspicious.

It happens that additionally to the hanging threads, (which are described as a Python bug for a while ago) no core dump is beeing written.

I finally found that the "effective-user" switch somehow influences this.

When making the server run as the effective user immediately and not using a low port, both things work as expected: all threads are killed (and zdaemon cleanly restarts the server) and a core dump is written.
==============================================================



More information about the Zope-Collector-Monitor mailing list