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 on var_dump() #1501

Closed
ghost opened this issue Nov 1, 2013 · 0 comments
Closed

[BUG] [CRASH] Segmentation Fault on var_dump() #1501

ghost opened this issue Nov 1, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 1, 2013

<?php
$di     = new \Phalcon\DI\FactoryDefault();
$url    = $di->get('url');
$router = $di->get('router');
var_dump($router);
?>

The crash does not happen if $di->get('url'); is commented out.

#0  0x0000000000a42b6b in zend_hash_apply_with_arguments (ht=0x7f701205c0f8, tsrm_ls=0x219ba70, apply_func=0x85ef10 <php_array_element_dump>, num_args=1) at /tmp/php-build/source/5.5.4/Zend/zend_hash.c:769
#1  0x000000000085f791 in php_var_dump (struc=0x7f701205cee0, level=5, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/ext/standard/var.c:146
#2  0x000000000085f1c7 in php_object_property_dump (zv=0x7f701205cee0, tsrm_ls=0x219ba70, num_args=1, args=0x7fff5d48c2d8, hash_key=0x7fff5d48c2c0) at /tmp/php-build/source/5.5.4/ext/standard/var.c:82
#3  0x0000000000a42bc6 in zend_hash_apply_with_arguments (ht=0x7f701205c050, tsrm_ls=0x219ba70, apply_func=0x85f01a <php_object_property_dump>, num_args=1) at /tmp/php-build/source/5.5.4/Zend/zend_hash.c:772
#4  0x000000000085f791 in php_var_dump (struc=0x7f701205b938, level=3, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/ext/standard/var.c:146
#5  0x000000000085f1c7 in php_object_property_dump (zv=0x7f701205b938, tsrm_ls=0x219ba70, num_args=1, args=0x7fff5d48c4f8, hash_key=0x7fff5d48c4e0) at /tmp/php-build/source/5.5.4/ext/standard/var.c:82
#6  0x0000000000a42bc6 in zend_hash_apply_with_arguments (ht=0x7f701205b7d8, tsrm_ls=0x219ba70, apply_func=0x85f01a <php_object_property_dump>, num_args=1) at /tmp/php-build/source/5.5.4/Zend/zend_hash.c:772
#7  0x000000000085f791 in php_var_dump (struc=0x7f70120e3310, level=1, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/ext/standard/var.c:146
#8  0x000000000085f96b in zif_var_dump (ht=1, return_value=0x7f701211de68, return_value_ptr=0x7f70120e3100, this_ptr=0x0, return_value_used=0, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/ext/standard/var.c:183
#9  0x00007f7002f44650 in phalcon_execute_internal (execute_data_ptr=0x7f70120e3258, fci=0x0, return_value_used=0, tsrm_ls=0x219ba70) at /home/vladimir/workspace/cphalcon/ext/phalcon.c:371
#10 0x0000000000a74f4f in zend_do_fcall_common_helper_SPEC (execute_data=0x7f70120e3258, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:552
#11 0x0000000000a7a773 in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0x7f70120e3258, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:2329
#12 0x0000000000a7424e in execute_ex (execute_data=0x7f70120e3258, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:363
#13 0x0000000000a74333 in zend_execute (op_array=0x7f701211eed8, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:388
#14 0x0000000000a2ec68 in zend_execute_scripts (type=8, tsrm_ls=0x219ba70, retval=0x0, file_count=3) at /tmp/php-build/source/5.5.4/Zend/zend.c:1318
#15 0x000000000096f9ec in php_execute_script (primary_file=0x7fff5d48ed60, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/main/main.c:2489
#16 0x0000000000aef369 in do_cli (argc=2, argv=0x219b990, tsrm_ls=0x219ba70) at /tmp/php-build/source/5.5.4/sapi/cli/php_cli.c:994
#17 0x0000000000af09a0 in main (argc=2, argv=0x219b990) at /tmp/php-build/source/5.5.4/sapi/cli/php_cli.c:1378
@ghost ghost mentioned this issue Nov 1, 2013
phalcon pushed a commit that referenced this issue Nov 2, 2013
@ghost ghost closed this as completed Nov 2, 2013
This issue was closed.
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

No branches or pull requests

0 participants