httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Ghent <da...@elemental.org>
Subject Re: has anybody seen worker segfaults?
Date Wed, 20 Feb 2002 16:59:15 GMT
On Wed, 20 Feb 2002, Aaron Bannert wrote:

| Now try it again and hit bin/apachectl graceful in the middle of your
| test [a few times]. :)

Got a core with this. ab reported 159 (out of 2000) requests failed (in
the Length: category). Here's a bt:

#0  ap_queue_interrupt_all (queue=0x0) at fdqueue.c:219
219         if (apr_thread_mutex_lock(queue->one_big_mutex) !=
APR_SUCCESS) {
(gdb) where full

#0  ap_queue_interrupt_all (queue=0x0) at fdqueue.c:219
No locals.

#1  0x74444 in child_main (child_num_arg=1) at worker.c:998
        threads = (apr_thread_t **) 0x1bb7a8
        i = 826368
        rv = 1
        ts = (thread_starter *) 0xc9c00
        thread_attr = (apr_threadattr_t *) 0x10bdb0
        start_thread_id = (apr_thread_t *) 0x10bdc0

#2  0x7469c in make_child (s=0x1777b8, slot=1) at worker.c:1071
        pid = 0

#3  0x749a0 in perform_idle_server_maintenance () at worker.c:1233
        i = 1
        j = 0
        idle_thread_count = 23
        ps = (process_score *) 0xfee40060
        free_length = 1
        totally_free_length = 831488
        free_slots = {1, 0, 1, 0, 0, 472476, 32769, 0, 1, -4261240, 1,
831488, 0, 6, 5, 813056, -4260988, -4260992, -4260984, 867320, 813056, 0,
-4261096, 477948, 10, 104, -4261096, 473240, 31, 104, -4261064, 6}
        last_non_dead = 5
        total_non_dead = 6

#4  0x74bd0 in server_main_loop (remaining_children_to_start=0)
    at worker.c:1288
        child_slot = 1
        exitwhy = APR_PROC_EXIT
        status = 0
        processed_status = 0
        pid = {pid = -1, in = 0xffbefc04, out = 0x99280, err = 0x110e70}
        i = 25

#5  0x74e70 in ap_mpm_run (_pconf=0x2, plog=0x113cf8, s=0xc6800)
    at worker.c:1413
        remaining_children_to_start = 2
        rv = 827392

#6  0x7ad38 in main (argc=1537976, argv=0xd1c70) at main.c:500
        c = 0 '\000'
        configtestonly = 0
        confname = 0xae7f8 "conf/httpd.conf"
        def_server_root = 0xae7e8 "/local/apache2"
        process = (process_rec *) 0xd1c70
        server_conf = (server_rec *) 0x1777b8
        pglobal = (apr_pool_t *) 0xc6800
        pconf = (apr_pool_t *) 0xd3bf8
        plog = (apr_pool_t *) 0x113cf8
        ptemp = (apr_pool_t *) 0x10bcd8
        pcommands = (apr_pool_t *) 0x111cf0
        opt = (apr_getopt_t *) 0x111d88
        rv = 1129720
        mod = (module **) 0x1777b8
        optarg = 0x3 <Address 0x3 out of bounds>



Mime
View raw message