RE: Segmentation fault при компиляции с --with-http_perl_module

Butenin Andrey butenin at mail.ru
Thu Apr 20 11:45:34 MSD 2006


(gdb) run
Starting program: /usr/local/nginx/sbin/nginx
[Thread debugging using libthread_db enabled]
[New Thread -1208108832 (LWP 26622)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208108832 (LWP 26622)]
ngx_conf_full_name (cycle=0x8dc0ce0, name=0x8dc1f38) at
src/core/ngx_conf_file.c:666
666         if (name->data[0] == '/') {
(gdb) bt
#0  ngx_conf_full_name (cycle=0x8dc0ce0, name=0x8dc1f38) at
src/core/ngx_conf_file.c:666
#1  0x080822cd in ngx_http_perl_init_interpreter (cf=0xbfe65860,
pmcf=0x8dc1f24) at src/http/modules/perl/ngx_http_perl_module.c:486
#2  0x08082bc4 in ngx_http_perl_init_main_conf (cf=0xbfe65860,
conf=0x8dc1f24) at src/http/modules/perl/ngx_http_perl_module.c:793
#3  0x0806209f in ngx_http_block (cf=0xbfe65860, cmd=0x8094120,
conf=0x8dc1414) at src/http/ngx_http.c:238
#4  0x080586f8 in ngx_conf_handler (cf=0xbfe65860, last=1) at
src/core/ngx_conf_file.c:347
#5  0x08058408 in ngx_conf_parse (cf=0xbfe65860, filename=0x8dc0d6c) at
src/core/ngx_conf_file.c:190
#6  0x08056f5e in ngx_init_cycle (old_cycle=0xbfe658d0) at
src/core/ngx_cycle.c:212
#7  0x0804fba6 in main (argc=1, argv=0xbfe65a14) at src/core/nginx.c:251
(gdb) p *name
$1 = {len = 0, data = 0x0}
(gdb)

Директив нет, пробовал все вышеописанное - со стандартным конфигом (тем, что
получается после make install).


 
------------------------------
С уважением, Бутенин Андрей

> 
> bt
> p *name
> 
> Есть ли в конфиге директивы модуля ngx_http_perl_module ?
> 
> 
> Игорь Сысоев
> http://sysoev.ru






More information about the nginx-ru mailing list