Public bug reported: Binary package hint: php5-cli
I'm getting random php segfaults in my /var/log/messages file: ug 28 09:28:02 www kernel: [122051.459511] php[15082]: segfault at 7f2459eecf3b ip 00007f2459c8a4ef sp 00007f2457ff3c60 error 4 in libgcc_s.so.1[7f2459c7a000+16000] Aug 28 09:47:01 www kernel: [123191.280575] php[21125]: segfault at 7fd16f10ef30 ip 00007fd16f10ef30 sp 00007fd16d2160f8 error 14 in libuuid.so.1.2[7fd16fb36000+3000] Aug 28 10:14:07 www -- MARK -- Aug 28 10:16:01 www kernel: [124931.139171] php[29406]: segfault at 7f16486c4f30 ip 00007f16486c4f30 sp 00007f16467cc0f8 error 14 in librt-2.9.so[7f164da68000+7000] These are most likely triggered by some of my cron jobs which are php scripts, but it seems completely random. Sometime the script will complete without segfaulting, other times it will fault. I've never had these segfaults on the Centos 5.3 machine I migrated from. Here is an example of how to reproduce: <?php $a = 2; $b = 1; $c = $a ^ $b; var_dump($c); ?> Run this script on the command line, and once out of about 30 times it will segfault. Here is a link to someone else who had the same problem a few months ago but found no solution: http://osdir.com/ml/ubuntu-users/2009-06/msg02580.html Some details: r...@www:~# lsb_release -rd Description: Ubuntu 9.04 Release: 9.04 r...@www:~# uname -a Linux www.servername.com 2.6.28-15-server #49-Ubuntu SMP Tue Aug 18 20:09:37 UTC 2009 x86_64 GNU/Linux r...@www:~# apt-cache policy php5-cli php5-cli: Installed: 5.2.6.dfsg.1-3ubuntu4.2 Candidate: 5.2.6.dfsg.1-3ubuntu4.2 Version table: *** 5.2.6.dfsg.1-3ubuntu4.2 0 500 http://za.archive.ubuntu.com jaunty-updates/main Packages 500 http://security.ubuntu.com jaunty-security/main Packages 100 /var/lib/dpkg/status 5.2.6.dfsg.1-3ubuntu4 0 500 http://za.archive.ubuntu.com jaunty/main Packages r...@www:~# php -m: [PHP Modules] bcmath bz2 calendar ctype curl date dba dom exif filter ftp gd gettext gmp hash iconv imagick json libxml mbstring mime_magic mssql mysql mysqli ncurses openssl pcntl pcre PDO pdo_dblib pdo_mysql pdo_pgsql pgsql posix pspell readline Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlrpc xmlwriter zip zlib [Zend Modules] Hope this is enough information, Thanks, Pieter ** Affects: php5 (Ubuntu) Importance: Undecided Status: New -- php 5.2.6 'random' segfault https://bugs.launchpad.net/bugs/420389 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs