buserror on osx.4

Igor Sysoev is at rambler-co.ru
Mon Dec 18 19:02:31 MSK 2006


On Sun, 17 Dec 2006, Franklin Kingma wrote:

> I built nginx (nginx-0.5.4 and nginx-0.5.3) with
>
> ./configure --with-pcre=../pcre
>
> on my powerbook with osx 10.4
>
> when i try to start it with
>
> sudo sbin/nginx -t -c conf/nginx.conf (copy of the default config)
>
> I get a bus error,
>
> This is my crashlog, does anyone has a clue about what is going on?
>
> **********
>
> Host Name:      pluks
> Date/Time:      2006-12-17 21:18:04.789 +0100
> OS Version:     10.4.8 (Build 8L127)
> Report Version: 4
>
> Command: nginx
> Path:    sbin/nginx
> Parent:  bash [15192]
>
> Version: ??? (???)
>
> PID:    21902
> Thread: 0
>
> Exception:  EXC_BAD_ACCESS (0x0001)
> Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
>
> Thread 0 Crashed:
> 0   <<00000000>>        0xffff87c8 __memcpy + 40 (cpu_capabilities.h:189)
> 1   nginx       0x00003888 ngx_log_error_core + 100 (ngx_log.c:93)
> 2   nginx       0x0000deb4 ngx_conf_handler + 280 (ngx_conf_file.c:270)
> 3   nginx       0x0000dcfc ngx_conf_parse + 620 (ngx_conf_file.c:190)
> 4   nginx       0x0001b97c ngx_http_core_server + 392 
> (ngx_http_core_module.c:1608)
> 5   nginx       0x0000e02c ngx_conf_handler + 656 (ngx_conf_file.c:339)
> 6   nginx       0x0000dcfc ngx_conf_parse + 620 (ngx_conf_file.c:190)
> 7   nginx       0x00018db8 ngx_http_block + 620 (ngx_http.c:219)
> 8   nginx       0x0000e02c ngx_conf_handler + 656 (ngx_conf_file.c:339)
> 9   nginx       0x0000dcfc ngx_conf_parse + 620 (ngx_conf_file.c:190)
> 10  nginx       0x0000c77c ngx_init_cycle + 1056 (ngx_cycle.c:219)
> 11  nginx       0x00002a28 main + 444 (nginx.c:267)
> 12  nginx       0x0000248c _start + 760
> 13  nginx       0x00002190 start + 48
>
> Thread 0 crashed with PPC Thread State 64:
>  srr0: 0x00000000ffff87c8 srr1: 0x000000000200f030 
> vrsave: 0x0000000000000000
>    cr: 0x44000423          xer: 0x0000000000000004   lr: 0x0000000000003888 
> ctr: 0x0000000090130fc0
>    r0: 0x0000000000000010   r1: 0x00000000bfffeab0   r2: 0x00000000000643f4 
> r3: 0x00000000bfffeaec
>    r4: 0x0000000000000000   r5: 0x0000000000000013   r6: 0x00000000bfffeaec 
> r7: 0x000000000024c1c8
>    r8: 0x00000000002430cc   r9: 0x000000000000002f  r10: 0x00000000fefefeff 
> r11: 0x0000000000063e58
>   r12: 0x00000000bfffeaec  r13: 0x0000000000000000  r14: 0x0000000000000000 
> r15: 0x0000000000000000
>   r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x0000000000000000 
> r19: 0x0000000000000000
>   r20: 0x0000000000000001  r21: 0x0000000000000000  r22: 0x0000000000243838 
> r23: 0x0000000000243824
>   r24: 0x000000000024c1c8  r25: 0x0000000000000001  r26: 0x0000000000053bc0 
> r27: 0x0000000000000000
>   r28: 0x00000000bfffeaec  r29: 0x0000000000065c70  r30: 0x00000000000643dc 
> r31: 0x0000000000003838
>
> Binary Images Description:
>    0x1000 -    0x5dfff nginx   /usr/local/nginx/sbin/nginx
> 0x8fe00000 - 0x8fe51fff dyld 45.3       /usr/lib/dyld
> 0x90000000 - 0x901bcfff libSystem.B.dylib       /usr/lib/libSystem.B.dylib
> 0x90214000 - 0x90219fff libmathCommon.A.dylib   /usr/lib/system/ 
> libmathCommon.A.dylib

I could not reproduce it. Could you run nginx under gdb:

gdb sbin/nginx

then:
run -t -c conf/nginx.conf

after signal:
bt


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





More information about the nginx mailing list