Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [CRASH] Segmentation fault in Phalcon\Image\Adapter\Gd::check() #1149

Merged
merged 1 commit into from Aug 24, 2013
Merged

[BUG] [CRASH] Segmentation fault in Phalcon\Image\Adapter\Gd::check() #1149

merged 1 commit into from Aug 24, 2013

Conversation

ghost
Copy link

@ghost ghost commented Aug 24, 2013

Testing ImageTest Segmentation fault (збережено знімок оперативної пам’яті)

Program terminated with signal 11, Segmentation fault.
#0  0x000000000099c418 in zend_update_static_property (scope=0x1ccccf0, name=0x7fb38a146664 "_checked", name_length=8, value=0x0) at /tmp/php-build/source/5.5.0/Zend/zend_API.c:3805
3805                                    Z_TYPE_PP(property) = Z_TYPE_P(value);

#0  0x000000000099c418 in zend_update_static_property (scope=0x1ccccf0, name=0x7fb38a146664 "_checked", name_length=8, value=0x0) at /tmp/php-build/source/5.5.0/Zend/zend_API.c:3805
#1  0x00007fb3899948cd in phalcon_update_static_property_ce (ce=0x1ccccf0, name=0x7fb38a146664 "_checked", len=8, value=0x0) at /home/vladimir/workspace/cphalcon/ext/kernel/object.c:1261
#2  0x00007fb38999491c in phalcon_update_static_property (class_name=0x7fb38a14666d "phalcon\\image\\adapter\\gd", class_length=24, name=0x7fb38a146664 "_checked", name_length=8, value=0x0)
    at /home/vladimir/workspace/cphalcon/ext/kernel/object.c:1270
#3  0x00007fb389bd010c in zim_Phalcon_Image_Adapter_GD_check (ht=0, return_value=0x31dedd8, return_value_ptr=0x7fffc92423e0, this_ptr=0x0, return_value_used=1) at /home/vladimir/workspace/cphalcon/ext/image/adapter/gd.c:134
#4  0x00007fb38998a5ed in phalcon_execute_internal (execute_data_ptr=0x7fffc9242300, fci=0x7fffc9242400, return_value_used=1) at /home/vladimir/workspace/cphalcon/ext/phalcon.c:367
#5  0x0000000000979d87 in zend_call_function (fci=0x7fffc9242400, fci_cache=0x7fffc92422d0) at /tmp/php-build/source/5.5.0/Zend/zend_execute_API.c:959
#6  0x00007fb38998e053 in phalcon_call_user_function (function_table=0x188d240, object_pp=0x0, function_name=0x287ac28, retval_ptr=0x2c20b48, retval_ptr_ptr=0x0, param_count=0, params=0x7fffc92426b8)
    at /home/vladimir/workspace/cphalcon/ext/kernel/fcall.c:112
#7  0x00007fb38998eddc in phalcon_call_static_zval_str_func_vparams (return_value=0x2c20b48, return_value_ptr=0x0, mixed_name=0x7fffc92425e0, method_name=0x7fb38a14645a "check", method_len=5, param_count=0, ap=0x7fffc92425f8)
    at /home/vladimir/workspace/cphalcon/ext/kernel/fcall.c:321
#8  0x00007fb38998f390 in phalcon_call_static_func_params (return_value=0x0, return_value_ptr=0x0, class_name=0x7fb38a14666d "phalcon\\image\\adapter\\gd", class_length=24, method_name=0x7fb38a14645a "check", method_length=5, 
    param_count=0) at /home/vladimir/workspace/cphalcon/ext/kernel/fcall.c:429
#9  0x00007fb389bd02a3 in zim_Phalcon_Image_Adapter_GD___construct (ht=3, return_value=0x2c77e98, return_value_ptr=0x7fb395eebd10, this_ptr=0x316ab38, return_value_used=0) at /home/vladimir/workspace/cphalcon/ext/image/adapter/gd.c:163
#10 0x00007fb38998a63c in phalcon_execute_internal (execute_data_ptr=0x7fb395eebfe8, fci=0x0, return_value_used=0) at /home/vladimir/workspace/cphalcon/ext/phalcon.c:371
#11 0x00000000009cc6c9 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb395eebfe8) at /tmp/php-build/source/5.5.0/Zend/zend_vm_execute.h:545
#12 0x00000000009cce6b in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0x7fb395eebfe8) at /tmp/php-build/source/5.5.0/Zend/zend_vm_execute.h:678
#13 0x00000000009cbd8a in execute_ex (execute_data=0x7fb395eebfe8) at /tmp/php-build/source/5.5.0/Zend/zend_vm_execute.h:356
#14 0x00000000009cbe12 in zend_execute (op_array=0x7fb395f23cc0) at /tmp/php-build/source/5.5.0/Zend/zend_vm_execute.h:381
#15 0x000000000098d6f4 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /tmp/php-build/source/5.5.0/Zend/zend.c:1316
#16 0x00000000008f5783 in php_execute_script (primary_file=0x7fffc9244de0) at /tmp/php-build/source/5.5.0/main/main.c:2481
#17 0x0000000000a3bbaf in do_cli (argc=2, argv=0x188c600) at /tmp/php-build/source/5.5.0/sapi/cli/php_cli.c:993
#18 0x0000000000a3ceed in main (argc=2, argv=0x188c600) at /tmp/php-build/source/5.5.0/sapi/cli/php_cli.c:1377

phalcon pushed a commit that referenced this pull request Aug 24, 2013
[BUG] [CRASH] Segmentation fault in Phalcon\Image\Adapter\Gd::check()
@phalcon phalcon merged commit 9069465 into phalcon:1.3.0 Aug 24, 2013
@ghost ghost deleted the image-crash branch August 25, 2013 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants