Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224219 - www-servers/apache-2.2.8 segmentation fault with peruser MPM
Summary: www-servers/apache-2.2.8 segmentation fault with peruser MPM
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-30 11:04 UTC by Paolo
Modified: 2010-03-19 08:17 UTC (History)
4 users (show)

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 Paolo 2008-05-30 11:04:05 UTC
I compiled apache with:

www-servers/apache-2.2.8  USE="ssl -debug -doc -ldap (-selinux) -sni -static -suexec* -threads" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling unique_id userdir usertrack vhost_alias -asis -authn_dbd -authn_dbm -authz_dbm -cern_meta -charset_lite -dav -dav_fs -dav_lock -dbd -dumpio -file_cache -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -status -version" APACHE2_MPMS="peruser -event -itk -prefork -worker" 0 kB

and PHP5
USE="-pic -berkdb minimal latin1 jpeg png apache2 bcmath bzip2 calendar ctype curl exif ftp gd iconv imap json mhash mysql mysqli pcre pdo session  simplexml sqlite xml xmlreader sockets xmlrpc xsl zip cli force-cgi-redirect xmlwriter threads truetype" emerge -pv dev-lang/php

But sometimes i get:

[notice] child pid 31194 exit signal Segmentation fault (11)


Reproducible: Always

Steps to Reproduce:
1. Install apache 2 with the same options
2. Install php with the same options
3. Install Wordpress 

Actual Results:  
[notice] child pid 31194 exit signal Segmentation fault (11)

Expected Results:  
Not blank pages
Comment 1 Chris Bruner 2008-06-04 05:57:31 UTC
I've come across this as well. My processor is 32 bit.

emerge --info
Portage 2.1.5.2 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 AMD Athlon(TM) MP 1800+
Timestamp of tree: Tue, 03 Jun 2008 13:06:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O2 -pipe -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs distcc distlocks notitles parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://212.219.56.132/sites/www.ibiblio.org/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portato /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext 3ds 7zip X Xaw3d aalib accessibility acl acpi allegro alsa amarok ansi apache2 aqua_theme arts asterisk bash-completion berkdb blender-game bochs-debugger cairo cdparanoia cdr cgi cli contrib cracklib crypt cscope ctype cups curl dba dbus deprecated dga dillo discouraged doc dpms dri dvd dvdr dvdread dvi eds emboss encode etwin evo examples expat fam fastbuild fax festival firefox fltk fluidsynth fmod fortran freetype fs ftp gcj gd gdb gdbm gif gimp gimpprint glade gnome gnuplot gpm grammar gstreamer gtalk gtk hal hash haskell html iconv idl imagemagick ipv6 isdnlog jabber jack jack-tmpfs java jpeg jpeg2k kde kdm kerberos ldap libwww mad maps mbrola memlimit midi mikmod mmx mmxext mp3 mpeg mpeg4 mudflap music mysql ncurses network nls nodrm nptl nptlonly nsplugin ode offensive ofx ogg ogre openal openexr opengl openmp osp pam pascal pcre pdf pdo pear-db perl php pic player png portaudio povray pppd python qt3 qt3support qt4 quicktime quotes radeon readline reflection regex rtc ruby samba screen sdk sdl server session simplexml sockets source spamassassin speech speex spell spl sse ssl stencil-buffer suexec svg sysvipc tcpd tetex threads tidy tiff timidity tokenizer tomsfastmath tools transcode truetype type1 unicode vfat vhosts videos vim vim-with-x visual visualization vlm voice vorbis win32codecs wma wmp wordperfect wxgtk1 wxwin wxwindows x86 xcb xext xfs xine xinerama xinetd xlockrc xml xmlwriter xorg xscreensaver xsl xv yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1        emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m  maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx vesa  fbdev radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


It seems to happen when data is being saved to mysql using php. (running drupal).
Comment 2 David Abdemoulaie 2008-08-19 19:27:32 UTC
I am experiencing this bug in apache-2.2.9 as well. It does not necessarily appear to relate to writing to MySQL for me.

Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Sat, 16 Aug 2008 09:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.4_p6, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl authfile berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Core Dump:
Core was generated by `/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VH'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7f801a4 in crc32 () from /lib/libz.so.1
(gdb) bt full
#0  0xb7f801a4 in crc32 () from /lib/libz.so.1
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

This appears to be related to mod_deflate somehow? In my httpd.conf I'm using:

AddOutputFilterByType DEFLATE text/html text/plain text/xml
Comment 3 Jason Carlson 2008-08-26 22:05:38 UTC
Have same problem but with apache-2.2.9.  Saw the comments it might be related to mod_deflate so I compiled apache without the deflate module and the result is the same (Segmentation fault/blank screen)

Noticed apache2 (at least with the -deflate set) requires CONFIG_SYSVIPC=y, which I confirmed is set.  I did not have sysvipc set in php flags so I tried setting it.  Still not working.

Comment 4 harryonderwater 2009-12-15 20:08:22 UTC
I'm getting segfaults with apache+php+mysql too.
Server version: Apache/2.2.14 (Unix)
Server built:   Nov 15 2009 15:01:40

But, this may not have anything to do with MPM; I'm not using that.
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D PHP5 -D MAILMAN"

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Tue, 15 Dec 2009 01:25:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/"
LANG="nl_NL.UTF-8"
LC_ALL="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl de fr "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aac aalib acl acpi alsa amr apache2 berkdb bzip2 cairo cli cracklib crypt ctype cups cxx dri encode erandom ffmpeg flac fortran gd gdbm gpm gtk gtk2 hardened hash iconv imap ipv6 lm_sensors matroska mmx modules mpeg mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl pmu posix pppd python readline reflection session slang sockets spl sqlite ssl svg sysfs tcpd threads unicode userlocales v4l2 vhosts x264 x86 xml xorg zip zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias mpm-worker worker" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl de fr " RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


[Sun Dec 13 10:37:45 2009] [notice] child pid 4004 exit signal Segmentation fault (11)
[Sun Dec 13 10:39:05 2009] [notice] child pid 4050 exit signal Segmentation fault (11)
[Sun Dec 13 10:40:05 2009] [notice] child pid 14236 exit signal Segmentation fault (11)
[Sun Dec 13 10:40:58 2009] [notice] child pid 14620 exit signal Segmentation fault (11)
[Sun Dec 13 11:03:24 2009] [notice] child pid 14660 exit signal Segmentation fault (11)
[Sun Dec 13 11:03:56 2009] [notice] child pid 14364 exit signal Segmentation fault (11)
[Sun Dec 13 11:05:30 2009] [notice] child pid 16287 exit signal Segmentation fault (11)
[Sun Dec 13 11:14:57 2009] [notice] child pid 16593 exit signal Segmentation fault (11)
[Sun Dec 13 12:01:41 2009] [notice] child pid 17201 exit signal Segmentation fault (11)
[Sun Dec 13 12:07:08 2009] [notice] child pid 16327 exit signal Segmentation fault (11)
[Sun Dec 13 12:07:08 2009] [notice] child pid 20746 exit signal Segmentation fault (11)
[Sun Dec 13 16:17:31 2009] [notice] child pid 21227 exit signal Segmentation fault (11)
[Sun Dec 13 16:43:45 2009] [notice] child pid 21256 exit signal Segmentation fault (11)
[Sun Dec 13 16:44:58 2009] [notice] child pid 21258 exit signal Segmentation fault (11)
[Sun Dec 13 16:49:27 2009] [notice] child pid 8777 exit signal Segmentation fault (11)
[Sun Dec 13 16:56:16 2009] [notice] child pid 9157 exit signal Segmentation fault (11)
[Sun Dec 13 17:13:35 2009] [notice] child pid 8682 exit signal Segmentation fault (11)
[Sun Dec 13 17:13:35 2009] [notice] child pid 9828 exit signal Segmentation fault (11)
[Mon Dec 14 08:09:10 2009] [notice] child pid 11049 exit signal Segmentation fault (11)
[Mon Dec 14 08:55:32 2009] [notice] child pid 11078 exit signal Segmentation fault (11)
[Mon Dec 14 11:19:21 2009] [notice] child pid 11080 exit signal Segmentation fault (11)
[Mon Dec 14 11:19:21 2009] [notice] child pid 21381 exit signal Segmentation fault (11)
[Mon Dec 14 13:05:06 2009] [notice] child pid 31815 exit signal Segmentation fault (11)
[Mon Dec 14 15:37:03 2009] [notice] child pid 7277 exit signal Segmentation fault (11)
[Mon Dec 14 16:13:35 2009] [notice] child pid 18218 exit signal Segmentation fault (11)
[Tue Dec 15 07:45:28 2009] [notice] child pid 20868 exit signal Segmentation fault (11)
[Tue Dec 15 08:00:33 2009] [notice] child pid 31786 exit signal Segmentation fault (11)
[Tue Dec 15 09:06:42 2009] [notice] child pid 30883 exit signal Segmentation fault (11)
[Tue Dec 15 10:37:17 2009] [notice] child pid 4425 exit signal Segmentation fault (11)
171.21.80.126 - - [15/Dec/2009:10:37:16 +0100] "GET //play/index.php?sid=67717527443a05ac9cea246603d00977&oid=5209&uid=2&name=/Paolo%20Conte%20-%20Ho%20ballato%20di%20tutto.mp3 HTTP/1.0" 200 3560375

[Tue Dec 15 14:04:26 2009] [notice] child pid 11113 exit signal Segmentation fault (11)
171.21.80.126 - - [15/Dec/2009:14:04:26 +0100] "GET //play/index.php?sid=57723c5a01e29224ea6eb3ea727e20e9&oid=3329&uid=2&name=/Frederic%20Chopin%20-%203%20Waltzes%2COp.34-No.3%20in%20F-Vivace.ape HTTP/1.0" 200 6405958

I notice this by getting blank pages at random when using gallery (menalto) or getting mp3's to suddenly stop playing and skipping to the next song when using ampache.

Ampache developer says it can't be his code so must be a bug in apache.

Anyone have any ideas?
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2010-01-11 08:27:33 UTC
(In reply to comment #4)
> I'm getting segfaults with apache+php+mysql too.
> Server version: Apache/2.2.14 (Unix)
> Server built:   Nov 15 2009 15:01:40
> 
> But, this may not have anything to do with MPM; I'm not using that.

please open a seperate bug if the issue still exists.

regarding the original bug report: please reopen if this is still an issue with 2.2.14-r1
Comment 6 Tsang Ka Wing 2010-03-19 06:34:50 UTC
I've got this issue with prefork MPM
And just updated to apache-2.2.15, before is 2.2.14-r1

www-servers/apache-2.2.15
dev-lang/php-5.2.12
dev-php5/pecl-apc-3.1.3_p1

I also found that disable pecl-apc does not help

zodiac ~ # emerge --info
Portage 2.1.7.16 (default/linux/amd64/10.0/server, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 18 Mar 2010 11:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.2-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.aditsu.net/ http://ftp.lecl.net/pub/gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ http://gentoo.gg3.net/"
LDFLAGS="-Wl,-O1"
LINGUAS="en zh zh_TW"
MAKEOPTS="-j4"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip aac aalib acl acpi activefilter amd64 amr amrnb amrwb apache2 bash-completion bcmath berkdb bidi branding bs2b bzip2 c++ cairo calendar caps cgraph chardet cjk cleartype cli cracklib crypt ctype cups curl cvs cxx daemon dbus deflate dhcp discard-path djbfft djvu dmx dri eap-tls eds emboss enca encode espeak examples exif extraengine fam fastcgi festival ffmpeg fftw filter flac flatfile fontconfig fortran ftp galago gd gdbm geoip gif git gmail gmp gnutls gpm graphviz gs gzip hal hash hddtemp icecast iconv id3 id3tag imap imlib inifile inkjar inotify java jbig jce jpeg jpeg2k json kernel-patch lame ldap lib libcaca libedit libnotify libssh2 lm_sensors log4j logviewer lzf lzma lzo mad maildir matroska md5sum mhash mikmod mmap mmx mmxext mng modplug modules mono mp2 mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musepack mysql mysqli ncurses network networking nls nptl nptlonly odbc ogg openmp pam pcre pdf pdo perl php pkcs11 pmu png pnm posix postgres ppds pppd prediction projectm pronounce python qqwry qt3support quicktime radius rar raw reflection remote rss rtc rtsp ruby rubytests samba sasl schedule script servletapi session sha1 sharedext sharedmem shine shout sid simplexml skins sndfile snmp soap sockets source speex spell spl sqlite sqlite3 sse sse2 sse3 ssl stats stream subversion suhosin svg symlink sysfs sysvipc taglib tcpd teletext tga theora tidy tiff timidity tokenizer truetype tta twolame unicode unzip upnp usb vim vim-syntax vlm vorbis wavpack wddx webdav wma wma-fixed wmf x264 xext xml xmlreader xmlrpc xmlwriter xorg xpm xsl xvid yaz zip zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias dumpio version proxy_ftp" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh zh_TW" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

error_log

[Fri Mar 19 14:28:39 2010] [notice] child pid 20429 exit signal Segmentation fault (11)
[Fri Mar 19 14:28:40 2010] [notice] child pid 21977 exit signal Segmentation fault (11)
[Fri Mar 19 14:28:41 2010] [notice] child pid 21327 exit signal Segmentation fault (11)

Workpress = blank page
Comment 7 Benedikt Böhm (RETIRED) gentoo-dev 2010-03-19 08:17:03 UTC
(In reply to comment #6)
> I've got this issue with prefork MPM

but this bug report is about peruser mpm