Home
Download
Document
Forum
Video
Donate
Source Code
AI 助理
Sponsors
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
Products
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
Login
Register
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
关于AIO出CORE的问题,如何在client多次调用aio?
代码如下: 需求:我需要使用aio来异步读取多个文件,所以使用了如下代码: 环境: linux 2.6.32-2.0.0.6-5 #25 SMP Fri Dec 21 10:09:40 CST 2012 x86_64 x86_64 x86_64 GNU/Linux php 5.3.27 <?php swoole_async_readfile("data/xx", function($filename, $content) { echo "$filename: $content"; }); swoole_async_readfile("data/xx", function($filename, $content) { echo "$filename: $content"; }); echo '---------'; swoole_event_wait(); echo 1; ------------------------------------------- 输出: PHP Warning: swoole_async_readfile(): swoole_client: PHP5.3 not support auto run swoole_event_wait. Please append swoole_event_wait at the script end. in /home/jianghongyang/sloow/test.php on line 4 ---------data/xx: sdfsdfsdfkjsd sdkfjhklsjdf sdlfkjsa'd;f asdflasdfkj asdflsdkfjas dflsadfkj'asd fs;adfkjlasdfj asdflkjsad'fkjasd fsdlfkjsladkfj asdflkjasd;fkljasd fasdlfkjlaskjfa sdfalsdfkjlasdjfa sdflaskjflakjsf as dflasdkfjlkjasdf asdf;lksdajf;kljasd;lfa sdfkldjasfkjas;dlfkj asdflkjasdlfkj;alsdfj asdlfkjasldkjf asdflksjd;flkjasd;lkjfas dfskjdf;lkajs;lf sdklfjl;askjdf;lkasdf lasdkfj;lsdjf;ljas fslakjf;kjasf; data/xx: sdfsdfsdfkjsd sdkfjhklsjdf sdlfkjsa'd;f asdflasdfkj asdflsdkfjas dflsadfkj'asd fs;adfkjlasdfj asdflkjsad'fkjasd fsdlfkjsladkfj asdflkjasd;fkljasd fasdlfkjlaskjfa sdfalsdfkjlasdjfa sdflaskjflakjsf as dflasdkfjlkjasdf asdf;lksdajf;kljasd;lfa sdfkldjasfkjas;dlfkj asdflkjasdlfkj;alsdfj asdlfkjasldkjf asdflksjd;flkjasd;lkjfas dfskjdf;lkajs;lf sdklfjl;askjdf;lkasdf lasdkfj;lsdjf;ljas fslakjf;kjasf; 段错误 (core dumped) core dump 如下: ---------------------------------------------------------------------------------- GNU gdb Fedora (6.8-37.el5) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3 : GNU GPL version 3 or later ; This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"... (no debugging symbols found) warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libcrypt.so.1 Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libresolv.so.2 Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/librt.so.1 Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libm.so.6 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libnsl.so.1 Reading symbols from /usr/lib64/libxml2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libxml2.so.2 Reading symbols from /usr/lib64/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libz.so.1 Reading symbols from /lib64/libc.so.6... (no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /usr/local/php/lib/php/20090626/bcmath.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/bcmath.so Reading symbols from /usr/local/php/lib/php/20090626/bz2.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/bz2.so Reading symbols from /usr/lib64/libbz2.so.1...done. Loaded symbols for /usr/lib64/libbz2.so.1 Reading symbols from /usr/local/php/lib/php/20090626/calendar.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/calendar.so Reading symbols from /usr/local/php/lib/php/20090626/ctype.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/ctype.so Reading symbols from /usr/local/php/lib/php/20090626/curl.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/curl.so Reading symbols from /usr/local/curl/lib/libcurl.so.4...done. Loaded symbols for /usr/local/curl/lib/libcurl.so.4 Reading symbols from /usr/lib64/libidn.so.11...done. Loaded symbols for /usr/lib64/libidn.so.11 Reading symbols from /usr/local/openssl/lib/libssl.so.1.0.0...done. Loaded symbols for /usr/local/openssl/lib/libssl.so.1.0.0 Reading symbols from /usr/local/openssl/lib/libcrypto.so.1.0.0...done. Loaded symbols for /usr/local/openssl/lib/libcrypto.so.1.0.0 Reading symbols from /usr/local/php/lib/php/20090626/dom.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/dom.so Reading symbols from /usr/local/php/lib/php/20090626/enchant.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/enchant.so Reading symbols from /usr/lib64/libenchant.so.1...done. Loaded symbols for /usr/lib64/libenchant.so.1 Reading symbols from /lib64/libgmodule-2.0.so.0...done. Loaded symbols for /lib64/libgmodule-2.0.so.0 Reading symbols from /lib64/libglib-2.0.so.0...done. Loaded symbols for /lib64/libglib-2.0.so.0 Reading symbols from /usr/local/php/lib/php/20090626/exif.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/exif.so Reading symbols from /usr/local/php/lib/php/20090626/fileinfo.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/fileinfo.so Reading symbols from /usr/local/php/lib/php/20090626/ftp.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/ftp.so Reading symbols from /usr/local/php/lib/php/20090626/gd.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/gd.so Reading symbols from /usr/lib64/libpng12.so.0...done. Loaded symbols for /usr/lib64/libpng12.so.0 Reading symbols from /usr/local/php/lib/php/20090626/gettext.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/gettext.so Reading symbols from /usr/local/php/lib/php/20090626/gmp.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/gmp.so Reading symbols from /usr/lib64/libgmp.so.3...done. Loaded symbols for /usr/lib64/libgmp.so.3 Reading symbols from /usr/local/php/lib/php/20090626/hash.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/hash.so Reading symbols from /usr/local/php/lib/php/20090626/iconv.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/iconv.so Reading symbols from /usr/local/php/lib/php/20090626/intl.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/intl.so Reading symbols from /usr/lib64/libicui18n.so.36...done. Loaded symbols for /usr/lib64/libicui18n.so.36 Reading symbols from /usr/lib64/libicuuc.so.36...done. Loaded symbols for /usr/lib64/libicuuc.so.36 Reading symbols from /usr/lib64/libicudata.so.36...done. Loaded symbols for /usr/lib64/libicudata.so.36 Reading symbols from /usr/lib64/libicuio.so.36...done. Loaded symbols for /usr/lib64/libicuio.so.36 Reading symbols from /lib64/libgcc_s.so.1...done. Loaded symbols for /lib64/libgcc_s.so.1 Reading symbols from /usr/lib64/libstdc .so.6...done. Loaded symbols for /usr/lib64/libstdc .so.6 Reading symbols from /usr/local/php/lib/php/20090626/json.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/json.so Reading symbols from /usr/local/php/lib/php/20090626/mbstring.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mbstring.so Reading symbols from /usr/local/php/lib/php/20090626/mcrypt.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mcrypt.so Reading symbols from /usr/lib64/libmcrypt.so.4...done. Loaded symbols for /usr/lib64/libmcrypt.so.4 Reading symbols from /usr/local/php/lib/php/20090626/mysql.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mysql.so Reading symbols from /usr/local/php/lib/php/20090626/mysqli.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mysqli.so Reading symbols from /usr/local/php/lib/php/20090626/mysqlnd.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mysqlnd.so Reading symbols from /usr/local/php/lib/php/20090626/openssl.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/openssl.so Reading symbols from /usr/local/php/lib/php/20090626/pcntl.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/pcntl.so Reading symbols from /usr/local/php/lib/php/20090626/pdo.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/pdo.so Reading symbols from /usr/local/php/lib/php/20090626/pdo_mysql.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/pdo_mysql.so Reading symbols from /usr/local/php/lib/php/20090626/phar.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/phar.so Reading symbols from /usr/local/php/lib/php/20090626/posix.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/posix.so Reading symbols from /usr/local/php/lib/php/20090626/readline.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/readline.so Reading symbols from /usr/lib64/libreadline.so.5...done. Loaded symbols for /usr/lib64/libreadline.so.5 Reading symbols from /usr/lib64/libncurses.so.5...done. Loaded symbols for /usr/lib64/libncurses.so.5 Reading symbols from /usr/local/php/lib/php/20090626/recode.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/recode.so Reading symbols from /usr/lib64/librecode.so.0...done. Loaded symbols for /usr/lib64/librecode.so.0 Reading symbols from /usr/local/php/lib/php/20090626/session.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/session.so Reading symbols from /usr/local/php/lib/php/20090626/shmop.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/shmop.so Reading symbols from /usr/local/php/lib/php/20090626/simplexml.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/simplexml.so Reading symbols from /usr/local/php/lib/php/20090626/soap.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/soap.so Reading symbols from /usr/local/php/lib/php/20090626/sockets.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sockets.so Reading symbols from /usr/local/php/lib/php/20090626/sqlite.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sqlite.so Reading symbols from /usr/local/php/lib/php/20090626/sqlite3.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sqlite3.so Reading symbols from /usr/local/php/lib/php/20090626/sysvmsg.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sysvmsg.so Reading symbols from /usr/local/php/lib/php/20090626/sysvsem.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sysvsem.so Reading symbols from /usr/local/php/lib/php/20090626/sysvshm.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sysvshm.so Reading symbols from /usr/local/php/lib/php/20090626/tidy.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/tidy.so Reading symbols from /usr/lib64/libtidy-0.99.so.0...done. Loaded symbols for /usr/lib64/libtidy-0.99.so.0 Reading symbols from /usr/local/php/lib/php/20090626/tokenizer.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/tokenizer.so Reading symbols from /usr/local/php/lib/php/20090626/xml.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/xml.so Reading symbols from /usr/local/php/lib/php/20090626/xmlreader.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/xmlreader.so Reading symbols from /usr/local/php/lib/php/20090626/xmlrpc.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/xmlrpc.so Reading symbols from /usr/local/php/lib/php/20090626/xmlwriter.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/xmlwriter.so Reading symbols from /usr/local/php/lib/php/20090626/zip.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/zip.so Reading symbols from /usr/local/php/lib/php/20090626/zlib.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/zlib.so Reading symbols from /usr/local/php/lib/php/20090626/yaf.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/yaf.so Reading symbols from /usr/local/php/lib/php/20090626/apc.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/apc.so Reading symbols from /usr/local/php/lib/php/20090626/cloudsec.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/cloudsec.so Reading symbols from /usr/local/php/lib/php/20090626/gearman.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/gearman.so Reading symbols from /usr/lib64/libgearman.so.4...done. Loaded symbols for /usr/lib64/libgearman.so.4 Reading symbols from /lib64/libuuid.so.1...done. Loaded symbols for /lib64/libuuid.so.1 Reading symbols from /usr/local/php/lib/php/20090626/memcache.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/memcache.so Reading symbols from /usr/local/php/lib/php/20090626/memcached.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/memcached.so Reading symbols from /usr/local/libmemcached/lib/libmemcached.so.11...done. Loaded symbols for /usr/local/libmemcached/lib/libmemcached.so.11 Reading symbols from /usr/local/php/lib/php/20090626/mongo.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mongo.so Reading symbols from /usr/local/php/lib/php/20090626/redis.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/redis.so Reading symbols from /usr/local/php/lib/php/20090626/swoole.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/swoole.so Reading symbols from /usr/local/php/lib/php/20090626/tokyo_tyrant.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/tokyo_tyrant.so Reading symbols from /usr/lib64/libtokyotyrant.so.3...done. Loaded symbols for /usr/lib64/libtokyotyrant.so.3 Reading symbols from /usr/lib64/libtokyocabinet.so.9...done. Loaded symbols for /usr/lib64/libtokyocabinet.so.9 Reading symbols from /usr/local/php/lib/php/20090626/zookeeper.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/zookeeper.so Reading symbols from /usr/local/lib/libzookeeper_mt.so.2...done. Loaded symbols for /usr/local/lib/libzookeeper_mt.so.2 Reading symbols from /lib64/libnss_files.so.2...done. Loaded symbols for /lib64/libnss_files.so.2 Core was generated by `php test.php'. Program terminated with signal 11, Segmentation fault. [New process 3851] [New process 3852] [New process 3853] #0 0x0000000000580bc9 in gc_zval_possible_root () --------------------------------------------------------------------------------- 调用栈信息 (gdb) bt #0 0x0000000000580bc9 in gc_zval_possible_root () #1 0x0000000000570414 in zend_hash_del_key_or_index () #2 0x00007f1b53ffe1df in php_swoole_aio_onComplete (event=0x15d8950) at /usr/src/redhat/BUILD/swoole-1.7.3/swoole_async.c:174 #3 0x00007f1b54010bf9 in swoole_aio_onFinish (reactor=<value optimized out>, event=<value optimized out>) at /usr/src/redhat/BUILD/swoole-1.7.3/src/os/base.c:106 #4 0x00007f1b5400881d in swReactorEpoll_wait (reactor=0x15cc0e0, timeo=<value optimized out>) at /usr/src/redhat/BUILD/swoole-1.7.3/src/reactor/ReactorEpoll.c:251 #5 0x00007f1b53ffb296 in zif_swoole_event_wait (ht=<value optimized out>, return_value=<value optimized out>, return_value_ptr=0x158f430, this_ptr=0x0, return_value_used=4) at /usr/src/redhat/BUILD/swoole-1.7.3/swoole_client.c:1014 #6 0x000000000058b266 in zend_do_fcall_common_helper_SPEC () #7 0x000000000058a97e in execute () #8 0x00000000005629d9 in zend_execute_scripts () #9 0x000000000050f2f8 in php_execute_script () #10 0x00000000005ec72c in main () (gdb) f 0 #0 0x0000000000580bc9 in gc_zval_possible_root () (gdb) f 1 #1 0x0000000000570414 in zend_hash_del_key_or_index () (gdb) f 2 #2 0x00007f1b53ffe1df in php_swoole_aio_onComplete (event=0x15d8950) at /usr/src/redhat/BUILD/swoole-1.7.3/swoole_async.c:174 174 /usr/src/redhat/BUILD/swoole-1.7.3/swoole_async.c: No such file or directory. in /usr/src/redhat/BUILD/swoole-1.7.3/swoole_async.c (gdb) f 3 #3 0x00007f1b54010bf9 in swoole_aio_onFinish (reactor=<value optimized out>, event=<value optimized out>) at /usr/src/redhat/BUILD/swoole-1.7.3/src/os/base.c:106 106 /usr/src/redhat/BUILD/swoole-1.7.3/src/os/base.c: No such file or directory. in /usr/src/redhat/BUILD/swoole-1.7.3/src/os/base.c (gdb) f 4 #4 0x00007f1b5400881d in swReactorEpoll_wait (reactor=0x15cc0e0, timeo=<value optimized out>) at /usr/src/redhat/BUILD/swoole-1.7.3/src/reactor/ReactorEpoll.c:251 251 /usr/src/redhat/BUILD/swoole-1.7.3/src/reactor/ReactorEpoll.c: No such file or directory. in /usr/src/redhat/BUILD/swoole-1.7.3/src/reactor/ReactorEpoll.c (gdb) f 5 #5 0x00007f1b53ffb296 in zif_swoole_event_wait (ht=<value optimized out>, return_value=<value optimized out>, return_value_ptr=0x158f430, this_ptr=0x0, return_value_used=4) at /usr/src/redhat/BUILD/swoole-1.7.3/swoole_client.c:1014 1014 /usr/src/redhat/BUILD/swoole-1.7.3/swoole_client.c: No such file or directory. in /usr/src/redhat/BUILD/swoole-1.7.3/swoole_client.c (gdb) f 6 #6 0x000000000058b266 in zend_do_fcall_common_helper_SPEC () (gdb) f 7 #7 0x000000000058a97e in execute () (gdb) f 8 #8 0x00000000005629d9 in zend_execute_scripts () (gdb) f 9 #9 0x000000000050f2f8 in php_execute_script () (gdb) f 10 #10 0x00000000005ec72c in main () (gdb) 请帮忙看看 谢啦
发布于9年前 · 1 次浏览 · 来自
提问
陈
陈文龙
代码如下: 需求:我需要使用aio来异步读取多个文件,所以使用了如下代码: 环境: linux 2.6.32-2.0.0.6-5 #25 SMP Fri Dec 21 10:09:40 CST 2012 x86_64 x86_64 x86_64 GNU/Linux php 5.3.27 <?php swoole_async_readfile("data/xx", function($filename, $content) { echo "$filename: $content"; }); swoole_async_readfile("data/xx", function($filename, $content) { echo "$filename: $content"; }); echo '---------'; swoole_event_wait(); echo 1; ------------------------------------------- 输出: PHP Warning: swoole_async_readfile(): swoole_client: PHP5.3 not support auto run swoole_event_wait. Please append swoole_event_wait at the script end. in /home/jianghongyang/sloow/test.php on line 4 ---------data/xx: sdfsdfsdfkjsd sdkfjhklsjdf sdlfkjsa'd;f asdflasdfkj asdflsdkfjas dflsadfkj'asd fs;adfkjlasdfj asdflkjsad'fkjasd fsdlfkjsladkfj asdflkjasd;fkljasd fasdlfkjlaskjfa sdfalsdfkjlasdjfa sdflaskjflakjsf as dflasdkfjlkjasdf asdf;lksdajf;kljasd;lfa sdfkldjasfkjas;dlfkj asdflkjasdlfkj;alsdfj asdlfkjasldkjf asdflksjd;flkjasd;lkjfas dfskjdf;lkajs;lf sdklfjl;askjdf;lkasdf lasdkfj;lsdjf;ljas fslakjf;kjasf; data/xx: sdfsdfsdfkjsd sdkfjhklsjdf sdlfkjsa'd;f asdflasdfkj asdflsdkfjas dflsadfkj'asd fs;adfkjlasdfj asdflkjsad'fkjasd fsdlfkjsladkfj asdflkjasd;fkljasd fasdlfkjlaskjfa sdfalsdfkjlasdjfa sdflaskjflakjsf as dflasdkfjlkjasdf asdf;lksdajf;kljasd;lfa sdfkldjasfkjas;dlfkj asdflkjasdlfkj;alsdfj asdlfkjasldkjf asdflksjd;flkjasd;lkjfas dfskjdf;lkajs;lf sdklfjl;askjdf;lkasdf lasdkfj;lsdjf;ljas fslakjf;kjasf; 段错误 (core dumped) core dump 如下: ---------------------------------------------------------------------------------- GNU gdb Fedora (6.8-37.el5) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3 : GNU GPL version 3 or later ; This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"... (no debugging symbols found) warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libcrypt.so.1 Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libresolv.so.2 Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/librt.so.1 Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libm.so.6 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libnsl.so.1 Reading symbols from /usr/lib64/libxml2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libxml2.so.2 Reading symbols from /usr/lib64/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libz.so.1 Reading symbols from /lib64/libc.so.6... (no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /usr/local/php/lib/php/20090626/bcmath.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/bcmath.so Reading symbols from /usr/local/php/lib/php/20090626/bz2.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/bz2.so Reading symbols from /usr/lib64/libbz2.so.1...done. Loaded symbols for /usr/lib64/libbz2.so.1 Reading symbols from /usr/local/php/lib/php/20090626/calendar.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/calendar.so Reading symbols from /usr/local/php/lib/php/20090626/ctype.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/ctype.so Reading symbols from /usr/local/php/lib/php/20090626/curl.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/curl.so Reading symbols from /usr/local/curl/lib/libcurl.so.4...done. Loaded symbols for /usr/local/curl/lib/libcurl.so.4 Reading symbols from /usr/lib64/libidn.so.11...done. Loaded symbols for /usr/lib64/libidn.so.11 Reading symbols from /usr/local/openssl/lib/libssl.so.1.0.0...done. Loaded symbols for /usr/local/openssl/lib/libssl.so.1.0.0 Reading symbols from /usr/local/openssl/lib/libcrypto.so.1.0.0...done. Loaded symbols for /usr/local/openssl/lib/libcrypto.so.1.0.0 Reading symbols from /usr/local/php/lib/php/20090626/dom.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/dom.so Reading symbols from /usr/local/php/lib/php/20090626/enchant.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/enchant.so Reading symbols from /usr/lib64/libenchant.so.1...done. Loaded symbols for /usr/lib64/libenchant.so.1 Reading symbols from /lib64/libgmodule-2.0.so.0...done. Loaded symbols for /lib64/libgmodule-2.0.so.0 Reading symbols from /lib64/libglib-2.0.so.0...done. Loaded symbols for /lib64/libglib-2.0.so.0 Reading symbols from /usr/local/php/lib/php/20090626/exif.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/exif.so Reading symbols from /usr/local/php/lib/php/20090626/fileinfo.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/fileinfo.so Reading symbols from /usr/local/php/lib/php/20090626/ftp.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/ftp.so Reading symbols from /usr/local/php/lib/php/20090626/gd.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/gd.so Reading symbols from /usr/lib64/libpng12.so.0...done. Loaded symbols for /usr/lib64/libpng12.so.0 Reading symbols from /usr/local/php/lib/php/20090626/gettext.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/gettext.so Reading symbols from /usr/local/php/lib/php/20090626/gmp.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/gmp.so Reading symbols from /usr/lib64/libgmp.so.3...done. Loaded symbols for /usr/lib64/libgmp.so.3 Reading symbols from /usr/local/php/lib/php/20090626/hash.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/hash.so Reading symbols from /usr/local/php/lib/php/20090626/iconv.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/iconv.so Reading symbols from /usr/local/php/lib/php/20090626/intl.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/intl.so Reading symbols from /usr/lib64/libicui18n.so.36...done. Loaded symbols for /usr/lib64/libicui18n.so.36 Reading symbols from /usr/lib64/libicuuc.so.36...done. Loaded symbols for /usr/lib64/libicuuc.so.36 Reading symbols from /usr/lib64/libicudata.so.36...done. Loaded symbols for /usr/lib64/libicudata.so.36 Reading symbols from /usr/lib64/libicuio.so.36...done. Loaded symbols for /usr/lib64/libicuio.so.36 Reading symbols from /lib64/libgcc_s.so.1...done. Loaded symbols for /lib64/libgcc_s.so.1 Reading symbols from /usr/lib64/libstdc .so.6...done. Loaded symbols for /usr/lib64/libstdc .so.6 Reading symbols from /usr/local/php/lib/php/20090626/json.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/json.so Reading symbols from /usr/local/php/lib/php/20090626/mbstring.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mbstring.so Reading symbols from /usr/local/php/lib/php/20090626/mcrypt.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mcrypt.so Reading symbols from /usr/lib64/libmcrypt.so.4...done. Loaded symbols for /usr/lib64/libmcrypt.so.4 Reading symbols from /usr/local/php/lib/php/20090626/mysql.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mysql.so Reading symbols from /usr/local/php/lib/php/20090626/mysqli.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mysqli.so Reading symbols from /usr/local/php/lib/php/20090626/mysqlnd.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mysqlnd.so Reading symbols from /usr/local/php/lib/php/20090626/openssl.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/openssl.so Reading symbols from /usr/local/php/lib/php/20090626/pcntl.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/pcntl.so Reading symbols from /usr/local/php/lib/php/20090626/pdo.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/pdo.so Reading symbols from /usr/local/php/lib/php/20090626/pdo_mysql.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/pdo_mysql.so Reading symbols from /usr/local/php/lib/php/20090626/phar.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/phar.so Reading symbols from /usr/local/php/lib/php/20090626/posix.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/posix.so Reading symbols from /usr/local/php/lib/php/20090626/readline.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/readline.so Reading symbols from /usr/lib64/libreadline.so.5...done. Loaded symbols for /usr/lib64/libreadline.so.5 Reading symbols from /usr/lib64/libncurses.so.5...done. Loaded symbols for /usr/lib64/libncurses.so.5 Reading symbols from /usr/local/php/lib/php/20090626/recode.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/recode.so Reading symbols from /usr/lib64/librecode.so.0...done. Loaded symbols for /usr/lib64/librecode.so.0 Reading symbols from /usr/local/php/lib/php/20090626/session.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/session.so Reading symbols from /usr/local/php/lib/php/20090626/shmop.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/shmop.so Reading symbols from /usr/local/php/lib/php/20090626/simplexml.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/simplexml.so Reading symbols from /usr/local/php/lib/php/20090626/soap.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/soap.so Reading symbols from /usr/local/php/lib/php/20090626/sockets.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sockets.so Reading symbols from /usr/local/php/lib/php/20090626/sqlite.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sqlite.so Reading symbols from /usr/local/php/lib/php/20090626/sqlite3.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sqlite3.so Reading symbols from /usr/local/php/lib/php/20090626/sysvmsg.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sysvmsg.so Reading symbols from /usr/local/php/lib/php/20090626/sysvsem.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sysvsem.so Reading symbols from /usr/local/php/lib/php/20090626/sysvshm.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/sysvshm.so Reading symbols from /usr/local/php/lib/php/20090626/tidy.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/tidy.so Reading symbols from /usr/lib64/libtidy-0.99.so.0...done. Loaded symbols for /usr/lib64/libtidy-0.99.so.0 Reading symbols from /usr/local/php/lib/php/20090626/tokenizer.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/tokenizer.so Reading symbols from /usr/local/php/lib/php/20090626/xml.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/xml.so Reading symbols from /usr/local/php/lib/php/20090626/xmlreader.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/xmlreader.so Reading symbols from /usr/local/php/lib/php/20090626/xmlrpc.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/xmlrpc.so Reading symbols from /usr/local/php/lib/php/20090626/xmlwriter.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/xmlwriter.so Reading symbols from /usr/local/php/lib/php/20090626/zip.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/zip.so Reading symbols from /usr/local/php/lib/php/20090626/zlib.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/zlib.so Reading symbols from /usr/local/php/lib/php/20090626/yaf.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/yaf.so Reading symbols from /usr/local/php/lib/php/20090626/apc.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/apc.so Reading symbols from /usr/local/php/lib/php/20090626/cloudsec.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/cloudsec.so Reading symbols from /usr/local/php/lib/php/20090626/gearman.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/gearman.so Reading symbols from /usr/lib64/libgearman.so.4...done. Loaded symbols for /usr/lib64/libgearman.so.4 Reading symbols from /lib64/libuuid.so.1...done. Loaded symbols for /lib64/libuuid.so.1 Reading symbols from /usr/local/php/lib/php/20090626/memcache.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/memcache.so Reading symbols from /usr/local/php/lib/php/20090626/memcached.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/memcached.so Reading symbols from /usr/local/libmemcached/lib/libmemcached.so.11...done. Loaded symbols for /usr/local/libmemcached/lib/libmemcached.so.11 Reading symbols from /usr/local/php/lib/php/20090626/mongo.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/mongo.so Reading symbols from /usr/local/php/lib/php/20090626/redis.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/redis.so Reading symbols from /usr/local/php/lib/php/20090626/swoole.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/swoole.so Reading symbols from /usr/local/php/lib/php/20090626/tokyo_tyrant.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/tokyo_tyrant.so Reading symbols from /usr/lib64/libtokyotyrant.so.3...done. Loaded symbols for /usr/lib64/libtokyotyrant.so.3 Reading symbols from /usr/lib64/libtokyocabinet.so.9...done. Loaded symbols for /usr/lib64/libtokyocabinet.so.9 Reading symbols from /usr/local/php/lib/php/20090626/zookeeper.so...done. Loaded symbols for /usr/local/php/lib/php/20090626/zookeeper.so Reading symbols from /usr/local/lib/libzookeeper_mt.so.2...done. Loaded symbols for /usr/local/lib/libzookeeper_mt.so.2 Reading symbols from /lib64/libnss_files.so.2...done. Loaded symbols for /lib64/libnss_files.so.2 Core was generated by `php test.php'. Program terminated with signal 11, Segmentation fault. [New process 3851] [New process 3852] [New process 3853] #0 0x0000000000580bc9 in gc_zval_possible_root () --------------------------------------------------------------------------------- 调用栈信息 (gdb) bt #0 0x0000000000580bc9 in gc_zval_possible_root () #1 0x0000000000570414 in zend_hash_del_key_or_index () #2 0x00007f1b53ffe1df in php_swoole_aio_onComplete (event=0x15d8950) at /usr/src/redhat/BUILD/swoole-1.7.3/swoole_async.c:174 #3 0x00007f1b54010bf9 in swoole_aio_onFinish (reactor=<value optimized out>, event=<value optimized out>) at /usr/src/redhat/BUILD/swoole-1.7.3/src/os/base.c:106 #4 0x00007f1b5400881d in swReactorEpoll_wait (reactor=0x15cc0e0, timeo=<value optimized out>) at /usr/src/redhat/BUILD/swoole-1.7.3/src/reactor/ReactorEpoll.c:251 #5 0x00007f1b53ffb296 in zif_swoole_event_wait (ht=<value optimized out>, return_value=<value optimized out>, return_value_ptr=0x158f430, this_ptr=0x0, return_value_used=4) at /usr/src/redhat/BUILD/swoole-1.7.3/swoole_client.c:1014 #6 0x000000000058b266 in zend_do_fcall_common_helper_SPEC () #7 0x000000000058a97e in execute () #8 0x00000000005629d9 in zend_execute_scripts () #9 0x000000000050f2f8 in php_execute_script () #10 0x00000000005ec72c in main () (gdb) f 0 #0 0x0000000000580bc9 in gc_zval_possible_root () (gdb) f 1 #1 0x0000000000570414 in zend_hash_del_key_or_index () (gdb) f 2 #2 0x00007f1b53ffe1df in php_swoole_aio_onComplete (event=0x15d8950) at /usr/src/redhat/BUILD/swoole-1.7.3/swoole_async.c:174 174 /usr/src/redhat/BUILD/swoole-1.7.3/swoole_async.c: No such file or directory. in /usr/src/redhat/BUILD/swoole-1.7.3/swoole_async.c (gdb) f 3 #3 0x00007f1b54010bf9 in swoole_aio_onFinish (reactor=<value optimized out>, event=<value optimized out>) at /usr/src/redhat/BUILD/swoole-1.7.3/src/os/base.c:106 106 /usr/src/redhat/BUILD/swoole-1.7.3/src/os/base.c: No such file or directory. in /usr/src/redhat/BUILD/swoole-1.7.3/src/os/base.c (gdb) f 4 #4 0x00007f1b5400881d in swReactorEpoll_wait (reactor=0x15cc0e0, timeo=<value optimized out>) at /usr/src/redhat/BUILD/swoole-1.7.3/src/reactor/ReactorEpoll.c:251 251 /usr/src/redhat/BUILD/swoole-1.7.3/src/reactor/ReactorEpoll.c: No such file or directory. in /usr/src/redhat/BUILD/swoole-1.7.3/src/reactor/ReactorEpoll.c (gdb) f 5 #5 0x00007f1b53ffb296 in zif_swoole_event_wait (ht=<value optimized out>, return_value=<value optimized out>, return_value_ptr=0x158f430, this_ptr=0x0, return_value_used=4) at /usr/src/redhat/BUILD/swoole-1.7.3/swoole_client.c:1014 1014 /usr/src/redhat/BUILD/swoole-1.7.3/swoole_client.c: No such file or directory. in /usr/src/redhat/BUILD/swoole-1.7.3/swoole_client.c (gdb) f 6 #6 0x000000000058b266 in zend_do_fcall_common_helper_SPEC () (gdb) f 7 #7 0x000000000058a97e in execute () (gdb) f 8 #8 0x00000000005629d9 in zend_execute_scripts () (gdb) f 9 #9 0x000000000050f2f8 in php_execute_script () (gdb) f 10 #10 0x00000000005ec72c in main () (gdb) 请帮忙看看 谢啦
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2015-11-05
周
周凯
感谢提交.
赞
0
回复
微信公众号
热门内容
作者其它话题
- WARNING swSSL_accept: SSL_do_handshake() failed. Error: Connection reset by peer[5|104].
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。