|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2014-08-31 04:47 UTC] eglic dot csdn at gmail dot com
Description:
------------
the pecl extension Imagick crashed at php-5.6.0 (no-debug-zts).
but it can run at php-5.6.0 (debug-zts)
code crashed while new ImagickDraw();
--------dumped core-------------------------------
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool www '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000007f078e in zend_parse_va_args (num_args=num_args@entry=1, type_spec=0x7fff8c08dac8 "<\001",
va=va@entry=0x7fff8c08d9d8, flags=flags@entry=0, tsrm_ls=tsrm_ls@entry=0x7f27a76c40ea)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_API.c:790
790 zend_function *active_function = EG(current_execute_data)->function_state.function;
(gdb) bt
#0 0x00000000007f078e in zend_parse_va_args (num_args=num_args@entry=1, type_spec=0x7fff8c08dac8 "<\001",
va=va@entry=0x7fff8c08d9d8, flags=flags@entry=0, tsrm_ls=tsrm_ls@entry=0x7f27a76c40ea)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_API.c:790
#1 0x00000000007f0c8e in zend_parse_parameters (num_args=1, tsrm_ls=tsrm_ls@entry=0x7f27a76c40ea,
type_spec=type_spec@entry=0x7fff8c08dac8 "<\001") at /data/downloads/develop/php/php-5.6.0/Zend/zend_API.c:924
#2 0x00007f27a76b80ac in zim_imagickdraw_setfillcolor (ht=<optimized out>, return_value=0x7f27ae99e760,
return_value_ptr=<optimized out>, this_ptr=0x7f27ae99e500, return_value_used=<optimized out>)
at /data/eglic/downloads/php/imagick/imagickdraw_class.c:310
#3 0x00007f27a78f271d in xdebug_execute_internal (current_execute_data=0x7f27aead6a28, fci=0x0, return_value_used=0,
tsrm_ls=0x1c880c0) at /home/eglic/下载/develop/php/xdebug/xdebug.c:1581
#4 0x0000000000896284 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>, tsrm_ls=0x1c880c0)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_vm_execute.h:560
#5 0x000000000082479b in execute_ex (execute_data=0x7f27aead6a28, tsrm_ls=0x1c880c0)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_vm_execute.h:363
#6 0x00007f27a78f1b43 in xdebug_execute_ex (execute_data=0x7f27aead6a28, tsrm_ls=<optimized out>)
at /home/eglic/下载/develop/php/xdebug/xdebug.c:1465
#7 0x0000000000896a9f in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>, tsrm_ls=0x1c880c0)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_vm_execute.h:592
#8 0x000000000082479b in execute_ex (execute_data=0x7f27aead66e8, tsrm_ls=0x1c880c0)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_vm_execute.h:363
#9 0x00007f27a78f1b43 in xdebug_execute_ex (execute_data=0x7f27aead66e8, tsrm_ls=<optimized out>)
at /home/eglic/下载/develop/php/xdebug/xdebug.c:1465
#10 0x0000000000896a9f in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>, tsrm_ls=0x1c880c0)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_vm_execute.h:592
#11 0x000000000082479b in execute_ex (execute_data=0x7f27aead5178, tsrm_ls=0x1c880c0)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_vm_execute.h:363
#12 0x00007f27a78f1b43 in xdebug_execute_ex (execute_data=0x7f27aead5178, tsrm_ls=<optimized out>)
at /home/eglic/下载/develop/php/xdebug/xdebug.c:1465
#13 0x0000000000896a9f in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>, tsrm_ls=0x1c880c0)
at /data/downloads/develop/php/php-5.6.0/Zend/zend_vm_execute.h:592
#14 0x000000000082479b in execute_ex (execute_data=0x7f27aead2700, tsrm_ls=0x1c880c0)
--------------------------------------------------------------------
eglic@station ~ $ uname -a
Linux station 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
eglic@station ~ $ php -v
PHP 5.6.0 (cli) (built: Aug 31 2014 11:56:32)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v4.0.0-dev, Copyright (c) 2005-2013, by mOo
with Xdebug v2.3.0dev, Copyright (c) 2002-2013, by Derick Rethans
with XCache Cacher v4.0.0-dev, Copyright (c) 2005-2013, by mOo
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 00:00:02 2025 UTC |
code at "zim_imagickdraw_setfillcolor.../data/eglic/downloads/php/imagick/imagickdraw_class.c:310 is: 310 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { 311 return; 312 }