Re: crash in ngx_add_timer

2017-04-19 Thread Dk Jack
ized in [init process]. > > > > > Ben > best regards > > > > Original Message > *Sender:* Dk Jack > *Recipient:* nginx-devel@nginx.org > *Date:* Wednesday, Apr 19, 2017 10:03 > *Subject:* Re: crash in ngx_add_timer > > Hi, > The crash

Re: crash in ngx_add_timer

2017-04-18 Thread 胡聪 (hucc)
That`s right! I almost forgot that. -- Original -- From: "734819342";<734819...@qq.com>; Send time: Wednesday, Apr 19, 2017 10:23 AM To: "nginx-devel@nginx.org"; Subject: Re: crash in ngx_add_timer Hi, U should not call

Re: crash in ngx_add_timer

2017-04-18 Thread 734819342
0...@gmail.com; Send time:Wednesday, Apr 19, 2017 8:23 AM To:"nginx-devel"nginx-devel@nginx.org; Subject: Re: crash in ngx_add_timer resending since the attachment which had the code didn't make it... Dk. #include assert.h #include nginx.h #include ngx_config.h #include ngx_core.h #include

Re: crash in ngx_add_timer

2017-04-18 Thread Dk Jack
end time:* Wednesday, Apr 19, 2017 8:23 AM > *To:* "nginx-devel"; > *Subject: * Re: crash in ngx_add_timer > > resending since the attachment which had the code didn't make it... > > Dk. > > #include > #include > #include > #include > #include >

Re: crash in ngx_add_timer

2017-04-18 Thread 胡聪 (hucc)
Hi, At the first glance, the ev->log should be assigned a valid value. -- Original -- From: "Dk Jack";; Send time: Wednesday, Apr 19, 2017 8:23 AM To: "nginx-devel"; Subject: Re: crash in ngx_add_timer resending since the attach

Re: crash in ngx_add_timer

2017-04-18 Thread Dk Jack
resending since the attachment which had the code didn't make it... Dk. #include #include #include #include #include static ngx_event_t ev1; static ngx_event_t ev2; static ngx_event_t ev3; char ev1_data[] = "event1"; char ev2_data[] = "event2"; char ev3_data[] = "event3"; static ngx_int_t