Server crashes in cc_oid_unreferenced()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Low
|
Unassigned |
Bug Description
Under load a specific Zope-Instance running under Linux on an AMD64 machine frequently causes SEGFAULTs. Zope 2.9.8, Python 2.4, PsycoPG and PIL were freshly compiled from source, yet the problem persists. A gdb backtrace of several crashes is attached. Other Zope-Instances on the same machine are not affected.
The Products Folder contains:
drwxr-xr-x 8 zope users 4096 2007-10-31 11:16 CMFActionIcons
drwxr-xr-x 9 zope users 4096 2007-10-31 11:16 CMFCalendar
drwxr-xr-x 9 zope users 4096 2007-10-31 11:16 CMFCore
drwxr-xr-x 12 zope users 4096 2007-10-31 11:16 CMFDefault
drwxr-xr-x 6 zope users 4096 2007-10-31 11:16 CMFSetup
drwxr-xr-x 7 zope users 4096 2007-10-31 11:16 CMFTopic
drwxr-xr-x 5 zope users 4096 2007-10-31 11:16 CMFUid
drwxr-sr-x 4 zope users 4096 2007-11-06 11:46 CookieCrumbler
drwxr-xr-x 7 zope users 4096 2007-10-31 11:20 DCWorkflow
drwxr-sr-x 2 zope users 4096 2008-01-28 21:26 DeadlockDebugger
drwx--Sr-x 4 zope users 4096 2007-11-24 11:05 Epoz
drwxr-xr-x 6 zope users 4096 2007-11-24 11:05 ExternalEditor
drwxr-xr-x 7 zope users 4096 2007-11-24 11:05 Localizer
-rw-r--r-- 1 zope users 170 2008-02-19 13:22 README.txt
drwxr-sr-x 3 zope users 4096 2008-02-19 15:18 TranslationService
drwxr-sr-x 2 zope users 4096 2008-02-19 15:18 ZNagios
drwxr-sr-x 3 zope users 4096 2008-02-17 14:57 ZPsycopgDA
The import statemenst in all external Methods are:
from base64 import encodestring
from DateTime import *
from DateTime import DateTime
from DocumentTemplate import HTML
from email.Header import Header
from htmlentitydefs import entitydefs # our entity defs list to use
from HTMLParser import HTMLParser,
from math import floor
from os import popen
from PIL import Image
from popen2 import popen2
from re import match
from string import *
from string import atoi
from string import atoi, atof
from string import atoi, atof, split, find
from string import atoi, atof, split, join
from string import find
from string import join
from string import lower,find
from string import replace
from string import split
from string import split, atoi
from string import strip
from StringIO import StringIO
from StructuredText import HTML
from tempfile import NamedTemporaryFile
from whrandom import choice
from whrandom import randint
from ZODB.POSException import POSKeyError
import cStringIO
import difflib
import httplib
import os
import PIL.Image
import PIL.Image, PIL.ImageDraw, PIL.ImageFont
import re
import regex
import re, string
import rfc822, string
import smtplib
import string
import StringIO
Changed in zope2: | |
status: | New → Triaged |
importance: | Undecided → Low |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
paul.brettschneider wrote: launchpadlibrar ian.net/ 12164156/ zope_segfaults. txt
> ** Attachment added: "gdb backtraces"
> http://
The segfault appears to be occurring during Python garbage collection.
Debugging this is going to require more information, I'm afraid:
- Rebuild Python with debugging support ('./configure --with-pydebug').
- Rebuild the C-extension modules (PIL, PsycoPG).
- Check the libraries that your Python and the C extensions are
linked against (via 'ldd').
If nothing jumps out at you after doing this work, then you will likely
need to use 'gdb' to investigate some of the objects involved on the
stack of the setgaulting thread. See:
http:// wiki.python. org/moin/ DebuggingWithGd b
In particular, the gdb macros shipped with Python are useful for examing
objects in the C stackframe.
Tres. ======= ======= ======= ======= ======= ======= ======= ======= ==== palladion. com enigmail. mozdev. org
- --
=======
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFHwF4/ +gerLs4ltQ4RAsF iAJ9dQTTaPnp27C igPrhmci6QfEC5x QCghFRP rJncMTMWY=
+Ut5wHThjSYV7/
=RrR4
-----END PGP SIGNATURE-----