php+扩展+数组段错误,php5.6.24+swoole.2.0.7 段错误

机器情况

PHP 5.6.24 + swoole 2.0.7 --enable-async-redis --enable-coroutine

gcc -v

Target: x86_64-redhat-linux

Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux

Thread model: posix

gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)

uname -a

Linux c787bba3a50d 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

错误描述

该问题只在php5.6+swoole2.0 发生,php5.6+swoole1.9.9 无问题

tcp和http接口被调用时 WORKER Error {"worker_id":0,"worker_pid":32264,"exit_code":0}

使用gdb

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffe8b579000

Core was generated by `xx-Worker '.

Program terminated with signal 11, Segmentation fault.

#0 sw_coro_create (fci_cache=0x0, argv=0x7ffe8b5518a0, argc=3, retval=0x7ffe8b5518c0,

post_callback=0x0, params=0x0) at /root/build/swoole-src-2.0.7/swoole_coroutine.c:66

66 zend_op_array *op_array = (zend_op_array *)fci_cache->function_handler;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值