Mailing List Archive

Zope-2.13 Crashes / Acquisition
Hi,


recently we've been seeing crashes of our zope-2.13.23 server (x64
Linux, python-2.7.11):

Sep 2 15:48:09 bach-s97 kernel: runzope[3894]: \
segfault at 7f98f5134054 ip 00007f990a904bc5 sp 00007f98f6a3efb0 \
error 4 in _Acquisition.so[7f990a900000+8000]

The reason for this is a bug in _Acquisition.c, which has already been
fixed by jamadden:

https://github.com/zopefoundation/Acquisition/issues/5

But: the new Acquisition release including that patch is 4.2.2. And if
we try to use that in our zope-2.13 buildout, we seem to get lost in
the dependency hell;-)

For the sake of the zope-2.13 user, would it be possible to apply the
fix to the 2.13 branch of Acquisition (it applies cleanly, we did that
locallly) and release a 2.13.10 version? If i could be of any help
please let me know...


Thanks,


\wlang{}

--
Willi.Langenberger@wu.ac.at Fax: +43/1/31336/90702
IT-Services, WU Wirtschaftsuniversitaet Wien, Austria
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )
Re: Zope-2.13 Crashes / Acquisition [ In reply to ]
Hi.

Acquisition 2.13.10 with those changes backported is up on PyPi:
https://pypi.python.org/pypi/Acquisition/2.13.10

Best,
Hanno

On Mon, Sep 5, 2016, at 11:26, Willi Langenberger wrote:
> Hi,
>
>
> recently we've been seeing crashes of our zope-2.13.23 server (x64
> Linux, python-2.7.11):
>
> Sep 2 15:48:09 bach-s97 kernel: runzope[3894]: \
> segfault at 7f98f5134054 ip 00007f990a904bc5 sp 00007f98f6a3efb0 \
> error 4 in _Acquisition.so[7f990a900000+8000]
>
> The reason for this is a bug in _Acquisition.c, which has already been
> fixed by jamadden:
>
> https://github.com/zopefoundation/Acquisition/issues/5
>
> But: the new Acquisition release including that patch is 4.2.2. And if
> we try to use that in our zope-2.13 buildout, we seem to get lost in
> the dependency hell;-)
>
> For the sake of the zope-2.13 user, would it be possible to apply the
> fix to the 2.13 branch of Acquisition (it applies cleanly, we did that
> locallly) and release a 2.13.10 version? If i could be of any help
> please let me know...
>
>
> Thanks,
>
>
> \wlang{}
>
> --
> Willi.Langenberger@wu.ac.at Fax: +43/1/31336/90702
> IT-Services, WU Wirtschaftsuniversitaet Wien, Austria
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> https://mail.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope )
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )
Re: Zope-2.13 Crashes / Acquisition [ In reply to ]
Hanno,

According to Hanno Schlichting:
> Acquisition 2.13.10 with those changes backported is up on PyPi:
> https://pypi.python.org/pypi/Acquisition/2.13.10

great, thank you *very* much for the quick help!


\wlang{}

> > recently we've been seeing crashes of our zope-2.13.23 server (x64
> > Linux, python-2.7.11):
> >
> > Sep 2 15:48:09 bach-s97 kernel: runzope[3894]: \
> > segfault at 7f98f5134054 ip 00007f990a904bc5 sp 00007f98f6a3efb0 \
> > error 4 in _Acquisition.so[7f990a900000+8000]
> >
> > The reason for this is a bug in _Acquisition.c, which has already been
> > fixed by jamadden:
> >
> > https://github.com/zopefoundation/Acquisition/issues/5
> >
> > But: the new Acquisition release including that patch is 4.2.2. And if
> > we try to use that in our zope-2.13 buildout, we seem to get lost in
> > the dependency hell;-)
> >
> > For the sake of the zope-2.13 user, would it be possible to apply the
> > fix to the 2.13 branch of Acquisition (it applies cleanly, we did that
> > locallly) and release a 2.13.10 version? If i could be of any help
> > please let me know...

--
Willi.Langenberger@wu.ac.at Fax: +43/1/31336/90702
IT-Services, WU Wirtschaftsuniversitaet Wien, Austria
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )
Re: Zope-2.13 Crashes / Acquisition [ In reply to ]
According to Willi Langenberger:
> According to Hanno Schlichting:
> > Acquisition 2.13.10 with those changes backported is up on PyPi:
> > https://pypi.python.org/pypi/Acquisition/2.13.10
>
> great, thank you *very* much for the quick help!

However, the distribution of the new 2.13.10 package seems to lack
this file:

src/Acquisition/README.txt

which prevents the installation:

slime:/var/tmp/Acquisition-2.13.10$ /usr/bin/python2.7 setup.py
Traceback (most recent call last):
File "setup.py", line 28, in <module>
os.path.join('src', 'Acquisition', 'README.txt')).read() + '\n' +
IOError: [Errno 2] No such file or directory: 'src/Acquisition/README.txt'

Sorry, that this turns out to be more painful than expected :-(


\wlang{}

--
Willi.Langenberger@wu.ac.at Fax: +43/1/31336/90702
IT-Services, WU Wirtschaftsuniversitaet Wien, Austria
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )
Re: Zope-2.13 Crashes / Acquisition [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/05/2016 08:59 AM, Hanno Schlichting wrote:

> Acquisition 2.13.10 with those changes backported is up on PyPi:
> https://pypi.python.org/pypi/Acquisition/2.13.10

Needs either `package_data`, a `MANIFEST.in`, or make the distribution
using `setuptools-git`.


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXzbjeAAoJEPKpaDSJE9HY+cQP/3fgDjAHCJay84qh/A87Wdh4
rfMGzZsfPNQcGhgGW29Mx5E8FpZroRcuRU7XHwo9EOkV0rT4jNJiaZtNUq8IlC0o
3AlKc9YjW3zRwgSmrRq1GhKKA/SnXUC3zOUc0bfGuBOOQ/dcpxhHBEfJM8K3FsGu
gFH7U+EF3e7bj21BvYobX5pN45KCC3995UHVM5pDNtQ7Y8GjmndxLTdfBZxGOdJA
B9VFPc8m/COrkEbq4a1jQQYWDFRiksROB7nIfaRwj2uk60wLFeUajkOgl3ClFutq
D4SRTtPYIhvbc8k8XKZfEngrPwaPA8jhVhaNkluJEKYTMjQUK6azL2ZrEso0Q/iW
WvM721hWZCo5/i3Vcpfm6V53jyzxmgoxAGphdM/vE/YZOjqEZ3kGLi1L5hA39hcO
tTBmU2m6b9Os1iZLvXT46YYYP06J9MwAw3xDFSJwtB2nwNRcr97bS/+I3ZT1FS/T
KaAombGOFyioSLc29Xho5XY1jWRRnZB1uFPbxKBjVNau0VLfymaCpQvIElTIQbhY
t1Zc0DBdrB5s8ZjWCDNypy3I9MOo47OkyG5eGAv7Tw+3ht/HsPMvxYWkG9MF8y5W
WAdkYb5NIGfgHRKBrKz7OZct7PMnqYQR77ayVO7/Skw0d/+4UjHzj3N+/44QyG8t
twLpEsMyClMY9gJ1Xftr
=1j64
-----END PGP SIGNATURE-----

_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )
Re: Zope-2.13 Crashes / Acquisition [ In reply to ]
Hi again,

I've released a new 2.13.11 adding a MANIFEST.in which tells setuptools
to include the *.txt files in the source distribution.

Sorry for the broken release, it's been too long since I released
something from the 2.13 maintenance branches.

Hanno

On Mon, Sep 5, 2016, at 16:14, Willi Langenberger wrote:
> According to Willi Langenberger:
> > According to Hanno Schlichting:
> > > Acquisition 2.13.10 with those changes backported is up on PyPi:
> > > https://pypi.python.org/pypi/Acquisition/2.13.10
> >
> > great, thank you *very* much for the quick help!
>
> However, the distribution of the new 2.13.10 package seems to lack
> this file:
>
> src/Acquisition/README.txt
>
> which prevents the installation:
>
> slime:/var/tmp/Acquisition-2.13.10$ /usr/bin/python2.7 setup.py
> Traceback (most recent call last):
> File "setup.py", line 28, in <module>
> os.path.join('src', 'Acquisition', 'README.txt')).read() + '\n' +
> IOError: [Errno 2] No such file or directory:
> 'src/Acquisition/README.txt'
>
> Sorry, that this turns out to be more painful than expected :-(
>
>
> \wlang{}
>
> --
> Willi.Langenberger@wu.ac.at Fax: +43/1/31336/90702
> IT-Services, WU Wirtschaftsuniversitaet Wien, Austria
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> https://mail.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope )
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )
Re: Zope-2.13 Crashes / Acquisition [ In reply to ]
According to Hanno Schlichting:
> I've released a new 2.13.11 adding a MANIFEST.in which tells setuptools
> to include the *.txt files in the source distribution.
>
> Sorry for the broken release, it's been too long since I released
> something from the 2.13 maintenance branches.

We know;-) the more we appreciate your help.

Tested the release, it seems to work!


Thanks again,


\wlang{}

--
Willi.Langenberger@wu.ac.at Fax: +43/1/31336/90702
IT-Services, WU Wirtschaftsuniversitaet Wien, Austria
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )