call ngx_localtime may cause deadlock?

georgexsh nginx-forum at nginx.us
Thu Mar 4 18:20:29 MSK 2010


Igor Sysoev Wrote:
-------------------------------------------------------

> Here is third-party module which probably uses
> threads:
> 
> #11 0x08088c9f in ngx_foo_time_str (r=0x9dcdc28,
> time_str=0xbfe18450, t=-4) at
> ./ngx_foo_module//uti.c:111
> #12 0x08087d1a in ngx_http_foo_record
> (r=0x9dcdc28, request_arg=0x9dcddb0) at
> ./ngx_foo_module//foo.c:124
> #13 0x0808788c in ngx_http_foo_handler
> (r=0x9dcdc28) at
> ./ngx_foo_module//ngx_http_foo_module.c:74
> 


No, ngx_foo_module/* is my module which does't use threads ethier.

ref:
http://blogs.inxsasia.com/hiran/2009/07/stupid-futex-and-glibc.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=301511

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,59851,59942#msg-59942




More information about the nginx mailing list