From: steveh at brendata dot co dot uk Operating system: linux 2.4.22 PHP version: 4.3.4 PHP Bug Type: DBX related Bug description: dbx crash causes coredump
Description: ------------ I'm still working out the circumstances and removing code to prove what is causing the issue, but at present, both the apache module and the cli php are core dumping with the following backtrace. Reproduce code: --------------- This will follow when I find out what's causing the issue. Expected result: ---------------- No core dump? Actual result: -------------- (gdb) bt #0 0x082066d4 in _zval_ptr_dtor (zval_ptr=0x84e6ef8, __zend_filename=0x823f9c0 "/usr/src/php-4.3.4/ext/dbx/dbx_sybasect.c", __zend_lineno=198) at /usr/src/php-4.3.4/Zend/zend_execute_API.c:289 #1 0x080a4988 in dbx_sybasect_getcolumnname (rv=0xbfff9554, result_handle=0xbfff958c, column_index=0, ht=2, return_value=0x8523434, this_ptr=0x0, return_value_used=1) at /usr/src/php-4.3.4/ext/dbx/dbx_sybasect.c:198 #2 0x0809e751 in switch_dbx_getcolumnname (rv=0xbfff9554, result_handle=0xbfff958c, column_index=0, ht=2, return_value=0x8523434, this_ptr=0x0, return_value_used=1, dbx_module=0x84e5a28) at /usr/src/php-4.3.4/ext/dbx/dbx.c:835 #3 0x0809cd3f in zif_dbx_query (ht=2, return_value=0x8523434, this_ptr=0x0, return_value_used=1) at /usr/src/php-4.3.4/ext/dbx/dbx.c:489 #4 0x082243c3 in execute (op_array=0x85070f0) at /usr/src/php-4.3.4/Zend/zend_execute.c:1616 #5 0x082245f6 in execute (op_array=0x851ab00) at /usr/src/php-4.3.4/Zend/zend_execute.c:1660 #6 0x082245f6 in execute (op_array=0x851a470) at /usr/src/php-4.3.4/Zend/zend_execute.c:1660 #7 0x082245f6 in execute (op_array=0x84c93e4) at /usr/src/php-4.3.4/Zend/zend_execute.c:1660 #8 0x08212038 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/php-4.3.4/Zend/zend.c:884 #9 0x081d8c56 in php_execute_script (primary_file=0xbffffb20) at /usr/src/php-4.3.4/main/main.c:1729 #10 0x082341e2 in main (argc=2, argv=0xbffffbc4) at /usr/src/php-4.3.4/sapi/cli/php_cli.c:819 #11 0x4039b657 in __libc_start_main (main=0x8233690 <main>, argc=2, ubp_av=0xbffffbc4, init=0x8078db4 <_init>, fini=0x8239d40 <_fini>, rtld_fini=0x4000dc54 <_dl_fini>, stack_end=0xbffffbbc) at ../sysdeps/generic/libc-start.c:129 (gdb -- Edit bug report at http://bugs.php.net/?id=28728&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28728&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28728&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28728&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28728&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28728&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28728&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28728&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28728&r=support Expected behavior: http://bugs.php.net/fix.php?id=28728&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28728&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28728&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28728&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28728&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28728&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28728&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28728&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28728&r=float