首页 > openresty-1.7.10.2, lua连接redis, nginx reload后几秒出现segment fault

openresty-1.7.10.2, lua连接redis, nginx reload后几秒出现segment fault

偶尔出现,core dump如下,求教可能是什么问题呢

Core was generated by `nginx: worker process '.
Program terminated with signal SIGSEGV, Segmentation fault.

0 ngx_http_lua_socket_tcp_send (L=0x41a0dcd8) at ../ngx_lua-0.9.16/src/ngx_http_lua_socket_tcp.c:2369

2369 ../ngx_lua-0.9.16/src/ngx_http_lua_socket_tcp.c: No such file or directory.
(gdb) bt
*#0 ngx_http_lua_socket_tcp_send (L=0x41a0dcd8) at ../ngx_lua-0.9.16/src/ngx_http_lua_socket_tcp.c:2369
#1 0x00007f40b6503127 in lj_BC_FUNCC () from /usr/local/lib/libluajit-5.1.so.2
#2 0x00000000004b3149 in ngx_http_lua_run_thread (L=L@entry=0x40cc3378, r=r@entry=0xbc6140, ctx=ctx@entry=0x1d507c0, nrets=8) at ../ngx_lua-0.9.16/src/ngx_http_lua_util.c:1015
#3 0x00000000004c8422 in ngx_http_lua_timer_handler (ev=0x0) at ../ngx_lua-0.9.16/src/ngx_http_lua_timer.c:432
#4 0x0000000000437a72 in ngx_event_expire_timers () at src/event/ngx_event_timer.c:96
#5 0x00000000004376eb in ngx_process_events_and_timers (cycle=cycle@entry=0x81c200) at src/event/ngx_event.c:262
#6 0x000000000043d4ed in ngx_worker_process_cycle (cycle=cycle@entry=0x81c200, data=data@entry=0x1) at src/os/unix/ngx_process_cycle.c:824
#7 0x000000000043bf54 in ngx_spawn_process (cycle=cycle@entry=0x81c200, proc=proc@entry=0x43d440 <ngx_worker_process_cycle>, data=data@entry=0x1, name=name@entry=0x54989d "worker process", respawn=respawn@entry=-4)

at src/os/unix/ngx_process.c:198

#8 0x000000000043d834 in ngx_start_worker_processes (cycle=cycle@entry=0x81c200, n=2, type=type@entry=-4) at src/os/unix/ngx_process_cycle.c:368
#9 0x000000000043e1a1 in ngx_master_process_cycle (cycle=cycle@entry=0x81c200) at src/os/unix/ngx_process_cycle.c:253
#10 0x000000000042088f in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:416*
(gdb)

【热门文章】
【热门文章】