Closed

Description
Test code:
<?php
class Test extends \Phalcon\DI\Injectable
{
public function test()
{
$a = $this->__get(1);
}
}
new \Phalcon\DI;
$x = new Test();
$x->test();
Backtrace:
Program terminated with signal 11, Segmentation fault.
#0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
31 ../sysdeps/x86_64/multiarch/../strlen.S: Немає такого файла або каталогу.
(gdb) bt
#0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
#1 0x0000000000974776 in xbuf_format_converter (xbuf=0x7fff684b2740, fmt=0x7f0f3af0b7b6 "s", ap=0x7fff684b2898) at /tmp/php-build/source/5.5.4/main/spprintf.c:576
#2 0x00000000009756fe in vspprintf (pbuf=0x7fff684b27d8, max_len=0, format=0x7f0f3af0b798 "Access to undefined property %s", ap=0x7fff684b2898) at /tmp/php-build/source/5.5.4/main/spprintf.c:799
#3 0x00000000009695d1 in php_verror (docref=0x0, params=0xf8cfc0 "", type=2, format=0x7f0f3af0b798 "Access to undefined property %s", args=0x7fff684b2898, tsrm_ls=0x21feaa0) at /tmp/php-build/source/5.5.4/main/main.c:716
#4 0x000000000096a1e4 in php_error_docref0 (docref=0x0, tsrm_ls=0x21feaa0, type=2, format=0x7f0f3af0b798 "Access to undefined property %s") at /tmp/php-build/source/5.5.4/main/main.c:882
#5 0x00007f0f3ae55ea3 in zim_Phalcon_DI_Injectable___get (ht=1, return_value=0x7f0f44e53970, return_value_ptr=0x7f0f44e17330, this_ptr=0x7f0f44e54728, return_value_used=1, tsrm_ls=0x21feaa0)
at /home/vladimir/workspace/cphalcon/ext/di/injectable.c:201
#6 0x00007f0f3ac1e3e8 in phalcon_execute_internal (execute_data_ptr=0x7f0f44e17368, fci=0x0, return_value_used=1, tsrm_ls=0x21feaa0) at /home/vladimir/workspace/cphalcon/ext/phalcon.c:56
#7 0x0000000000a74f4f in zend_do_fcall_common_helper_SPEC (execute_data=0x7f0f44e17368, tsrm_ls=0x21feaa0) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:552
#8 0x0000000000a759b2 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0x7f0f44e17368, tsrm_ls=0x21feaa0) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:685
#9 0x0000000000a7424e in execute_ex (execute_data=0x7f0f44e17368, tsrm_ls=0x21feaa0) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:363
#10 0x0000000000a74333 in zend_execute (op_array=0x7f0f44e53100, tsrm_ls=0x21feaa0) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:388
#11 0x0000000000a2ec68 in zend_execute_scripts (type=8, tsrm_ls=0x21feaa0, retval=0x0, file_count=3) at /tmp/php-build/source/5.5.4/Zend/zend.c:1318
#12 0x000000000096f9ec in php_execute_script (primary_file=0x7fff684b50a0, tsrm_ls=0x21feaa0) at /tmp/php-build/source/5.5.4/main/main.c:2489
#13 0x0000000000aef369 in do_cli (argc=2, argv=0x21fe9c0, tsrm_ls=0x21feaa0) at /tmp/php-build/source/5.5.4/sapi/cli/php_cli.c:994
#14 0x0000000000af09a0 in main (argc=2, argv=0x21fe9c0) at /tmp/php-build/source/5.5.4/sapi/cli/php_cli.c:1378
Metadata
Metadata
Assignees
Labels
No labels