From: Operating system: AIX 6.1 TL7 PHP version: 5.3.8 Package: ibm_db2 Bug Type: Bug Bug description:PHP CLI core dumps with ibm_db2-1.9.2 module
Description: ------------ Configured as: ./configure \ --with-ibm-db2=/db2aix/db2inst1/sqllib \ --prefix=/opt/freeware \ --with-freetype-dir=/opt/freeware \ --with-apxs2=/usr/IBM/HTTPServer/bin/apxs \ --with-config-file-path=/usr/IBM/HTTPServer/conf \ --with-mysql=mysqlnd \ --with-ldap=/opt/freeware \ --enable-soap \ --with-openssl=/opt/freeware \ --enable-ftp \ --with-zlib=/opt/freeware \ --with-gd=/opt/freeware \ --enable-pdo \ --with-pdo-mysql=mysqlnd \ --with-pdo-sqlite \ --with-sqlite \ --with-xpm-dir=/opt/freeware \ --with-jpeg-dir=/opt/freeware \ --with-png-dir=/opt/freeware \ --with-curl=/opt/freeware \ --with-libxml-dir=/opt/freeware \ --without-iconv \ --disable-phar Using CC=xlC (IBM vacpp compiler. Produces core dump when running php -v from the command line. Illegal instruction (illegal opcode) in . at 0x0 ($t1) warning: Unable to access address 0x0 from core (dbx) where .() at 0x0 zm_startup_ibm_db2(type = 1, module_number = 36, tsrm_ls = 0x200844b8), line 542 in "ibm_db2.c" zend_startup_module_ex(module = 0x20082808, tsrm_ls = 0x200844b8), line 1614 in " zend_API.c" unnamed block in zend_hash_apply(ht = 0x200656c8, apply_func = 0x20057318, tsrm_l s = 0x200844b8), line 674 in "zend_hash.c" zend_hash_apply(ht = 0x200656c8, apply_func = 0x20057318, tsrm_ls = 0x200844b8), line 674 in "zend_hash.c" zend_startup_modules(tsrm_ls = 0x200844b8), line 1663 in "zend_API.c" php_module_startup(sf = 0x20053518, additional_modules = (nil), num_additional_mo dules = 0), line 2042 in "main.c" php_cli_startup(sapi_module = 0x20053518), line 398 in "php_cli.c" php_cli.main(argc = 2, argv = 0x2ff228e4), line 770 in "php_cli.c" (dbx) quit Test script: --------------- php -v Expected result: ---------------- # php -v PHP 5.3.8 (cli) (built: Nov 3 2011 06:50:35) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies Actual result: -------------- # php -v Illegal instruction(coredump) -- Edit bug report at https://bugs.php.net/bug.php?id=60209&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60209&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60209&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60209&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60209&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60209&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60209&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60209&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60209&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60209&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60209&r=support Expected behavior: https://bugs.php.net/fix.php?id=60209&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60209&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60209&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60209&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60209&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60209&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60209&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60209&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60209&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60209&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60209&r=mysqlcfg