Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143618 - bug in psp caching in mod_python
Summary: bug in psp caching in mod_python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://svn.apache.org/viewvc/httpd/mo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 17:57 UTC by Marius Mauch (RETIRED)
Modified: 2008-02-29 08:40 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 Marius Mauch (RETIRED) gentoo-dev 2006-08-11 17:57:26 UTC
psp.py in mod_python-3.1.4-r1 refers to a non-existant 'strcache' object which prevents using custom handlers that use the PSP class to format string objects (instead of files which use a different cache system).
This was fixed upstream with http://svn.apache.org/viewvc/httpd/mod_python/trunk/lib/python/mod_python/psp.py?r1=106619&r2=164956

Unfortunately when I tested that patch alone it caused glibc double free errors and crashed mod_python, os it may depend on other patches or 3.1.4 has more bugs in the psp code.

The current version mod_python-3.2.10 seems to have this fixed, at least it worked fine in my tests (using a renamed 3.1.4 ebuild).
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-08-11 18:00:53 UTC
Portage 2.1-r1 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.6-r4, 2.6.14-hardened-r8 i686)
=================================================================
System uname: 2.6.14-hardened-r8 i686 AMD Duron(tm)
Gentoo Base System version 1.6.14
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-gentoo-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr -pipe"
DISTDIR="/srv/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/srv/portage/porttree"
PORTDIR_OVERLAY="/srv/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X509 acl acpi apache2 bash-completion berkdb bzip2 calendar cap caps cdr chroot cracklib crypt cups cyrus dba dvd dvdr ecc elf enscript erandom exif fbcon ftp gd hardened iconv idea idled imap innodb ipv6 jpeg ldap linuxthreads-tls maildir mbox md5sum mime mmap mmx mp3 mysql mysqli nagios-dns nagios-ping nagios-ssh ncurses netboot nolvmstatic pam pam_chroot pcre pic png posix postfix python readline recursor samba scanner serial session sftp sharedmem simplexml skey smime snmp sse ssl sysvipc tiff unsupported_8bit usb userlocales webdav xfs xml xml2 xmlrpc xsl zip zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2008-02-29 08:40:30 UTC
Well, since 3.3.1 is stable we can close this as fixed.