kill -HUP BUG

Igor Sysoev igor at sysoev.ru
Tue Jul 3 05:44:47 UTC 2012


On Tue, Jul 03, 2012 at 02:56:27AM +0000, 刘桂源(研六 福州) wrote:
> HI,
>          Master!
>          After kill ?CHUP the pid of nginx twice, nginx is Segmentation fault (core dumped)
> Here is the gdb info:
> Program received signal SIGSEGV, Segmentation fault.
> 0x0040eb29 in ngx_clean_old_cycles (ev=0x570e10) at src/core/ngx_cycle.c:1349
> 1349                if (cycle[i]->connections[n].fd != (ngx_socket_t) -1) {
> (gdb) bt
> #0  0x0040eb29 in ngx_clean_old_cycles (ev=0x570e10) at src/core/ngx_cycle.c:1349
> #1  0x004159a9 in ngx_event_expire_timers () at src/event/ngx_event_timer.c:150
> #2  0x0041492a in ngx_process_events_and_timers (cycle=0x100485c8) at src/event/ngx_event.c:262
> #3  0x0041a9a8 in ngx_single_process_cycle (cycle=0x10020c78)
>     at src/os/unix/ngx_process_cycle.c:312
> #4  0x004014a8 in main (argc=1, argv=0x10011e58) at src/core/nginx.c:409
> 
> Is it kind of bug?
> This proble exist in all versions of nginx and different OS.

"master_process off" mode is not intended for production.


-- 
Igor Sysoev



More information about the nginx mailing list