Russian Apache Switch to English
Switch to Russian koi8-r
windows=1251
cp-866
iso8859-5
Russian Apache Как это работает Рекоммендации Где взять Как установить Как настроить Статус и поддержка
Краткий обзор FAQ Список рассылки Благодарности Поиск по серверу Powered by Russian Apache
Russian Apache mailing list archive (apache-rus@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[apache-rus] RA coredump



Привет!

Уже три раза у меня упал Russian Apache (child), на третий раз это
был тестовый с дебагом. Падал в одном и том же месте постоянно.
Корка у меня есть (7M), бинарь тоже (1.5M), вопросы welcomed.
Собран бинарь с -O0 -g системным компилятором.

FreeBSD 4.6-PRERELEASE, 
Server: Apache/1.3.23 (Unix) mod_deflate/1.0.11 mod_perl/1.26 rus/PL30.11

Script started on Fri May 24 16:30:43 2002
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.debug'.
Program terminated with signal 10, Bus error.
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.4...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libutil.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.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/local/apache/stat/libexec/mod_expires.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_headers.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_unique_id.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_cgi.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_status.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_mime.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_access.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_autoindex.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_dir.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_negotiation.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_setenvif.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_log_config.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_alias.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_userdir.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_auth.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_actions.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_include.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_info.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_rewrite.so...done.
Reading symbols from /usr/local/apache/stat/libexec/mod_env.so...done.
Reading symbols from /usr/local/apache/stat/libexec/libssl.so...done.
Reading symbols from /usr/lib/libssl.so.2...done.
Reading symbols from /usr/lib/libcrypto.so.2...done.
Reading symbols from
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBD/---Type
<return> to continue, or q <return> to quit---
mysql/mysql.so...done.
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.10...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x805a0d0 in ra_convert_by_table (
    buf=0x1857d000 <Address 0x1857d000 out of bounds>, len=10313, 
    result=0xbfbff6d8, rlen=0xbfbff6d0, recode_table=0x8139c50 "", wide=0, 
    p=0x84a4010, localdata=0x84a8df0) at mod_charset.c:1704
1704            ret[i] = recode_table[buf[i]];
Breakpoint 1 at 0x809953a: file http_main.c, line 5432.
Breakpoint 2 at 0x805bb77: file mod_charset.c, line 2581.
Breakpoint 3 at 0x80580c2: file mod_charset.c, line 684.
(gdb) bt
#0  0x805a0d0 in ra_convert_by_table (
    buf=0x1857d000 <Address 0x1857d000 out of bounds>, len=10313, 
    result=0xbfbff6d8, rlen=0xbfbff6d0, recode_table=0x8139c50 "", wide=0, 
    p=0x84a4010, localdata=0x84a8df0) at mod_charset.c:1704
#1  0x805a893 in ra_data_server2client (r=0x84a7750, 
    buf=0x1857d000 <Address 0x1857d000 out of bounds>, len=10313, 
    new_buf=0xbfbff6d8, new_len=0xbfbff6d0) at mod_charset.c:1902
#2  0x809f1d6 in ap_send_mmap (mm=0x1857d000, r=0x84a7750, offset=0, 
    length=10313) at http_protocol.c:2819
#3  0x8094096 in default_handler (r=0x84a7750) at http_core.c:3932
#4  0x808c384 in ap_invoke_handler (r=0x84a7750) at http_config.c:529
#5  0x80a3108 in process_request_internal (r=0x84a7750) at http_request.c:1308
#6  0x80a3572 in ap_internal_redirect (
    new_uri=0x84a7710 "/netstat/index.html", r=0x84a4038)
    at http_request.c:1440
#7  0x183a7cae in handle_dir () from /usr/local/apache/stat/libexec/mod_dir.so
#8  0x808c311 in ap_invoke_handler (r=0x84a4038) at http_config.c:517
#9  0x80a3108 in process_request_internal (r=0x84a4038) at http_request.c:1308
#10 0x80a3172 in ap_process_request (r=0x84a4038) at http_request.c:1324
#11 0x80986e3 in child_main (child_num_arg=2) at http_main.c:4708
#12 0x809898c in make_child (s=0x80f4038, slot=2, now=1022169677)
    at http_main.c:4876
#13 0x8099202 in standalone_main (argc=3, argv=0xbfbffa9c) at http_main.c:5254
#14 0x80998d4 in main (argc=3, argv=0xbfbffa9c) at http_main.c:5568
---Type <return> to continue, or q <return> to quit---
#15 0x80568d9 in _start ()
(gdb) l
1699      if(!wide)
1700        {
1701          check_recode_buf(p,localdata,len);
1702          ret = localdata->buf;
1703          for(i=0;i<len;i++)
1704            ret[i] = recode_table[buf[i]];
1705          *result = ret;
1706          *rlen   = len;
1707          return;
1708        }
(gdb) quit

Script done on Fri May 24 16:31:06 2002
=============================================================================
=               Apache-Rus@xxxxxxxxxxxxx mailing list                       =
Mail "unsubscribe apache-rus" to majordomo@xxxxxxxxxxxxx if you want to quit.
=       Archive avaliable at http://apache.lexa.ru/mail-archive             =







Спонсоры сайта:

[ Russian Apache ] [ Как это работает ] [ Рекомендации ] [ Где взять ] [ Как установить ] [ Как настроить ] [ Статус и поддержка ] [ Краткий обзор ] [ FAQ ] [ Список рассылки ] [ Благодарности ] [ Поиск по серверу ] [ Powered by Russian Apache ] [ Apache-talk archive ]

"Russian Apache" includes software developed by the Apache Group for use in the Apache HTTP server project (http://www.apache.org/) See Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C) 1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.