Core was generated by `nginx: worker process '.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004ab938 in ngx_http_lua_socket_tcp_receive (L=0x41d854b8) at ../ngx_lua-0.9.4/src/ngx_http_lua_socket_tcp.c:1259
1259 ctx->cur_co_ctx->cleanup = ngx_http_lua_coctx_cleanup;
(gdb) bt
#0 0x00000000004ab938 in ngx_http_lua_socket_tcp_receive (L=0x41d854b8) at ../ngx_lua-0.9.4/src/ngx_http_lua_socket_tcp.c:1259
#1 0x00007fc9a144bbc1 in lj_BC_FUNCC () from /usr/local/openresty/luajit/lib/libluajit-5.1.so.2
#2 0x000000000049f68c in ngx_http_lua_run_thread (L=L@entry=0x41836378, r=r@entry=0x2306940, ctx=ctx@entry=0x2326b20, nrets=<optimized out>)
at ../ngx_lua-0.9.4/src/ngx_http_lua_util.c:1102
#3 0x00000000004a85ae in ngx_http_lua_socket_tcp_resume (r=0x2306940) at ../ngx_lua-0.9.4/src/ngx_http_lua_socket_tcp.c:4248
#4 0x00000000004a1b9b in ngx_http_lua_content_wev_handler (r=<optimized out>) at ../ngx_lua-0.9.4/src/ngx_http_lua_contentby.c:128
#5 0x00000000004a6cd6 in ngx_http_lua_socket_handle_success (r=r@entry=0x2306940, u=u@entry=0x40b2cd30) at ../ngx_lua-0.9.4/src/ngx_http_lua_socket_tcp.c:2314
#6 0x00000000004aada8 in ngx_http_lua_socket_tcp_read (r=r@entry=0x2306940, u=u@entry=0x40b2cd30) at ../ngx_lua-0.9.4/src/ngx_http_lua_socket_tcp.c:1503
#7 0x00000000004ab25d in ngx_http_lua_socket_read_handler (r=0x2306940, u=0x40b2cd30) at ../ngx_lua-0.9.4/src/ngx_http_lua_socket_tcp.c:2148
#8 0x00000000004a78f7 in ngx_http_lua_socket_tcp_handler (ev=<optimized out>) at ../ngx_lua-0.9.4/src/ngx_http_lua_socket_tcp.c:2100
#9 0x000000000042da95 in ngx_event_process_posted (cycle=cycle@entry=0x22fbcc0, posted=0x711c38 <ngx_posted_events>) at src/event/ngx_event_posted.c:40
#10 0x000000000042d6d0 in ngx_process_events_and_timers (cycle=cycle@entry=0x22fbcc0) at src/event/ngx_event.c:275
#11 0x000000000043322d in ngx_worker_process_cycle (cycle=0x22fbcc0, data="" out>) at src/os/unix/ngx_process_cycle.c:816
#12 0x0000000000431d66 in ngx_spawn_process (cycle=cycle@entry=0x22fbcc0, proc=proc@entry=0x433161 <ngx_worker_process_cycle>, data="">
name=name@entry=0x4ca7ac "worker process", respawn=respawn@entry=-3) at src/os/unix/ngx_process.c:198
#13 0x0000000000433386 in ngx_start_worker_processes (cycle=cycle@entry=0x22fbcc0, n=2, type=type@entry=-3) at src/os/unix/ngx_process_cycle.c:364
#14 0x0000000000433bd1 in ngx_master_process_cycle (cycle=cycle@entry=0x22fbcc0) at src/os/unix/ngx_process_cycle.c:136
#15 0x0000000000418643 in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:407