From: rainer dot herbst at uni-potsdam dot de Operating system: Solaris 10 SPARC PHP version: 5.3.18 Package: Reproducible crash Bug Type: Bug Bug description:PHP 5.3.x failes with core dump
Description: ------------ We use PHP 5.3.x with Apache HTTPD 2.4.3 on Oracle CMT Sparc systems for our elearning system (Moodle 2.3). Quite often, some httpd processes fails throwing core dumps causing sometimes the Solaris Service Manager to bring the HTTPD into maintenance mode. Sometimes only one core dump is written, sometimes up to 6-7 dumps simultanously. As to show how severe the problem is - in 12 hours we get app. 50 core dumps occuping app. 20 GB and 2-3 service "transitioned to maintenance" messages. Both PHP and HTTPD were compiled using Solaris Studio 12.3. APC (3.1.9) is enabled. Configure line: phpinfo() PHP Version => 5.3.18 System => SunOS mymachine5 5.10 Generic_147440-15 sun4v Build Date => Oct 24 2012 09:39:23 Configure Command => './configure' '--with-apxs2=/opt/zeik/apache24/bin/apxs' '--disable-dba' '--disable-cgi' '--disable-debug' '--disable-dmalloc' '--disable-inline-optimization' '--disable-libgcc' '--disable-libtool-lock' '--disable-rpath' '--disable-static' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dom' '--enable-exif' '--enable-flatfile' '--enable-filter' '--enable-gd-jis-conv' '--enable-gd-native-ttf' '--enable-hash' '--enable-inifile' '--enable-ipv6' '--enable-json' '--enable-magic-quotes' '--enable-mbregex' '--enable-mbstring' '--enable-mod-charset' '--enable-pcntl' '--enable-posix' '--enable-libxml' '--without-sqlite' '--without-sqlite3' '--without-pdo-sqlite' '--enable-session' '--enable-shared' '--enable-shmop' '--enable-short-tags' '--enable-simplexml' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--enable-zend-multibyte' '--enable-zip' '--with-cdb' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-layout=PHP' '--with-libxml-dir=/opt/zeik' '--with-pcre-regex' '--with-png-dir=/usr' '--with-xmlrpc' '--with-xpm-dir=/usr/openwin' '--with-xsl' '--with-zlib' '--with-zlib-dir=/opt/zeik' '--without-dbm' '--with-pear' '--without-t1lib' '--with-freetype-dir=/opt/zeik' '--with-openssl-dir=/opt/zeik' '--enable-ftp=shared' '--enable-pdo=static' '--with-bz2=shared' '--with-gd=shared' '--with-gettext=shared' '--with-iconv=shared,/opt/zeik' '--without-imap' '--with-mcrypt=shared,/opt/zeik' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-mysql-sock=/tmp/mysql.sock' '--with-pdo-mysql=mysqlnd' '--without-tidy' '--with-curl=shared,/opt/zeik' '--with-imap-ssl=shared,/usr/sfw' '--with-ldap=shared,/opt/zeik' '--with-ldap-sasl=/opt/zeik' '--with-openssl=shared,/opt/zeik' '--without-snmp' '--enable-cli' '--disable-discard-path' '--prefix=/opt/zeik' Due to the nature of the application, the memory limits have been increased: memory_limit = 1000M post_max_size = 1000M upload_max_filesize = 1000M apc.shm_size=256M Other relevant settings in the php.ini default_socket_timeout = 1800 extension=apc.so extension=bz2.so extension=curl.so extension=ftp.so extension=gd.so extension=gettext.so extension=iconv.so extension=ldap.so extension=mcrypt.so extension=openssl.so pstack delivers the following message: core 'mymachine5.1351146863.4020.httpd' of 4020: /opt/zeik/apache24/sbin/httpd -k start -f /opt/site/etc/httpd/httpd.co fe256d98 zend_vm_stack_alloc (238, 0, 0, ec4063d0, 220f4f8, ec406430) + 110 fe25b214 execute (1f9e48, 2, ffc00000, 1, 440d78, 48) + b4 fe1e728c zend_execute_scripts (2, 0, 1, ffbff458, 70687000, 7068702d) + 1bc fe2cf124 php_handler (500c00, e1, 0, 126958, 125288, 0) + 74c 0005c534 ap_run_handler (500c00, 5017c0, 0, 1431f0, ffffffff, 1) + 8c 0005d1c4 ap_invoke_handler (500c00, 0, 500bc0, 0, 0, 0) + 154 0007da90 ap_process_async_request (500c00, 0, 4, 3b2f18, 0, 4) + 488 0007dba4 ap_process_request (500c00, 4, 500c00, 501820, 0, 3b2f18) + 24 00078edc ap_process_http_sync_connection (3b2f18, 3b31c0, 0, 3b2c80, 500c00, 3b31a8) + 7c 0007903c ap_process_http_connection (3b2f18, 3b2c80, 3b2c80, 3b31c0, 0, 0) + 64 0006c1f4 ap_run_process_connection (3b2f18, 3b2c80, 3b2c80, 143528, ffffffff, 0) + 8c 0006c8c8 ap_process_connection (3b2f18, 3b2c80, 3b2c80, 1e, 3b0f58, 3b6c50) + 60 0008746c child_main (1e, 86398, 0, da548, 3b2f18, 0) + 93c 0008775c make_child (dfd18, 1e, 0, 0, 1cf4, feff8140) + 1f4 00087820 startup_children (50, 2, 97fe4, 143440, 1e, 1) + 90 00087f7c prefork_run (ba940, 11a108, dfd18, 0, 0, b4928) + 254 000379bc ap_run_mpm (ba940, 11a108, dfd18, f2050, ffffffff, 0) + 9c 0002e01c main (5, ffbffcdc, ffbffcf4, ac800, ff290100, 0) + 12ec 0002ba38 _start (0, 0, 0, 0, 0, 0) + d8 Things I have tried: PHP 5.3.17 - same behaviour memory_limit decreased to 256MB - same behaviour -- Edit bug report at https://bugs.php.net/bug.php?id=63355&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63355&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63355&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63355&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63355&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63355&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63355&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63355&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63355&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63355&r=support Expected behavior: https://bugs.php.net/fix.php?id=63355&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63355&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63355&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63355&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63355&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63355&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63355&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63355&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63355&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63355&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63355&r=mysqlcfg