[Zope-dev] Very serious problem with Zope 2.4.x !!
Stefano Noferi
stefanomail@noze.it
Fri, 14 Dec 2001 14:32:21 +0100
Hi,
I've a very serious problem with Zope 2.4.x and Python 2.1/2.1.1/2.2b2
running on linux.
Zope auto restart when I call a simple python script with this contents:
------------------start--------------
province =
[('AG','Agrigento'),('AL','Alessandria'),('AN','Ancona'),('AO','Aosta'),('AR
','Arezzo'),('AP','Ascoli
Piceno'),('AT','Asti'),('AV','Avellino'),('BA','Bari'),('BL','Belluno'),('BN
','Benevento'),('BG','Bergamo'),('BI','Biella'),('BO','Bologna'),('BZ','Bolz
ano'),('BS','Brescia'),('BR','Brindisi'),('CA','Cagliari'),('CL','Caltanisse
tta'),('CB','Campobasso'),('CE','Caserta'),('CT','Catania'),('CZ','Catanzaro
'),('CH','Chieti'),('CO','Como'),('CS','Cosenza'),('CR','Cremona'),('KR','Cr
otone'),('CN','Cuneo'),('EN','Enna'),('FE','Ferrara'),('FI','Firenze'),('FG'
,'Foggia'),('FO','Forlė'),('FR','Frosinone'),('GE','Genova'),('GO','Gorizia'
),('GR','Grosseto'),('IM','Imperia'),('IS','Isernia'),('AQ',"L'Aquila"),('SP
','La
Spezia'),('LT','Latina'),('LE','Lecce'),('LC','Lecco'),('LI','Livorno'),('LO
','Lodi'),('LU','Lucca'),('MC','Macerata'),('MN','Mantova'),('MS','Massa
Carrara'),('MT','Matera'),('ME','Messina'),('MI','Milano'),('MO','Modena'),(
'NA','Napoli'),('NO','Novara'),('NU','Nuoro'),('OR','Oristano'),('PD','Padov
a'),('PA','Palermo'),('PR','Parma'),('PV','Pavia'),('PG','Perugia'),('PS','P
esaro e
Urbino'),('PE','Pescara'),('PC','Piacenza'),('PI','Pisa'),('PT','Pistoia'),(
'PN','Pordenone'),('PZ','Potenza'),('PO','Prato'),('RG','Ragusa'),('RA','Rav
enna'),('RC','Reggio Calabria'),('RE','Reggio
Emilia'),('RI','Rieti'),('RN','Rimini'),('RM','Roma'),('RO','Rovigo'),('SA',
'Salerno'),('SS','Sassari'),('SV','Savona'),('SI','Siena'),('SR','Siracusa')
,('SO','Sondrio'),('TA','Taranto'),('TE','Teramo'),('TR','Terni'),('TO','Tor
ino'),('TP','Trapani'),('TN','Trento'),('TV','Treviso'),('TS','Trieste'),('U
D','Udine'),('VA','Varese'),('VE','Venezia'),('VB','Verbania'),('VC','Vercel
li'),('VR','Verona'),('VV','Vibo
Valentia'),('VI','Vicenza'),('VT','Viterbo'),('EE','Stato Estero')]
return province
------------------end---------------
Zope restart with a DTML Method version of this script too.
It's a very serious problem because Zope restart with a segmentation fault.
I've tested this "bug" in Zope 2.4.1, 2.4.2, 2.4.3, 2.5.x... the same
result. ; (
I've posted this bug in Zope Collector ( http://collector.zope.org/Zope/76 )
but I've got no reply..
I suppose it's a problem of Restricted Python machinery that PythonScript
and DTML share.
Compiling python with "--without-pymalloc" option Zope autorestart itself
with a minor frequency.. but it restart.. ; ((
IMPORTANT: I tested it with a NEW Zope instance with simply only one
PythonScript in the root folder with the content I specified.. It restart!!
Solutions?
----------------------------------------------------------
Stefano Noferi
n o z e S.r.l.
Soluzioni Open-Source
Via Caduti del Lavoro, 32
56122 Pisa (PI) - Italy
Tel: +39 (0)50 533320
Fax: +39 (0)50 526604
Email: stefano@noze.it
Web: http://www.noze.it
-= "Whatever you like it to be, it will be" =-
----------------------------------------------------------