Package: libapache2-mod-python
Version: 3.1.3-3
Severity: normal

When using mod_python 3.1.3 and Apache 2 mpm-worker, we experienced
frequent segmentation faults (core dumps).  Compiling the latest
Apache from CVS and using mod_python 3.1.3 gave the same result.

Switching to mpm-prefork fixed the problem.  See stack trace that
shows problem occurs in threading library.

This could be related to a common problem with mod_python <= 3.1.4
and Apache 2 mpm-worker:

  http://svn.dscpl.com.au/vampire/trunk/patches.txt

In any case, I recommend we make mod_python require mpm-prefork, much
in the same way php does.


Thread 1 (process 5039):
#0  0xb7e26411 in __read_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0x080891e5 in ap_mpm_pod_check (pod=0xfffffe00) at pod.c:54
        c = 0 '\0'
        fd = 7
        rc = -512
#2  0x08086e0b in child_main (child_num_arg=-512) at worker.c:1233
        threads = (apr_thread_t **) 0x81d0a78
        rv = 0
        ts = (thread_starter *) 0x8162618
        thread_attr = (apr_threadattr_t *) 0x8162628
        start_thread_id = (apr_thread_t *) 0x8162660
#3  0x080870e4 in make_child (s=0x1, slot=0) at worker.c:1316
        pid = 0
#4  0x08087500 in perform_idle_server_maintenance () at worker.c:1518
apache2-common          apache2-doc             apache2-mpm-perchild
apache2-mpm-threadpool  apache2-prefork-dev     apache2-utils        
        status = 1
        any_dying_threads = 0
        any_dead_threads = 0
        all_dead_threads = 1
        i = 0
        j = -1080903901
        idle_thread_count = 0
        ps = (process_score *) 0xb783f02c
        free_length = 1
        totally_free_length = 1
        free_slots = {0, 0, 1000000, 0, 1, 0, 0, 0, -1209501216,
1000000, 0, -1209513647, 0, 0, 0, 0, -1080903536, 0, -1080903512,
-1209519894, 0, 0, -1080903416,
---Type <return> to continue, or q <return> to quit---
  1, -1080903408, 0, -1080903464, 134729299, 1000000, 0, -1080903416, 1}
        last_non_dead = 1
        total_non_dead = 2
        active_thread_count = 0
#5  0x08087845 in server_main_loop (remaining_children_to_start=0) at
worker.c:1621
        child_slot = 0
        exitwhy = 6
        status = 11
        processed_status = 0
        pid = {pid = -1, in = 0x6b3, out = 0x7, err = 0x0}
        i = 64
#6  0x08087a7d in ap_mpm_run (_pconf=0xb7e85469, plog=0x80cf160, s=0x0)
at worker.c:1723
        remaining_children_to_start = 0
        rv = -512
#7  0x080621fc in main (argc=3, argv=0xbf92ba64) at main.c:717
        exit_status = 0
        c = 0 '\0'
        configtestonly = 0
        confname = 0x808a555 "conf/httpd.conf"
        def_server_root = 0x808a565 "/opt/apache-2.2.2"
        temp_error_log = 0x0
        error = 0xfffffe00 <Address 0xfffffe00 out of bounds>
        process = (process_rec *) 0x809f120
        server_conf = (server_rec *) 0x80a2f48
        pglobal = (apr_pool_t *) 0x809f0a0
        pconf = (apr_pool_t *) 0x80a10a8
        plog = (apr_pool_t *) 0x80cf160
        ptemp = (apr_pool_t *) 0x80a50b8
        pcommands = (apr_pool_t *) 0x80a30b0
        opt = (apr_getopt_t *) 0x80a3148
        rv = 0
        mod = (module **) 0x80a2f48
        optarg = 0xb7e13ff4 "<=\023"
        signal_server = (apr_OFN_ap_signal_server_t *) 0x1


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libapache2-mod-python depends on:
ii  libapache2-mod-python2.3      3.1.3-3    An Apache 2 module that embeds Pyt
ii  python                        2.3.5-5    An interactive high-level object-o

libapache2-mod-python recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to