From: fcartegnie at nordnet dot fr
Operating system: Linux
PHP version: 4.4.2
PHP Bug Type: Reproducible crash
Bug description: Crash (seems in uksort)
Description:
------------
SEGFAULT
--enable-debug gives nothing.
Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214049024 (LWP 28608)]
0x0817502f in call_user_function_ex (function_table=0x81f9078,
object_pp=0x0, function_name=0x5a5a5a5a,
retval_ptr_ptr=0xbffecbc8, param_count=2, params=0x8b6da24,
no_separation=1, symbol_table=0x0)
at /usr/src/php-4.4.2/Zend/zend_execute_API.c:443
443 if (function_name->type==IS_ARRAY) { /* assume array($obj,
$name) couple */
(gdb) bt
#0 0x0817502f in call_user_function_ex (function_table=0x81f9078,
object_pp=0x0,
function_name=0x5a5a5a5a, retval_ptr_ptr=0xbffecbc8, param_count=2,
params=0x8b6da24,
no_separation=1, symbol_table=0x0) at
/usr/src/php-4.4.2/Zend/zend_execute_API.c:443
#1 0x08174f36 in call_user_function (function_table=0x81f9078,
object_pp=0x0,
function_name=0x5a5a5a5a, retval_ptr=0xbffecc10, param_count=2,
params=0xbffecc28)
at /usr/src/php-4.4.2/Zend/zend_execute_API.c:407
#2 0x080c9bb6 in array_user_key_compare (a=0x9b5a064, b=0x9b59fb4)
at /usr/src/php-4.4.2/ext/standard/array.c:659
#3 0x0818a349 in zend_qsort (base=0x9b59fb4, nmemb=55, siz=4,
compare=0x80c9abf <array_user_key_compare>) at
/usr/src/php-4.4.2/Zend/zend_qsort.c:86
#4 0x08184938 in zend_hash_sort (ht=0x9b5f90c, sort_func=0x818a214
<zend_qsort>,
compar=0x80c9abf <array_user_key_compare>, renumber=0) at
/usr/src/php-4.4.2/Zend/zend_hash.c:1146
#5 0x080c9d29 in zif_uksort (ht=2, return_value=0x9bb48b4, this_ptr=0x0,
return_value_used=0)
at /usr/src/php-4.4.2/ext/standard/array.c:694
#6 0x08190c0d in execute (op_array=0x8551790) at
/usr/src/php-4.4.2/Zend/zend_execute.c:1675
#7 0x08190df6 in execute (op_array=0x825dfd0) at
/usr/src/php-4.4.2/Zend/zend_execute.c:1719
#8 0x08190df6 in execute (op_array=0x825f19c) at
/usr/src/php-4.4.2/Zend/zend_execute.c:1719
#9 0x08190df6 in execute (op_array=0x82bc478) at
/usr/src/php-4.4.2/Zend/zend_execute.c:1719
#10 0x08190df6 in execute (op_array=0x840d460) at
/usr/src/php-4.4.2/Zend/zend_execute.c:1719
#11 0x08190df6 in execute (op_array=0x82519c4) at
/usr/src/php-4.4.2/Zend/zend_execute.c:1719
#12 0x0817e58d in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at /usr/src/php-4.4.2/Zend/zend.c:934
#13 0x0814c744 in php_execute_script (primary_file=0xbffff7f0) at
/usr/src/php-4.4.2/main/main.c:1753
#14 0x08196370 in main (argc=2, argv=0xbffff8b4) at
/usr/src/php-4.4.2/sapi/cli/php_cli.c:830
--
Edit bug report at http://bugs.php.net/?id=36626&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=36626&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=36626&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=36626&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36626&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=36626&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36626&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36626&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36626&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36626&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36626&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=36626&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=36626&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36626&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36626&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36626&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36626&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36626&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36626&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36626&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36626&r=mysqlcfg