From: remi
Operating system: GNU/Linux 64bits
PHP version: 5.5.0RC2
Package: GD related
Bug Type: Bug
Bug description:segfault in imagesetinterpolation
Description:
------------
(gdb) bt
#0 0x0000555555798494 in zend_fetch_resource
(passed_id=passed_id@entry=0x7fffffffa448, default_id=default_id@entry=-1,
resource_type_name=resource_type_name@entry=
0x7fffe366d3c0 "Image",
found_resource_type=found_resource_type@entry=0x0,
num_resource_types=num_resource_types@entry=1)
at /usr/src/debug/php-5.5.0RC2/Zend/zend_list.c:126
#1 0x00007fffe3664014 in zif_imagesetinterpolation (ht=<optimized out>,
return_value=0x7ffff7fb9dc8, return_value_ptr=<optimized out>,
this_ptr=<optimized out>,
return_value_used=<optimized out>) at
/dev/shm/BUILD/php5.5-201305271230/ext/gd/gd.c:5370
#2 0x0000555555777e69 in dtrace_execute_internal
(execute_data_ptr=<optimized out>, fci=<optimized out>,
return_value_used=<optimized out>)
at /usr/src/debug/php-5.5.0RC2/Zend/zend_dtrace.c:99
#3 0x00007fffed6caafa in xdebug_execute_internal
(current_execute_data=0x7ffff7f7f1a0, fci=0x0, return_value_used=0)
at /usr/src/debug/php-pecl-xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1551
#4 0x00005555558369f3 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f7f1a0) at
/usr/src/debug/php-5.5.0RC2/Zend/zend_vm_execute.h:545
#5 0x00005555557f6a98 in execute_ex (execute_data=0x7ffff7f7f1a0) at
/usr/src/debug/php-5.5.0RC2/Zend/zend_vm_execute.h:356
#6 0x0000555555777d2d in dtrace_execute_ex (execute_data=<optimized out>)
at /usr/src/debug/php-5.5.0RC2/Zend/zend_dtrace.c:75
#7 0x00007fffed6cb184 in xdebug_execute_ex (execute_data=0x7ffff7f7f1a0)
at /usr/src/debug/php-pecl-xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
#8 0x0000555555789728 in zend_execute_scripts (type=type@entry=8,
retval=retval@entry=0x0, file_count=file_count@entry=3)
at /usr/src/debug/php-5.5.0RC2/Zend/zend.c:1316
#9 0x00005555557274dc in php_execute_script
(primary_file=primary_file@entry=0x7fffffffcbb0) at
/usr/src/debug/php-5.5.0RC2/main/main.c:2481
#10 0x000055555583a106 in do_cli (argc=2, argv=0x555555b7c3b0) at
/usr/src/debug/php-5.5.0RC2/sapi/cli/php_cli.c:993
#11 0x000055555560f31a in main (argc=2, argv=0x555555b7c3b0) at
/usr/src/debug/php-5.5.0RC2/sapi/cli/php_cli.c:1377
enum type are not long ;) so cannot be used as zend_parse_parameters arg.
--
Edit bug report at https://bugs.php.net/bug.php?id=64961&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=64961&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=64961&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=64961&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64961&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64961&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64961&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64961&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64961&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64961&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64961&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=64961&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=64961&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64961&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64961&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64961&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64961&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64961&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64961&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64961&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64961&r=mysqlcfg