Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34882 - ZOPE is getting SIGSEGV(11) with zpsycopgda
Summary: ZOPE is getting SIGSEGV(11) with zpsycopgda
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-02 05:28 UTC by Axel Straschil
Modified: 2004-06-22 04:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Straschil 2003-12-02 05:28:45 UTC
I did emerege zope (2.6.1), workes fine
When I emerge zpsycopgda (1.1.2), zope's log is endless looping with:

2003-12-02T14:22:47 ERROR(200) zdaemon Process 4897 terminated by signal SIGSEGV(11)
------
2003-12-02T14:22:47 INFO(0) zdaemon Started subprocess: pid 4898
------
2003-12-02T14:22:48 ERROR(200) zdaemon Process 4898 terminated by signal SIGSEGV(11)
------
2003-12-02T14:22:48 INFO(0) zdaemon Started subprocess: pid 4899
------
2003-12-02T14:22:48 ERROR(200) zdaemon Process 4899 terminated by signal SIGSEGV(11)
------
2003-12-02T14:22:48 INFO(0) zdaemon Started subprocess: pid 4900
------
[...]

Zope does not come up!
When i unmerge zpsycopgda, everything is working fine.
I've got installed postgresql 7.3.4-r1 (with emerge), postgresql is 
working fine.

What can i do to help debugging?

Reproducible: Always
Steps to Reproduce:
1. emerge zope
2. emerge zpsycopgda
3. in /etc/conf.d/zope-2_6_1: EVENT_LOG_FILE=/var/log/zope.log
4. tail -f /var/log/zope.log
5. /etc/init.d/zope-2_6_1 restart

Actual Results:  
Endless:
2003-12-02T14:22:46 ERROR(200) zdaemon Process 4896 terminated by signal SIGSEGV(11)
------
2003-12-02T14:22:46 INFO(0) zdaemon Started subprocess: pid 4897
------
2003-12-02T14:22:47 ERROR(200) zdaemon Process 4897 terminated by signal SIGSEGV(11)
------
2003-12-02T14:22:47 INFO(0) zdaemon Started subprocess: pid 4898
------
2003-12-02T14:22:48 ERROR(200) zdaemon Process 4898 terminated by signal SIGSEGV(11)
------
2003-12-02T14:22:48 

Expected Results:  
Zope should start normaly

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22)
=================================================================
System uname: 2.4.22 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde
/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss avi encode foomaticdb mad mikmod mpeg ncurses nls pdflib png quicktime
spell xml2 xmms xv zlib gdbm berkdb sla
ng readline arts tetex svga tcltk java guile mysql sdl tcpd libwww ssl perl
python esd imlib oggvorbis motif opengl acp
i -apm alsa apache2 cdr crypt cups doc dvd gd gif gnome gpm jpeg kde libg++ mmx
mozilla nocd pam pcmcia postgres truety
pe usb X x86 gtk2 gtk qt video_cards_i830 video_cards_vmware"
Comment 1 Axel Straschil 2003-12-02 07:18:47 UTC
Bug must be somwhere in python2.1.
I fetched Zope and zpsycopgda sources and tryed with Gentoo's python2.1 and egenix-mx-base-py21, same error. 
Then, a was compiling a local version of python-2.1.3, Zope,  egenix-mx-base and   zpsycopgda, this workes fine.

Sources:
Python-2.1.3.tgz
Zope-2.6.2-src.tgz
egenix-mx-base-2.0.5.tar.gz
psycopg-1.1.10.tar.gz
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-02 12:03:02 UTC
what about portage's zope 2.6.2?
Comment 3 Axel Straschil 2003-12-02 12:32:59 UTC
Tryed:
emerge  zope-2.6.2
zope-config --zpasswd
/etc/init.d/zope-2_6_2 start
Zope ist running fine
/etc/init.d/zope-2_6_2 stop
emerge zpsycopgda
/etc/init.d/zope-2_6_2 start

The same:

2003-12-02T21:31:08 ERROR(200) zdaemon Process 1226 terminated by signal SIGSEGV(11)
------
2003-12-02T21:31:08 INFO(0) zdaemon Started subprocess: pid 1227
------
2003-12-02T21:31:10 ERROR(200) zdaemon Process 1227 terminated by signal SIGSEGV(11)
------
2003-12-02T21:31:10 INFO(0) zdaemon Started subprocess: pid 1238
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-10 10:43:03 UTC
can you try out to run it with python 2.2?
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-17 10:22:43 UTC
please try out zope-2.6.3
Comment 6 Axel Straschil 2004-01-18 04:10:47 UTC
With 2.6.3 zpsycopgda works fine now, thanks!
Comment 7 Niklas Wikström 2004-06-22 04:20:11 UTC
The bug remains and should be reopened. Going back to version 2.6.3 is not a resolution and the 2.6.3 version has been removed with the following comment in the changelog

    26 Mar 2004; Jodok Batlogg <batlogg@gentoo.org>; zope-2.6.3.ebuild:
      zope 2.6.3 is known to be buggy. it's better to take it out of portage