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

php7 branch: SegFault when calling ->connect() #38

Closed
justwakku opened this issue May 11, 2016 · 4 comments
Closed

php7 branch: SegFault when calling ->connect() #38

justwakku opened this issue May 11, 2016 · 4 comments

Comments

@justwakku
Copy link

justwakku commented May 11, 2016

Hi, we are getting SegFault signal and the backtrace from gdb says:

Program terminated with signal 11, Segmentation fault.
#0  zend_vm_stack_push_call_frame_ex (execute_data=0x7f6c02013030) at /usr/src/php-7.0.6/Zend/zend_execute.h:181
181                     ZEND_SET_CALL_INFO(call, call_info);

Here is backtrace:

#8  0x00000000007e3216 in main (argc=2, argv=0x1d8aa30) at /usr/src/php-7.0.6/sapi/cli/php_cli.c:1344
1344                            exit_status = do_cli(argc, argv);
#7  0x00000000007e2a9e in do_cli (argc=2, argv=0x1d8aa30) at /usr/src/php-7.0.6/sapi/cli/php_cli.c:974
974                                     php_execute_script(&file_handle);
#6  0x00000000006f3b98 in php_execute_script (primary_file=0x7ffe154f3a50) at /usr/src/php-7.0.6/main/main.c:2494
2494                            retval = (zend_execute_scripts(ZEND_REQUIRE, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS);
#5  0x000000000074f8d7 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/php-7.0.6/Zend/zend.c:1427
1427                            zend_execute(op_array, retval);
#4  0x00000000007de9f3 in zend_execute (op_array=0x7f6c0207d000, return_value=<value optimized out>) at /usr/src/php-7.0.6/Zend/zend_vm_execute.h:458
458             zend_execute_ex(execute_data);
#3  0x000000000078de40 in execute_ex (ex=<value optimized out>) at /usr/src/php-7.0.6/Zend/zend_vm_execute.h:417
417                     if (UNEXPECTED((ret = ((opcode_handler_t)OPLINE->handler)(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)) != 0))                                                                                         {
#2  ZEND_INIT_METHOD_CALL_SPEC_CV_CONST_HANDLER (execute_data=0x7f6c02013030) at /usr/src/php-7.0.6/Zend/zend_vm_execute.h:32123
32123           call = zend_vm_stack_push_call_frame(call_info,
#1  zend_vm_stack_push_call_frame (execute_data=0x7f6c02013030) at /usr/src/php-7.0.6/Zend/zend_execute.h:207
207             return zend_vm_stack_push_call_frame_ex(used_stack, call_info,
#0  zend_vm_stack_push_call_frame_ex (execute_data=0x7f6c02013030) at /usr/src/php-7.0.6/Zend/zend_execute.h:181
181                     ZEND_SET_CALL_INFO(call, call_info);

@mgdm
Copy link
Owner

mgdm commented May 11, 2016

Yes, it's not finished yet.

On 11 May 2016, at 06:45, wakku [email protected] wrote:

Hi, we are getting SegFault signal and the backtrace from gdb says:

Program terminated with signal 11, Segmentation fault.
#0 zend_vm_stack_push_call_frame_ex (execute_data=0x7f6c02013030) at /jsroot/src/php-7.0.6/Zend/zend_execute.h:181
181 ZEND_SET_CALL_INFO(call, call_info);
Here is backtrace:

#8 0x00000000007e3216 in main (argc=2, argv=0x1d8aa30) at /jsroot/src/php-7.0.6/sapi/cli/php_cli.c:1344
1344 exit_status = do_cli(argc, argv);
#7 0x00000000007e2a9e in do_cli (argc=2, argv=0x1d8aa30) at /jsroot/src/php-7.0.6/sapi/cli/php_cli.c:974
974 php_execute_script(&file_handle);
#6 0x00000000006f3b98 in php_execute_script (primary_file=0x7ffe154f3a50) at /jsroot/src/php-7.0.6/main/main.c:2494
2494 retval = (zend_execute_scripts(ZEND_REQUIRE, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS);
#5 0x000000000074f8d7 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /jsroot/src/php-7.0.6/Zend/zend.c:1427
1427 zend_execute(op_array, retval);
#4 0x00000000007de9f3 in zend_execute (op_array=0x7f6c0207d000, return_value=) at /jsroot/src/php-7.0.6/Zend/zend_vm_execute.h:458
458 zend_execute_ex(execute_data);
#3 0x000000000078de40 in execute_ex (ex=) at /jsroot/src/php-7.0.6/Zend/zend_vm_execute.h:417
417 if (UNEXPECTED((ret = ((opcode_handler_t)OPLINE->handler)(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)) != 0)) {
#2 ZEND_INIT_METHOD_CALL_SPEC_CV_CONST_HANDLER (execute_data=0x7f6c02013030) at /jsroot/src/php-7.0.6/Zend/zend_vm_execute.h:32123
32123 call = zend_vm_stack_push_call_frame(call_info,
#1 zend_vm_stack_push_call_frame (execute_data=0x7f6c02013030) at /jsroot/src/php-7.0.6/Zend/zend_execute.h:207
207 return zend_vm_stack_push_call_frame_ex(used_stack, call_info,
#0 zend_vm_stack_push_call_frame_ex (execute_data=0x7f6c02013030) at /jsroot/src/php-7.0.6/Zend/zend_execute.h:181
181 ZEND_SET_CALL_INFO(call, call_info);


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@justwakku
Copy link
Author

@mgdm oh, i see. sorry to bother u. XD

@gjongenelen
Copy link

gjongenelen commented May 13, 2016

Is there any ETA for this release?

@mgdm
Copy link
Owner

mgdm commented May 15, 2016

Not currently. I'm working on it when I get spare time.

@mgdm mgdm closed this as completed May 15, 2016
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

3 participants