Igor Sysoev wrote:
>
> On Mon, 19 Feb 2001, Eugene Grosbein wrote:
>
> > Точно. Вот ведь собака какая:
> >
> > GNU gdb 4.18
> > Copyright 1998 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you are
> > welcome to change it and/or distribute copies of it under certain
>conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB. Type "show warranty" for details.
> > This GDB was configured as "i386-unknown-freebsd"...
> > Core was generated by `httpd.test'.
> > Program terminated with signal 11, Segmentation fault.
> > Reading symbols from /usr/lib/libcrypt.so.2...done.
> > Reading symbols from /usr/lib/libperl.so.3...done.
> > Reading symbols from /usr/lib/libm.so.2...done.
> > Reading symbols from /usr/lib/libc.so.3...done.
> > Reading symbols from
> > /usr/libdata/perl/5.00503/mach/auto/Data/Dumper/Dumper.so...done.
> > Reading symbols from /usr/libdata/perl/5.00503/mach/auto/B/B.so...done.
> > Reading symbols from
> >
>/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Apache/Symbol/Symbol.so...done.
> > Reading symbols from
> > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI/DBI.so...done.
> > Reading symbols from /usr/libdata/perl/5.00503/mach/auto/IPC/SysV/SysV.so...
> > done.
> > Reading symbols from /usr/local/apache/libexec/mod_expires.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_headers.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_unique_id.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_cgi.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_status.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_mime.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_access.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_autoindex.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_dir.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_negotiation.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_setenvif.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_log_config.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_alias.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_userdir.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_auth.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_actions.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_include.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_info.so...done.
> > Reading symbols from /usr/local/apache/libexec/mod_rewrite.so...done.
> > Reading symbols from /usr/libexec/ld-elf.so.1...done.
> > #0 0x80ac8e1 in ap_ctx_get (ctx=0x0, key=0x80d11c7 "ap::default::port")
> > at ap_ctx.c:125
> > 125 for (i = 0; ctx->cr_entry[i] != NULL; i++)
> > (gdb) bt
> > #0 0x80ac8e1 in ap_ctx_get (ctx=0x0, key=0x80d11c7 "ap::default::port")
> > at ap_ctx.c:125
> > #1 0x808d110 in ap_get_server_port (r=0x83d3034) at http_core.c:748
> > #2 0x808ffdd in ap_psignature (prefix=0x80d705d "<HR>\n", r=0x83d3034)
> > at http_core.c:2651
> > #3 0x809c95a in ap_send_error_response (r=0x83d3034, recursive_error=0)
> > at http_protocol.c:3490
> > #4 0x809e2a9 in ap_die (type=503, r=0x83d3034) at http_request.c:1123
> > #5 0x8097d06 in ap_read_request (conn=0x83ce014) at http_protocol.c:1171
> > #6 0x80949ab in child_main (child_num_arg=24) at http_main.c:4347
> > #7 0x8094c38 in make_child (s=0x80e8034, slot=24, now=982579566)
> > at http_main.c:4525
> > #8 0x8094f92 in perform_idle_server_maintenance () at http_main.c:4689
> > #9 0x809545d in standalone_main (argc=3, argv=0xbfbfdafc) at
>http_main.c:4921
> > #10 0x8095b0b in main (argc=3, argv=0xbfbfdafc) at http_main.c:5182
> > (gdb) quit
> >
> > Так как у меня RA и есть vhosts, то директивы Port в конфиге нету,
> > а есть разные Listen (перекодировка по портам). Тестовый апач гонял
> > на отдельном порту, тоже через Listen.
> > Поменял на Port - валиться перестал.
> > И чего теперь делать-то?
>
> Я вот чего не понимаю. У тебя там mod_ssl есть ? Вроде бы его не
> видно. Если нет, то зачем включен EAPI ?
В общем, виноват оказался mod_ssl, а точнее патчи EAPI, которые с ним идут
(mod_ssl-2.8.0-1.3.17, то же и в mod_ssl-2.7.1-1.3.14). Приложил этот патч
и все падения исчезли.
--- pkg.eapi/ap_ctx.c.orig Mon Feb 19 19:52:57 2001
+++ pkg.eapi/ap_ctx.c Mon Feb 19 19:53:54 2001
@@ -122,6 +122,7 @@
{
int i;
+ if(ctx == NULL) return NULL;
for (i = 0; ctx->cr_entry[i] != NULL; i++)
if (strcmp(ctx->cr_entry[i]->ce_key, key) == 0)
return ctx->cr_entry[i]->ce_val;
Eugene
=============================================================================
= Apache-Talk@lists.lexa.ru mailing list =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =