On Tue, Jun 10, 2008 at 09:14:12AM +0200, Stefan Fritsch wrote:
>> While serving requests, Apache worker processes are committing suicide,
>> something like this (taken from the error log):
>
> Please provide a backtrace, as described in
> /usr/share/doc/apache2.2-common/README.backtrace
Absolutely.
(gdb) thread apply all bt full
d 1 (process 32009):
#0 shmcb_store_session (s=0x17d388, shm_segment=0xf6dbc008, id=<value optimized out>, idlen=<value optimized out>, pSession=0x20d050, timeout=1213085213)
at /usr/include/bits/string3.h:52
queue = {header = 0xf6dbc008, first_pos = 0xf6e0e09e, pos_count = 0xf6e0e0a2, indexes = 0xf6e0e0a6}
cache = {header = 0xf6dbc008, first_pos = 0xf6e0e6e2, pos_count = 0xf6e0e6e6, data = 0xf6e0e6ea "0\201\221\002\001\001\002\002\003\001\004\002"}
masked_index = <value optimized out>
encoded = "0\201\221\002\001\001\002\002\003\001\004\002\0009\004 �\236\216�lu�iN\202�)��\236/L3\214��������y\025\0369�\0040}�&P�j�\202\235�-��!�\025�\214\002\2227+�'a�\207y�Lb�KMY\000��_\177�A��\202\001kޡ\006\002\004HN4��\004\002\002\001,�\"\004 0423b343bd5981ddb6135fcdd49bc288", '\0' <repeats 39 times>, "0���8����", '\0' <repeats 60 times>, "�Wy\004\000\000\a�\000\000\003�����", '\0' <repeats 11 times>...
ptr_encoded = (unsigned char *) 0xffedab44 ""
len_encoded = 148
#1 0xf6f477bc in ssl_scache_shmcb_store (s=0x17d388, id=0x20d098 "�\236\216�lu�iN\202�)��\236/L3\214��������y\025\0369�", idlen=32, timeout=1213085213, pSession=0x20d050)
at /build/buildd/apache2-2.2.8/modules/ssl/ssl_scache_shmcb.c:411
mc = (SSLModConfigRec *) 0x7c3e8
to_return = <value optimized out>
#2 0xf6f3c23c in ssl_callback_NewSessionCacheEntry (ssl=<value optimized out>, session=0x20d050) at /build/buildd/apache2-2.2.8/modules/ssl/ssl_engine_kernel.c:1638
s = (server_rec *) 0x17d388
timeout = 1213085213
id = (unsigned char *) 0x20d098 "�\236\216�lu�iN\202�)��\236/L3\214��������y\025\0369�"
idlen = 32
#3 0xf7700eac in ssl_update_cache (s=0x1d7560, mode=2) at ssl_lib.c:1935
i = 770
#4 0xf76eb4a8 in ssl3_accept (s=0x1d7560) at s3_srvr.c:574
buf = <value optimized out>
l = <value optimized out>
Time = 1213084913
cb = (void (*)(const SSL *, int, int)) 0xf6f3bb64 <ssl_callback_LogTracingState>
ret = 1
state = 3
skip = <value optimized out>
#5 0xf7700b58 in SSL_accept (s=0x1d7560) at ssl_lib.c:850
No locals.
#6 0xf76f4638 in ssl23_get_client_hello (s=0x1d7560) at s23_srvr.c:568
buf_space = "\026\003\001\000B\001\000\000>\003\001"
p = <value optimized out>
d = <value optimized out>
i = <value optimized out>
csl = 8192
cl = <value optimized out>
n = 11
j = <value optimized out>
type = 3
#7 0xf76f4e88 in ssl23_accept (s=0x1d7560) at s23_srvr.c:203
buf = (BUF_MEM *) 0x1
Time = 1213084913
cb = (void (*)(const SSL *, int, int)) 0xf6f3bb64 <ssl_callback_LogTracingState>
ret = <value optimized out>
state = 8720
#8 0xf7700b58 in SSL_accept (s=0x1d7560) at ssl_lib.c:850
No locals.
#9 0xf6f39f48 in ssl_io_filter_connect (filter_ctx=0x209288) at /build/buildd/apache2-2.2.8/modules/ssl/ssl_engine_io.c:1047
c = <value optimized out>
cert = <value optimized out>
n = <value optimized out>
ssl_err = <value optimized out>
verify_result = <value optimized out>
#10 0xf6f3ad84 in ssl_io_filter_input (f=0x22c620, bb=0x22e3f8, mode=AP_MODE_GETLINE, block=APR_BLOCK_READ, readbytes=0)
at /build/buildd/apache2-2.2.8/modules/ssl/ssl_engine_io.c:1292
status = <value optimized out>
inctx = <value optimized out>
len = 8192
#11 0x00049190 in ap_get_brigade (next=0x22c620, bb=0x22e3f8, mode=AP_MODE_GETLINE, block=APR_BLOCK_READ, readbytes=0) at /build/buildd/apache2-2.2.8/server/util_filter.c:489
No locals.
#12 0x0003426c in ap_rgetline_core (s=0x22d648, n=8192, read=0xffedd904, r=0x22d630, fold=0, bb=0x22e3f8) at /build/buildd/apache2-2.2.8/server/protocol.c:231
rv = 2283080
e = (apr_bucket *) 0x1bb028
bytes_handled = 0
current_alloc = 0
pos = <value optimized out>
last_char = 0x0
saw_eos = 0
#13 0x00034b34 in ap_read_request (conn=0x208d50) at /build/buildd/apache2-2.2.8/server/protocol.c:596
r = (request_rec *) 0x22e3f8
p = (apr_pool_t *) 0x22d5f8
expect = <value optimized out>
tmp_bb = (apr_bucket_brigade *) 0x22e3f8
csd = <value optimized out>
cur_timeout = <value optimized out>
#14 0x0004c468 in ap_process_http_connection (c=0x208d50) at /build/buildd/apache2-2.2.8/modules/http/http_core.c:183
r = (request_rec *) 0x0
csd = (apr_socket_t *) 0x0
#15 0x000462b4 in ap_run_process_connection (c=0x208d50) at /build/buildd/apache2-2.2.8/server/connection.c:43
n = 1
rv = <value optimized out>
#16 0x00053bf0 in child_main (child_num_arg=<value optimized out>) at /build/buildd/apache2-2.2.8/server/mpm/prefork/prefork.c:662
current_conn = (conn_rec *) 0x208d50
csd = (void *) 0x208bb8
ptrans = (apr_pool_t *) 0x208b80
allocator = (apr_allocator_t *) 0x1d7358
status = <value optimized out>
i = <value optimized out>
lr = <value optimized out>
pollset = (apr_pollset_t *) 0x206bb8
sbh = (ap_sb_handle_t *) 0x206bb0
bucket_alloc = (apr_bucket_alloc_t *) 0x20ab88
last_poll_idx = 0
#17 0x00053ed0 in make_child (s=0x828f8, slot=0) at /build/buildd/apache2-2.2.8/server/mpm/prefork/prefork.c:759
pid = 0
#18 0x000544b8 in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=0x828f8) at /build/buildd/apache2-2.2.8/server/mpm/prefork/prefork.c:777
index = <value optimized out>
remaining_children_to_start = 4
rv = <value optimized out>
#19 0x0002cf68 in main (argc=3, argv=0xffedde74) at /build/buildd/apache2-2.2.8/server/main.c:732
c = 0 '\0'
configtestonly = <value optimized out>
confname = 0x565f0 "/etc/apache2/apache2.conf"
def_server_root = 0x5c540 ""
temp_error_log = <value optimized out>
error = <value optimized out>
process = (process_rec *) 0x7c148
server_conf = (server_rec *) 0x828f8
pglobal = (apr_pool_t *) 0x7c0c0
pconf = (apr_pool_t *) 0x7e0c8
plog = (apr_pool_t *) 0xb0190
ptemp = (apr_pool_t *) 0xb71a8
pcommands = (apr_pool_t *) 0x800d0
opt = (apr_getopt_t *) 0x80168
rv = <value optimized out>
mod = <value optimized out>
optarg = 0xffedde74 "���(���:���="
Thanks in advance.
--nwf;
Attachment:
pgpf8I8Cw6qam.pgp
Description: PGP signature