[Zope-dev] Segmentation fault when adding new objects

Morten W. Petersen morten@esol.no
01 Nov 2000 14:06:05 +0100


I'm having trouble with the adding of new objects;  specifically
it's adding of rfc822_address objects (contained within the
ZopeGUM distribution, http://www.zope.org/Members/morphex/ZopeGUM).

I haven't really got a clue what's wrong, have any of you?

-- Start debugging session

> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(244)index_object()
-> old = d.has_key
pdb>
> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(245)index_object()
-> last = None
pdb>
> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(253)index_object()
-> src = self.getLexicon(self._lexicon).Splitter(k)
pdb>
> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(186)getLexicon()
-> def getLexicon(self, vocab_id):
pdb>
> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(192)getLexicon()
-> """
pdb>
> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(193)getLexicon()
-> if type(vocab_id) is not type(""):
pdb>
> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(196)getLexicon()
-> vocab = getattr(self, vocab_id)
pdb>
> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(197)getLexicon()
-> return vocab.lexicon
pdb>
--Return--
> /usr/local/Zope/lib/python/SearchIndex/UnTextIndex.py(197)getLexicon()-><Globbin... 89f3e28>
-> return vocab.lexicon
pdb>
> /usr/local/Zope/lib/python/SearchIndex/GlobbingLexicon.py(242)Splitter()
-> def Splitter(self, astring, words=None):
pdb>
> /usr/local/Zope/lib/python/SearchIndex/GlobbingLexicon.py(243)Splitter()
-> """ wrap the splitter """
pdb>
> /usr/local/Zope/lib/python/SearchIndex/GlobbingLexicon.py(248)Splitter()
-> return Splitter(astring)
pdb>
--Return--
Segmentation fault
morten@slakka:/usr/local/Zope/lib/python >

-- End debugging session

-Morten