You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
core dump信息: #1 0x00007f3d097a2e99 in swoole_redis_coro_resume (data=0x7f3d10478360) at swoole-src-4.2.1/swoole_redis_coro.c:3814 #2 0x00007f3d0951f66a in __redisRunCallback (reply=0x1c8dd50, cb=0x7ffe2f3aa960, ac=0x1c8dbf0) at async.c:269 #3 redisProcessCallbacks (ac=0x1c8dbf0) at async.c:469 #4 0x00007f3d097cb567 in swoole_redis_coro_onRead (reactor=, event=) at swoole-src-4.2.1/swoole_redis_coro.c:4119 #5 0x00007f3d097ec1c9 in swReactorEpoll_wait (reactor=0x1c7bae0, timeo=) at swoole-src-4.2.1/src/reactor/epoll.c:258 #6 0x00007f3d097ffe9e in swWorker_loop (factory=factory@entry=0x1c2b590, worker_id=worker_id@entry=0) at swoole-src-4.2.1/src/network/worker.c:798 #7 0x00007f3d097fcd56 in swManager_spawn_worker (factory=0x1c2b590, worker_id=0) at swoole-src-4.2.1/src/network/manager.c:499 #8 0x00007f3d097fd426 in swManager_start (factory=factory@entry=0x1c2b590) at swoole-src-4.2.1/src/network/manager.c:146 #9 0x00007f3d097e89b2 in swFactoryProcess_start (factory=0x1c2b590) at swoole-src-4.2.1/src/factory/process.c:87 #10 0x00007f3d097f061b in swServer_start (serv=serv@entry=0x1c2b100) at swoole-src-4.2.1/src/network/server.c:769 #11 0x00007f3d0977f25d in zim_swoole_http_server_start (execute_data=0x7f3d10414670, return_value=0x7ffe2f3aac30) at swoole-src-4.2.1/swoole_http_server.c:1649 #12 0x000000000092d310 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (execute_data=0x7f3d104144a0) at /php-7.1.9/Zend/zend_vm_execute.h:970 #13 0x000000000090bdd8 in execute_ex (ex=) at /php-7.1.9/Zend/zend_vm_execute.h:432 #14 0x0000000000957920 in zend_execute (op_array=0x7f3d10483000, return_value=) at /php-7.1.9/Zend/zend_vm_execute.h:474 #15 0x00000000008b04c3 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /php-7.1.9/Zend/zend.c:1480 #16 0x000000000084ff90 in php_execute_script (primary_file=0x7ffe2f3ae110) at /php-7.1.9/main/main.c:2552 #17 0x000000000095ac8a in do_cli (argc=3, argv=0x18c9bb0) at /php-7.1.9/sapi/cli/php_cli.c:993 #18 0x000000000095b48a in main (argc=3, argv=0x18c9bb0) at /php-7.1.9/sapi/cli/php_cli.c:1381
Please answer these questions before submitting your issue. Thanks!
Linux Centos
封装了一个ABCRedis类,类内部调用Swoole\Coroutine\Redis ,调用方式
call_user_func_array(array($this->handle, $fun), $arguments);
其中$this->handle = new \Swoole\Coroutine\Redis(['timeout'=> $this->_timeout]);
调用封装的$abcRedis->set("a","test");第一次调用正常,调用第二次$abcRedis->set("a","test");导致work异常退出
core dump信息:
#1 0x00007f3d097a2e99 in swoole_redis_coro_resume (data=0x7f3d10478360) at swoole-src-4.2.1/swoole_redis_coro.c:3814
#2 0x00007f3d0951f66a in __redisRunCallback (reply=0x1c8dd50, cb=0x7ffe2f3aa960, ac=0x1c8dbf0) at async.c:269
#3 redisProcessCallbacks (ac=0x1c8dbf0) at async.c:469
#4 0x00007f3d097cb567 in swoole_redis_coro_onRead (reactor=, event=) at swoole-src-4.2.1/swoole_redis_coro.c:4119
#5 0x00007f3d097ec1c9 in swReactorEpoll_wait (reactor=0x1c7bae0, timeo=) at swoole-src-4.2.1/src/reactor/epoll.c:258
#6 0x00007f3d097ffe9e in swWorker_loop (factory=factory@entry=0x1c2b590, worker_id=worker_id@entry=0) at swoole-src-4.2.1/src/network/worker.c:798
#7 0x00007f3d097fcd56 in swManager_spawn_worker (factory=0x1c2b590, worker_id=0) at swoole-src-4.2.1/src/network/manager.c:499
#8 0x00007f3d097fd426 in swManager_start (factory=factory@entry=0x1c2b590) at swoole-src-4.2.1/src/network/manager.c:146
#9 0x00007f3d097e89b2 in swFactoryProcess_start (factory=0x1c2b590) at swoole-src-4.2.1/src/factory/process.c:87
#10 0x00007f3d097f061b in swServer_start (serv=serv@entry=0x1c2b100) at swoole-src-4.2.1/src/network/server.c:769
#11 0x00007f3d0977f25d in zim_swoole_http_server_start (execute_data=0x7f3d10414670, return_value=0x7ffe2f3aac30) at swoole-src-4.2.1/swoole_http_server.c:1649
#12 0x000000000092d310 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (execute_data=0x7f3d104144a0) at /php-7.1.9/Zend/zend_vm_execute.h:970
#13 0x000000000090bdd8 in execute_ex (ex=) at /php-7.1.9/Zend/zend_vm_execute.h:432
#14 0x0000000000957920 in zend_execute (op_array=0x7f3d10483000, return_value=) at /php-7.1.9/Zend/zend_vm_execute.h:474
#15 0x00000000008b04c3 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /php-7.1.9/Zend/zend.c:1480
#16 0x000000000084ff90 in php_execute_script (primary_file=0x7ffe2f3ae110) at /php-7.1.9/main/main.c:2552
#17 0x000000000095ac8a in do_cli (argc=3, argv=0x18c9bb0) at /php-7.1.9/sapi/cli/php_cli.c:993
#18 0x000000000095b48a in main (argc=3, argv=0x18c9bb0) at /php-7.1.9/sapi/cli/php_cli.c:1381
能成功多次调用set
通过call_user_func_array调用Swoole\Coroutine\Redis实例,调用第二次会导致work异常退出
php --ri swoole
)?Swoole 4.2.1
PHP 7.1.9
gcc version 4.8.5 20150623
The text was updated successfully, but these errors were encountered: