Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nginx-devel under FreeBSD: bad memory reference
- To: nginx-ru@xxxxxxxxx
- Subject: nginx-devel under FreeBSD: bad memory reference
- From: Dmitry Morozovsky <marck@xxxxxxxx>
- Date: Thu, 18 Oct 2007 17:39:58 +0400 (MSD)
Hi there,
signal 11
#0 0x0804fbb7 in ngx_vsnprintf (buf=0xbfbfdf9d "", max=2011, fmt=0x80b6239
"V\" and \"%V\"", args=0xbfbfe784 "##\036\b") at src/core/ngx_string.c:195
195 len = v->len;
(gdb) bt
#0 0x0804fbb7 in ngx_vsnprintf (buf=0xbfbfdf9d "", max=2011, fmt=0x80b6239
"V\" and \"%V\"", args=0xbfbfe784 "##\036\b") at src/core/ngx_string.c:195
#1 0x0804b5ee in ngx_log_error_core (level=1, log=0x80c12f4, err=0,
fmt=0x80b6210 " no \"charset_map\" between the charsets \"%V\" and \"%V\"") at
src/core/ngx_log.c:108
#2 0x080960d1 in ngx_http_charset_postconfiguration (cf=0xbfbfea90) at
src/http/modules/ngx_http_charset_filter_module.c:1521
#3 0x0806d066 in ngx_http_block (cf=0xbfbfea90, cmd=0x80bb4a0, conf=0x80ce780)
at src/http/ngx_http.c:388
#4 0x0805afce in ngx_conf_handler (cf=0xbfbfea90, last=1) at
src/core/ngx_conf_file.c:336
#5 0x0805ac2f in ngx_conf_parse (cf=0xbfbfea90, filename=0x80ce0b4) at
src/core/ngx_conf_file.c:188
#6 0x08058360 in ngx_init_cycle (old_cycle=0xbfbfeb40) at
src/core/ngx_cycle.c:216
#7 0x08049fe8 in main (argc=4, argv=0xbfbfec30) at src/core/nginx.c:291
(gdb) p v
$1 = (ngx_str_t *) 0x81ea3c8
(gdb) p *v
Cannot access memory at address 0x81ea3c8
(gdb)
Это когда я попытался построить мап на исходный чарсет
include koi-win;
include koi-utf;
include win-utf;
map $host $srccharset {
hostnames;
default windows-1251;
include srccharsetmap.conf;
}
...
source_charset $srccharset;
При этом, если закомментировать только эту строку - то не падает (но и не
работает, ясень перець)
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: marck@xxxxxxxxxxx ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@xxxxxxxx ***
------------------------------------------------------------------------
|