Closed koolob closed 8 years ago
Program terminated with signal 11, Segmentation fault.
536 if (dst_worker->pool->use_msgqueue) Missing separate debuginfos, use: debuginfo-install php56w-cli-5.6.18-1.w6.x86_64 (gdb) bt
at /root/swoole/swoole-1.8.2/swoole_server.c:2306
at /root/swoole/swoole-1.8.2/swoole_server.c:1771
请用github上的1.8.3版本测试一下,另外请贴出你的PHP代码。
这个swoole作者是国人开发的呀, niubility!
Program terminated with signal 11, Segmentation fault.
0 swWorker_send2worker (dst_worker=0x7f6045f086d8, buf=0x7fff75b7b470, n=87, flag=3) at /root/swoole/swoole-1.8.2/src/network/Worker.c:536
536 if (dst_worker->pool->use_msgqueue) Missing separate debuginfos, use: debuginfo-install php56w-cli-5.6.18-1.w6.x86_64 (gdb) bt
0 swWorker_send2worker (dst_worker=0x7f6045f086d8, buf=0x7fff75b7b470, n=87, flag=3) at /root/swoole/swoole-1.8.2/src/network/Worker.c:536
1 0x00007f604ce827f2 in swProcessPool_dispatch (pool=, data=, dst_worker_id=0x7fff75b7d488) at /root/swoole/swoole-1.8.2/src/network/ProcessPool.c:152
2 0x00007f604ce53b92 in zim_swoole_server_task (ht=, return_value=0x7f6045c47180, return_value_ptr=, this_ptr=, return_value_used=)
3 0x00000000005d5359 in dtrace_execute_internal ()
4 0x00000000006642a5 in ?? ()
5 0x0000000000653d78 in execute_ex ()
6 0x00000000005d548e in dtrace_execute_ex ()
7 0x00000000005d7ef3 in zend_call_function ()
8 0x00000000005d8b80 in call_user_function_ex ()
9 0x00007f604ce57005 in php_swoole_onReceive (serv=, req=) at /root/swoole/swoole-1.8.2/swoole_server.c:599
10 0x00007f604ce883ec in swWorker_onTask (factory=, task=0x7fff75b7d980) at /root/swoole/swoole-1.8.2/src/network/Worker.c:163
11 0x00007f604ce884ab in swWorker_onPipeReceive (reactor=, event=0x7fff75b7f9f0) at /root/swoole/swoole-1.8.2/src/network/Worker.c:499
12 0x00007f604ce7b491 in swReactorEpoll_wait (reactor=0x1575580, timeo=) at /root/swoole/swoole-1.8.2/src/reactor/ReactorEpoll.c:263
13 0x00007f604ce88e79 in swWorker_loop (factory=, worker_id=) at /root/swoole/swoole-1.8.2/src/network/Worker.c:446
14 0x00007f604ce86bc0 in swManager_spawn_worker (factory=0x1573980, worker_id=3) at /root/swoole/swoole-1.8.2/src/network/Manager.c:440
15 0x00007f604ce86eb1 in swManager_start (factory=0x1573980) at /root/swoole/swoole-1.8.2/src/network/Manager.c:134
16 0x00007f604ce78702 in swFactoryProcess_start (factory=0x1573980) at /root/swoole/swoole-1.8.2/src/factory/FactoryProcess.c:86
17 0x00007f604ce7e1cd in swServer_start (serv=0x1573550) at /root/swoole/swoole-1.8.2/src/network/Server.c:568
18 0x00007f604ce57b17 in zim_swoole_server_start (ht=, return_value=0x7f6045c40050, return_value_ptr=, this_ptr=0x7f6045c2e0a8, return_value_used=)
19 0x00000000005d5359 in dtrace_execute_internal ()