buserror on osx.4

Igor Sysoev is at rambler-co.ru
Tue Dec 19 11:38:06 MSK 2006


On Tue, 19 Dec 2006, Franklin Kingma wrote:

>
> On Dec 19, 2006, at 9:17 AM, Igor Sysoev wrote:
>
>> On Mon, 18 Dec 2006, Franklin Kingma wrote:
>> 
>>> On Dec 18, 2006, at 11:48 PM, Igor Sysoev wrote:
>>> 
>>>> On Mon, 18 Dec 2006, Franklin Kingma wrote:
>>>> Try attached patch.
>> 
>>> no luck, crashlog and gdb output
>> 
>> Well, could you do following:
>> 
>> nginx -v
>> 
>> then:
>> 
>> gdb nginx
>> b ngx_time_update
>> run ...
>> 
>> at stop:
>> 
>> bt
>> 
>> then press 'n' until you leave ngx_time_update().

> Breakpoint 1, ngx_time_update (sec=0, msec=0) at src/core/ngx_times.c:69
> 69          if (!ngx_trylock(&ngx_time_lock)) {
> (gdb) bt
> #0  ngx_time_update (sec=0, msec=0) at src/core/ngx_times.c:69
> #1  0x0000a698 in ngx_time_init () at src/core/ngx_times.c:57
> #2  0x00002130 in main (argc=1, argv=0xbffff990) at src/core/nginx.c:197
> (gdb) n
> 26          __asm__ volatile (
> (gdb) n
> 69          if (!ngx_trylock(&ngx_time_lock)) {
> (gdb) n
> 155     }
> (gdb) n
> ngx_time_init () at src/core/ngx_times.c:58
> 58      }
> (gdb) n
> main (argc=1, argv=0xbffff990) at src/core/nginx.c:200
> 200         ngx_regex_init();
> (gdb)

OK, then in gdb:
disassble ngx_time_update


Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list