Re: [PHP-INSTALL] httpd segfault after 5.4.0 install
[email protected] (Christopher Jones) Tue, 17 Apr 2012 08:34:54 -0700
| Newsgroups | php.install |
|---|---|
| Message-ID | <[email protected]> |
On 4/17/12 7:29 AM, Joseph Koenig wrote: > Hi all, > > I recently installed 5.4.0 on a CentOS 6.2 box and am now getting segfaults anytime we try to draw a PDF file (with fpdf). My config line is below: > > ./configure --with-apxs2=/usr/sbin/apxs --enable-cli --enable-exif --enable-mbstring --enable-mbregex --enable-sockets --with-mysql > --with-mysqli=/usr/bin/mysql_config --with-pdo-mysql --with-libdir=lib64 --with-zlib --with-gd --with-jpeg-dir=/usr/lib64 --enable-soap > --enable-calendar --with-freetype-dir=/usr/lib64 --with-libexpat-dir --enable-ftp --enable-calendar --with-curl > > Running gdb on the core dump from apache, I get this: > > Loaded symbols for /usr/lib64/apr-util-1/apr_ldap-1.so > Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so...done. > Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so > Core was generated by `/usr/sbin/httpd -k start'. > Program terminated with signal 11, Segmentation fault. > #0 0x00007f1126065d71 in zend_hash_quick_find (ht=0x7f1131b0c5a8, arKey=0x7f11319e6b68 "pallets", nKeyLength=8, h=7572787671222906, > pData=0x7fff2733e9c8) at /usr/local/src/php-5.4.0/Zend/zend_hash.c:950 > 950 p = ht->arBuckets[nIndex]; > Missing separate debuginfos, use: debuginfo-install httpd-2.2.15-15.el6.centos.1.x86_64 > ======================================= > > Any thoughts are appreciated. Thanks! > > -- > Joe Koenig > Creative Anvil > 1346 Baur Blvd > Olivette, MO 63132 > 314-692-0338 > [email protected] > http://www.creativeanvil.com/ > How recent did you install it? My initial thought is to disable APC. The 3.1.10 version released last week fixed a few bugs that caused crashes with PHP 5.4 http://pecl.php.net/package-changelog.php?package=APC&release=3.1.10 Note this version of APC incorrectly reports itself as 3.1.9 (https://bugs.php.net/bug.php?id=61695) If this doesn't help, construct a small reproducible testcase and log a bug at https://bugs.php.net/report.php -- [email protected] http://twitter.com/#!/ghrd