buserror on osx.4
Franklin Kingma
franklin at fourdigits.nl
Mon Dec 18 19:14:07 MSK 2006
On Dec 18, 2006, at 5:02 PM, Igor Sysoev wrote:
> 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
>
(gdb) run -t -c conf/nginx.conf
Starting program: /usr/local/nginx/sbin/nginx -t -c conf/nginx.conf
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0xffff87c8 in ___memcpy () at /System/Library/Frameworks/
System.framework/PrivateHeaders/ppc/cpu_capabilities.h:189
189 /System/Library/Frameworks/System.framework/PrivateHeaders/
ppc/cpu_capabilities.h: No such file or directory.
in /System/Library/Frameworks/System.framework/
PrivateHeaders/ppc/cpu_capabilities.h
(gdb) bt
#0 0xffff87c8 in ___memcpy () at /System/Library/Frameworks/
System.framework/PrivateHeaders/ppc/cpu_capabilities.h:189
#1 0x00003888 in ngx_log_error_core (level=5, log=0x643dc, err=0,
fmt=0x53b9c "%s in %s:%ui") at src/core/ngx_log.c:90
#2 0x0000ebd0 in ngx_conf_log_error (level=5, cf=0xbffff798, err=0,
fmt=0xbfffec8c "") at src/core/ngx_conf_file.c:864
#3 0x000035b4 in ngx_set_user (cf=0xbffff798, cmd=0x0, conf=0x13) at
src/core/nginx.c:775
#4 0x0000e02c in ngx_conf_handler (cf=0xbffff798, last=0) at src/
core/ngx_conf_file.c:337
#5 0x0000dcfc in ngx_conf_parse (cf=0xbffff798, filename=0x2430b4)
at src/core/ngx_conf_file.c:190
#6 0x0000c77c in ngx_init_cycle (old_cycle=0xbffff848) at src/core/
ngx_cycle.c:219
#7 0x00002a28 in main (argc=4, argv=0xbffff9fc) at src/core/nginx.c:266
(gdb)
More information about the nginx
mailing list