Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124490 - php-5.0.5-r5 segfault on Cacti
Summary: php-5.0.5-r5 segfault on Cacti
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 124493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-28 23:08 UTC by Mudrii
Modified: 2006-03-01 00:14 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 Mudrii 2006-02-28 23:08:47 UTC
I have some problems with php and cacti poller.php 
This error apear after install new 2006 release
Problem:
# /usr/bin/php /var/www/localhost/htdocs/cacti/poller.php
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
OK u:0.00 s:0.01 r:0.01
03/01/2006 03:59:08 PM - SYSTEM STATS: Time:1.0481 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:21 RRDsProcessed:13
Segmentation fault


dmesg shows:
# dmesg | tail -n 30
factorial[21954]: segfault at 0000000000020f31 rip 0000000000402eb2 rsp 00007fffffc096d0 error 4
factorial[21957]: segfault at 0000000000020f31 rip 0000000000402eb2 rsp 00007fffffb73c00 error 4
factorial[21953]: segfault at 0000000000020f31 rip 0000000000402eb2 rsp 00007fffffc096e0 error 4
php[26737]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffc20f98 error 14
php[26735]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffff8c81e8 error 14
php[26722]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007ffffffa78d8 error 14
php[26825]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffa8b7f8 error 14
php[26823]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffba61b8 error 14
php[26820]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffc78468 error 14
php[29271]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffba0328 error 14
php[29209]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffaea9f8 error 14
php[29134]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffa66778 error 14
php[27745]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffeffd58 error 14
php[27743]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffff9d36d8 error 14
php[27740]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffff9112d8 error 14
php[27828]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffae8ae8 error 14
php[27826]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffe64668 error 14
php[27813]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffff91f628 error 14
php[27927]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007ffffff18688 error 14
php[27925]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffff0a38 error 14
php[27922]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffff6338 error 14
php[28005]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffd55db8 error 14
php[28003]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffff8a4668 error 14
php[28000]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffe24518 error 14
php[28067]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffea2148 error 14
php[28065]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007ffffffa5a88 error 14
php[28044]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffb17988 error 14
php[28175]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffffdcf1b8 error 14
php[28173]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffff8e7fc8 error 14
php[28170]: segfault at 00002aaaaccd6790 rip 00002aaaaccd6790 rsp 00007fffff972a68 error 14


System Information:
 # emerge --info
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 acpi apache2 bzip2 crypt dbx doc expat fortran ftp gd gmp ithreads lm_sensors logrotate mhash mysql mysqli ncurses nls nptl pam pcre perl php posix python readline samba sharedext simplexml snmp sockets spl sqlite ssl symlink tcpd threads tokenizer udev unicode userlocales verbose xinetd xml xml2 xmlrpc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Software install with USE flags used
# emerge -pv net-snmp mysql dev-lang/php apache cacti

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-analyzer/net-snmp-5.2.1.2-r1  -X +doc -elf -ipv6 +lm_sensors -minimal +perl -rpm (-selinux) -smux +ssl +tcpd 0 kB
[ebuild   R   ] dev-db/mysql-5.0.18-r30  -berkdb -big-tables -cluster -debug -extraengine -max-idx-128 -minimal +perl (-selinux) -srvdir +ssl -static 0 kB
[ebuild   R   ] dev-lang/php-5.0.5-r5  (-adabas) -apache +apache2 -bcmath -berkdb (-birdstep) +bzip2 -calendar -cdb -cgi -cjk +cli +crypt -ctype -curl -curlwrappers -db2 -dba -dbase (-dbmaker) -debug -discard-path +doc (-empress) (-empress-bcs) (-esoob) -exif (-fdftk) (-filepro) (-firebird) -flatfile -force-cgi-redirect (-frontbase) +ftp +gd -gd-external -gdbm +gmp -hardenedphp -hyperwave-api -iconv -imap (-informix) -inifile -interbase -iodbc -ipv6 -java-external -kerberos -ldap -libedit -mcve -memlimit +mhash -ming -mnogosearch -msql -mssql +mysql +mysqli +ncurses +nls -oci8 (-oci8-instant-client) -odbc -oracle7 -ovrimos -pcntl +pcre -pdo-external (-pfpro) -pic +posix -postgres -qdbm +readline -recode -sapdb -sasl +session +sharedext -sharedmem +simplexml +snmp -soap +sockets (-solid) -spell +spl +sqlite +ssl (-sybase) (-sybase-ct) -sysvipc +threads -tidy -tiff +tokenizer -truetype -wddx +xml +xmlrpc -xpm -xsl -yaz -zip +zlib 0 kB
[ebuild   R   ] net-www/apache-2.0.55-r1  +apache2 -debug +doc -ldap -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool +mpm-worker -no-suexec (-selinux) +ssl -static-modules +threads 0 kB
[ebuild   R   ] net-analyzer/cacti-0.8.6h_p20060108  -apache +apache2 +snmp -vhosts 0 kB

Total size of downloads: 0 kB

Problem posible in PHP
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-28 23:42:19 UTC
We need some debugging info to find out what's going on. Reopen with a backtrace. You'll need to recompile the involved apps as described in http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-28 23:56:49 UTC
*** Bug 124493 has been marked as a duplicate of this bug. ***
Comment 3 Mudrii 2006-03-01 00:14:53 UTC
Problem was in PHP
After update to unstabile php-5.1.1 segfault error was gone