buserror on osx.4
Franklin Kingma
franklin at fourdigits.nl
Tue Dec 19 01:59:54 MSK 2006
On Dec 18, 2006, at 11:48 PM, Igor Sysoev wrote:
> On Mon, 18 Dec 2006, Franklin Kingma wrote:
>
> Try attached patch.
>
>
> Igor Sysoev
> http://sysoev.ru/en/
> <patch-0.5.4.1.txt>
no luck, crashlog and gdb output
**********
Host Name: pluks
Date/Time: 2006-12-18 23:54:11.285 +0100
OS Version: 10.4.8 (Build 8L127)
Report Version: 4
Command: nginx
Path: sbin/nginx
Parent: bash [595]
Version: ??? (???)
PID: 10423
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 0x00003118 ngx_log_error_core + 100 (ngx_log.c:93)
2 nginx 0x0000c060 ngx_init_cycle + 1140 (ngx_cycle.c:231)
3 nginx 0x000022b8 main + 444 (nginx.c:267)
4 nginx 0x00001d1c _start + 760
5 nginx 0x00001a20 start + 48
Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000ffff87c8 srr1:
0x000000000200f030 vrsave: 0x0000000000000000
cr: 0x44000443 xer: 0x0000000000000004 lr:
0x0000000000003118 ctr: 0x0000000090130fc0
r0: 0x0000000000000010 r1: 0x00000000bfffee70 r2:
0x000000000005b310 r3: 0x00000000bfffeeac
r4: 0x0000000000000000 r5: 0x0000000000000013 r6:
0x00000000bfffeeac r7: 0x00000000002390cc
r8: 0x0000000000000000 r9: 0x00000000a0001fac r10:
0x0000000002806000 r11: 0x000000000005ae04
r12: 0x00000000bfffeeac r13: 0x0000000000000000 r14:
0x0000000000000000 r15: 0x0000000000000000
r16: 0x0000000000000000 r17: 0x0000000000000000 r18:
0x0000000000000000 r19: 0x0000000000000000
r20: 0x0000000000000000 r21: 0x000000000005b2f8 r22:
0x00000000bffff7c8 r23: 0x0000000000239000
r24: 0x0000000000239020 r25: 0x0000000000000007 r26:
0x000000000004d504 r27: 0x0000000000000000
r28: 0x00000000bfffeeac r29: 0x000000000005cb90 r30:
0x000000000005b2f8 r31: 0x00000000000030c8
Binary Images Description:
0x1000 - 0x54fff 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
0x9110f000 - 0x9111dfff libz.1.dylib /usr/lib/libz.1.dylib
(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 0x00003118 in ngx_log_error_core (level=7, log=0x5b2f8, err=0,
fmt=0x4d504 "the configuration file %s syntax is ok") at src/core/
ngx_log.c:90
#2 0x0000c060 in ngx_init_cycle (old_cycle=0xbffff7a8) at src/core/
ngx_cycle.c:225
#3 0x000022b8 in main (argc=4, argv=0xbffff95c) at src/core/nginx.c:266
(gdb) fr 1
#1 0x00003118 in ngx_log_error_core (level=7, log=0x5b2f8, err=0,
fmt=0x4d504 "the configuration file %s syntax is ok") at src/core/
ngx_log.c:90
90 ngx_memcpy(errstr, ngx_cached_err_log_time.data,
(gdb) p errstr
$1 = "?\001^$???0\000\000\000\000?\001`?", '\0' <repeats 20 times>,
"???", '\0' <repeats 22 times>, "$\020\000\000\000\000\000??? \000\000
\000\000?\000^$?\000^$", '\0' <repeats 17 times>, "$\033\034???\000
\016?]\000\016|????\0000\000`??X????\000#? \000$,\020\000$(D\000\001?
ȿ??\000\000\000\000\000\000?T?\0001H????D\000\002D?\000F?", '\0'
<repeats 17 times>, "\005??\000#?8\000#?4\000$&?\000#?\020\000$\033
\034\000\005?<??X\000\005?x????\000\005aL"...
(gdb) p &ngx_cached_err_log_time
$2 = (volatile ngx_str_t *) 0x5cb90
(gdb) p ngx_cached_err_log_time
$3 = {
len = 19,
data = 0x0
}
More information about the nginx
mailing list