buserror on osx.4
Franklin Kingma
franklin at fourdigits.nl
Wed Dec 20 00:33:26 MSK 2006
>
> I could not reproduce the bug. I have tried on two Mac's and POWER5
> Linux.
> What Mac and CPU do you use ? Has the CPU 64-bit mode ?
Hi Igor,
My mac is a 12" powerbook G4 1,33Ghz, with 1,25GB mem, so no 64 bit
mode..
> Could you do following:
>
> gdb nginx
> b ngx_time_update
> run
>
> at stop:
>
> b *0x0000a6fc
>
> 0x0000a6fc should be address of "cmpwi cr7,r8,0" code, see
> disassembled code above
> then:
>
> c
>
> at stop:
>
> info reg
(gdb) b ngx_time_update
Breakpoint 1 at 0xa6c8: file src/core/ngx_times.c, line 69.
(gdb) run
Starting program: /usr/local/nginx/sbin/nginx
Reading symbols for shared libraries . done
Breakpoint 1, ngx_time_update (sec=0, msec=0) at src/core/ngx_times.c:69
69 if (!ngx_trylock(&ngx_time_lock)) {
(gdb) b *0x0000a6fc
Breakpoint 2 at 0xa6fc: file src/core/ngx_times.c, line 69.
(gdb) c
Continuing.
Breakpoint 2, ngx_time_update (sec=0, msec=0) at src/core/ngx_times.c:69
69 if (!ngx_trylock(&ngx_time_lock)) {
(gdb) info reg
r0 0xa698 42648
r1 0xbffff690 3221223056
r2 0x1 1
r3 0x0 0
r4 0x0 0
r5 0x500130 5243184
r6 0xa00021d0 2684363216
r7 0x1800b4c 25168716
r8 0x0 0
r9 0x0 0
r10 0x0 0
r11 0x5b340 373568
r12 0x9002161c 2416055836
r13 0x0 0
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x0 0
r18 0x0 0
r19 0x0 0
r20 0x0 0
r21 0x0 0
r22 0x0 0
r23 0x0 0
r24 0x0 0
r25 0x1 1
r26 0xbffff9f8 3221223928
r27 0x1 1
r28 0xbffff990 3221223824
r29 0x4c50c 312588
r30 0x0 0
r31 0xa6c0 42688
pc 0xa6fc 42748
ps 0x2d030 184368
cr 0x2000042 33554498
lr 0xa6c0 42688
ctr 0x9002161c 2416055836
xer 0x4 4
mq 0x0 0
fpscr 0x0 0
vscr 0x10000 65536
vrsave 0x0 0
More information about the nginx
mailing list