php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70880 gmaick coredump
Submitted: 2015-11-08 16:11 UTC Modified: 2016-01-10 04:22 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: yiliaofan at gmail dot com Assigned:
Status: No Feedback Package: gmagick (PECL)
PHP Version: 5.6.15 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
37 - 32 = ?
Subscribe to this entry?

 
 [2015-11-08 16:11 UTC] yiliaofan at gmail dot com
Description:
------------
(gdb) bt
#0  0x00007f9985fd15c9 in raise () from /lib64/libc.so.6
#1  0x00007f9985fd2e18 in abort () from /lib64/libc.so.6
#2  0x00007f997a867338 in MagickPanicSignalHandler () from /usr/local/GraphicsMagick/lib/libGraphicsMagick.so.3
#3  <signal handler called>
#4  0x0000000000834538 in zend_std_object_get_class (object=0x35ab470) at /home/work/env/php/php-5.6.15/Zend/zend_object_handlers.c:1528
#5  0x0000000000859533 in ZEND_INIT_METHOD_CALL_SPEC_VAR_CONST_HANDLER (execute_data=0x7f99894c8940)
    at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:15736
#6  0x0000000000844808 in execute_ex (execute_data=0x7f99894c8940) at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:363
#7  0x00000000007ff9d3 in zend_call_function (fci=fci@entry=0x7fff0e0b87e0, fci_cache=<optimized out>, fci_cache@entry=0x7fff0e0b87b0)
    at /home/work/env/php/php-5.6.15/Zend/zend_execute_API.c:829
#8  0x0000000000825b45 in zend_call_method (object_pp=object_pp@entry=0x7fff0e0b8898, obj_ce=<optimized out>, 
    fn_proxy=fn_proxy@entry=0x7fff0e0b8890, function_name=function_name@entry=0xac6b0d "__destruct", 
    function_name_len=function_name_len@entry=10, retval_ptr_ptr=retval_ptr_ptr@entry=0x0, param_count=param_count@entry=0, 
    arg1=arg1@entry=0x0, arg2=arg2@entry=0x0) at /home/work/env/php/php-5.6.15/Zend/zend_interfaces.c:97
#9  0x00000000008340a2 in zend_objects_destroy_object (object=0x35a6840, handle=<optimized out>)
    at /home/work/env/php/php-5.6.15/Zend/zend_objects.c:123
#10 0x000000000082dd46 in gc_collect_cycles () at /home/work/env/php/php-5.6.15/Zend/zend_gc.c:811
#11 0x000000000082e292 in gc_zval_possible_root (zv=zv@entry=0x6e8a638) at /home/work/env/php/php-5.6.15/Zend/zend_gc.c:163
#12 0x00000000008b409e in gc_zval_check_possible_root (z=0x6e8a638) at /home/work/env/php/php-5.6.15/Zend/zend_gc.h:183
#13 i_zval_ptr_dtor (zval_ptr=0x6e8a638) at /home/work/env/php/php-5.6.15/Zend/zend_execute.h:86
#14 zend_vm_stack_clear_multiple (nested=0) at /home/work/env/php/php-5.6.15/Zend/zend_execute.h:308
#15 zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:650
#16 0x0000000000844808 in execute_ex (execute_data=0x7f99894c87e8) at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:363
#17 0x00000000007ff9d3 in zend_call_function (fci=fci@entry=0x7fff0e0b8c60, fci_cache=<optimized out>, fci_cache@entry=0x7fff0e0b8c30)
    at /home/work/env/php/php-5.6.15/Zend/zend_execute_API.c:829
#18 0x0000000000825b45 in zend_call_method (object_pp=object_pp@entry=0x7fff0e0b8d10, obj_ce=<optimized out>, obj_ce@entry=0x301d5c8, 
    fn_proxy=fn_proxy@entry=0x301d720, function_name=function_name@entry=0xace193 "__call", function_name_len=function_name_len@entry=6, 
    retval_ptr_ptr=retval_ptr_ptr@entry=0x7fff0e0b8d38, param_count=param_count@entry=2, arg1=arg1@entry=0x6ce3250, arg2=0x6ce3de8)
    at /home/work/env/php/php-5.6.15/Zend/zend_interfaces.c:97
#19 0x000000000083504c in zend_std_call_user_call (ht=<optimized out>, return_value=0x6cc4150, return_value_ptr=0x7f99894c7e80, 
    this_ptr=0x6ce99d0, return_value_used=<optimized out>) at /home/work/env/php/php-5.6.15/Zend/zend_object_handlers.c:931
#20 0x00000000008b3f74 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>)
    at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:560
#21 0x0000000000844808 in execute_ex (execute_data=0x7f99894c7e98) at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:363
#22 0x00000000007ff9d3 in zend_call_function (fci=fci@entry=0x7fff0e0b9000, fci_cache=<optimized out>, fci_cache@entry=0x7fff0e0b8fd0)
    at /home/work/env/php/php-5.6.15/Zend/zend_execute_API.c:829
#23 0x0000000000705532 in zif_call_user_func_array (ht=<optimized out>, return_value=0x510e8c0, return_value_ptr=<optimized out>, 
    this_ptr=<optimized out>, return_value_used=<optimized out>) at /home/work/env/php/php-5.6.15/ext/standard/basic_functions.c:4784
---Type <return> to continue, or q <return> to quit---
#24 0x00000000008b3f74 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>)
    at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:560
#25 0x0000000000844808 in execute_ex (execute_data=0x7f99894c7678) at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:363
#26 0x00000000007ff9d3 in zend_call_function (fci=fci@entry=0x7fff0e0b92c0, fci_cache=<optimized out>, fci_cache@entry=0x0)
    at /home/work/env/php/php-5.6.15/Zend/zend_execute_API.c:829
#27 0x00000000007ffbbe in call_user_function_ex (function_table=<optimized out>, object_pp=object_pp@entry=0x0, 
    function_name=<optimized out>, retval_ptr_ptr=retval_ptr_ptr@entry=0x7fff0e0b9370, param_count=param_count@entry=4, 
    params=params@entry=0x7fff0e0b9380, no_separation=no_separation@entry=0, symbol_table=symbol_table@entry=0x0)
    at /home/work/env/php/php-5.6.15/Zend/zend_execute_API.c:617
#28 0x00007f997af60aaf in php_swoole_onTask (serv=0x2d1f890, req=<optimized out>)
    at /home/work/env/php/extensions/swoole-src-git/swoole_server.c:668
#29 0x00007f997af88878 in swProcessPool_worker_loop (pool=0x7f997a31d1c0, worker=0x7f997a31ea80)
    at /home/work/env/php/extensions/swoole-src-git/src/network/ProcessPool.c:327
#30 0x00007f997af891f8 in swProcessPool_spawn (worker=0x7f997a31ea80)
    at /home/work/env/php/extensions/swoole-src-git/src/network/ProcessPool.c:234
#31 0x00007f997af89321 in swProcessPool_start (pool=0x7f997a31d1c0)
    at /home/work/env/php/extensions/swoole-src-git/src/network/ProcessPool.c:106
#32 0x00007f997af8f290 in swManager_start (factory=factory@entry=0x2d1fdc0)
    at /home/work/env/php/extensions/swoole-src-git/src/network/Manager.c:138
#33 0x00007f997af7eff4 in swFactoryProcess_start (factory=0x2d1fdc0)
    at /home/work/env/php/extensions/swoole-src-git/src/factory/FactoryProcess.c:86
#34 0x00007f997af85c2d in swServer_start (serv=serv@entry=0x2d1f890) at /home/work/env/php/extensions/swoole-src-git/src/network/Server.c:586
#35 0x00007f997af635b0 in zif_swoole_server_start (ht=<optimized out>, return_value=0x2fd1e18, return_value_ptr=<optimized out>, 
    this_ptr=<optimized out>, return_value_used=<optimized out>) at /home/work/env/php/extensions/swoole-src-git/swoole_server.c:1997
#36 0x00000000008b3f74 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>)
    at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:560
#37 0x0000000000844808 in execute_ex (execute_data=0x7f99894c7410) at /home/work/env/php/php-5.6.15/Zend/zend_vm_execute.h:363
#38 0x00000000008103b0 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3)
    at /home/work/env/php/php-5.6.15/Zend/zend.c:1341
#39 0x00000000007ae9a2 in php_execute_script (primary_file=primary_file@entry=0x7fff0e0bdbd0)
    at /home/work/env/php/php-5.6.15/main/main.c:2597
#40 0x00000000008b5f21 in do_cli (argc=6, argv=0x2a34bf0) at /home/work/env/php/php-5.6.15/sapi/cli/php_cli.c:994
#41 0x0000000000435bef in main (argc=6, argv=0x2a34bf0) at /home/work/env/php/php-5.6.15/sapi/cli/php_cli.c:1378



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-29 17:34 UTC] danack@php.net
-Status: Open +Status: Feedback
 [2015-12-29 17:34 UTC] danack@php.net
We won't be able to investigate this without more information. In particular what code causes this to happen.

Additionally, you appear to be using the 'Swoole' extension. Please disable this extension and try to reproduce the error.

And if you are using GraphsMagick that has been compiled with OpenMP enabled, please try either using a version that was compiled with it disabled, or try setting the number of threads to 1 via `Gmagick::setResourceLimit(5, 1)`
 [2016-01-10 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC