ID: 48980 Updated by: fel...@php.net Reported By: fel...@php.net -Status: Open +Status: Assigned Bug Type: Reproducible crash Operating System: Linux PHP Version: 5.3SVN-2009-07-19 (SVN) -Assigned To: +Assigned To: felipe
Previous Comments: ------------------------------------------------------------------------ [2009-07-19 23:16:46] fel...@php.net Description: ------------ Compiling with './configure --with-pdo-firebird' we got a segfault when starting php. Reproduce code: --------------- $ sapi/cli/php Expected result: ---------------- No SIGSEGV. Actual result: -------------- Starting program: /home/felipe/dev/php5/sapi/cli/php [Thread debugging using libthread_db enabled] [New Thread 0xb7adc8e0 (LWP 9461)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7adc8e0 (LWP 9461)] 0x08415dfe in zend_declare_class_constant_long (ce=0x0, name=0x8737b6e "FB_ATTR_DATE_FORMAT", name_length=19, value=1000, tsrm_ls=0xa2d4050) at /home/felipe/dev/php5/Zend/zend_API.c:3229 3229 if (ce->type & ZEND_INTERNAL_CLASS) { (gdb) bt #0 0x08415dfe in zend_declare_class_constant_long (ce=0x0, name=0x8737b6e "FB_ATTR_DATE_FORMAT", name_length=19, value=1000, tsrm_ls=0xa2d4050) at /home/felipe/dev/php5/Zend/zend_API.c:3229 #1 0x081dabb0 in zm_startup_pdo_firebird (type=1, module_number=14, tsrm_ls=0xa2d4050) at /home/felipe/dev/php5/ext/pdo_firebird/pdo_firebird.c:58 #2 0x084106df in zend_startup_module_ex (module=0xa2e5ba8, tsrm_ls=0xa2d4050) at /home/felipe/dev/php5/Zend/zend_API.c:1613 #3 0x08419a77 in zend_hash_apply (ht=0x87c2e40, apply_func=0x84104fd <zend_startup_module_ex>, tsrm_ls=0xa2d4050) at /home/felipe/dev/php5/Zend/zend_hash.c:673 #4 0x08410896 in zend_startup_modules (tsrm_ls=0xa2d4050) at /home/felipe/dev/php5/Zend/zend_API.c:1662 #5 0x0837c2cd in php_module_startup (sf=0x87aee00, additional_modules=0x0, num_additional_modules=0) at /home/felipe/dev/php5/main/main.c:2007 #6 0x084eaf4f in php_cli_startup (sapi_module=0x87aee00) at /home/felipe/dev/php5/sapi/cli/php_cli.c:399 #7 0x084ebd23 in main (argc=1, argv=0xbfde7d84) at /home/felipe/dev/php5/sapi/cli/php_cli.c:771 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48980&edit=1