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

Bug#521117: apache2: Apache seg faulting



On Mon, 2009-03-30 at 07:36 +1100, Geoff Reidy wrote:
> On Fri, 2009-03-27 at 13:52 +0100, Stefan Fritsch wrote:
> > On Friday 27 March 2009, Geoff Reidy wrote:
> > > I'm still getting the seg faults, I've installed your libaprutil1
> > > debug so when it happens again I'll send the bt.
> > 
> > You did restart apache after installing the new libaprutil1, didn't 
> > you?
> > 
> 
> Yes, just checked the logs :)
> 

Stefan,

Got another seg fault, here's the trace.

Thanks,
Geoff

(gdb) bt full
#0  0xb6bf81ea in mysql_ping () from /usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#1  0xb6b793ea in XS_DBD__mysql__db_ping ()
from /usr/lib/perl5/auto/DBD/mysql/mysql.so
No symbol table info available.
#2  0xb6e4ffb6 in XS_DBI_dispatch () from /usr/lib/perl5/auto/DBI/DBI.so
No symbol table info available.
#3  0xb762f9a5 in Perl_pp_entersub (my_perl=0x82eb820) at pp_hot.c:2850
        markix = 7
        sp = (SV **) 0x88d65d8
        sv = (SV *) 0x83557b0
        gv = (GV *) 0x88d65dc
        cv = (CV *) 0x83557b0
        cx = <value optimized out>
        gimme = 0
        hasargs = 1 '\001'
#4  0xb762ddc1 in Perl_runops_standard (my_perl=0x82eb820) at run.c:38
No locals.
#5  0xb7663f2e in S_docatch (my_perl=0x82eb820, o=<value optimized out>)
at pp_ctl.c:2682
        oldop = (OP * const) 0x87562d8
        cur_env = {je_prev = 0xbffbbf9c, je_buf = {{__jmpbuf =
{-1217554864, 137279520, 143027008, -1074021608, -478904191,
-662843760},
      __mask_was_saved = 0, __saved_mask = {__val = {142053896, 0, 0,
4113064307, 137279520, 137790320, 3076816148, 143430648, 3077360287, 0,
3076920311,
          0, 137761220, 143484380, 3077412432, 139358104, 137279520,
3220945656, 3076933953, 137279520, 137790320, 3077360287, 0, 3220945672,
7, 3063060,
          3077412432, 137279520, 143027008, 3220945688, 3076934026,
137279520}}}}, je_ret = 0, je_mustcatch = 0 '\0'}
#6  0xb762ddc1 in Perl_runops_standard (my_perl=0x82eb820) at run.c:38
No locals.
#7  0xb7627a35 in Perl_call_sv (my_perl=0x82eb820, sv=0x8866b40,
flags=<value optimized out>) at perl.c:2638
        sp = (SV **) 0x88d65e8
        myop = {op_next = 0x0, op_sibling = 0x0, op_ppaddr = 0, op_targ
= 0, op_type = 0, op_opt = 0, op_latefree = 0, op_latefreed = 0,
op_attached = 0,
  op_spare = 0, op_flags = 66 'B', op_private = 0 '\0', op_first = 0x0,
op_other = 0x0}
        method_op = {op_next = 0x82eb820, op_sibling = 0x8368210,
op_ppaddr = 0xb6e51354 <_fini+108>, op_targ = 142042720, op_type = 14,
op_opt = 0,
  op_latefree = 0, op_latefreed = 0, op_attached = 0, op_spare = 0,
op_flags = 0 '\0', op_private = 0 '\0', op_first = 0x8776660}
        oldmark = 7
        retval = 0
        oldscope = 17
        oldcatch = 0 '\0'
        oldop = (OP * const) 0x861ac90
        cur_env = {je_prev = 0xb76d9650, je_buf = {{__jmpbuf = {1,
143470692, -1074021464, -1218305863, 137279520, 142042720},
__mask_was_saved = 0,
      __saved_mask = {__val = {141933996, 14, 0, 48, 0, 1273680639,
3077412432, 3220945912, 3076226398, 137279520, 142042720, 141933996, 14,
48, 0, 0, 32,
          3085886719, 137279520, 3220946344, 143525720, 143470700, 8,
3076226219, 3077412432, 14, 141933996, 3220946008, 3076228551,
137279520, 142042720,
          141933996}}}}, je_ret = 14, je_mustcatch = 0 '\0'}
#8  0xb6e4df51 in XS_DBI_dispatch () from /usr/lib/perl5/auto/DBI/DBI.so
No symbol table info available.
#9  0xb762f9a5 in Perl_pp_entersub (my_perl=0x82eb820) at pp_hot.c:2850
---Type <return> to continue, or q <return> to quit---
        markix = 7
        sp = (SV **) 0x88d65e8
        sv = (SV *) 0x88a6450
        gv = (GV *) 0xbffbbf48
        cv = (CV *) 0x88a6450
        cx = <value optimized out>
        gimme = 0
        hasargs = 1 '\001'
#10 0xb762ddc1 in Perl_runops_standard (my_perl=0x82eb820) at run.c:38
No locals.
#11 0xb7627d38 in Perl_call_sv (my_perl=0x82eb820, sv=0x8581868,
flags=4) at perl.c:2653
        sp = (SV **) 0x88d65bc
        myop = {op_next = 0x0, op_sibling = 0x0, op_ppaddr = 0, op_targ
= 0, op_type = 0, op_opt = 0, op_latefree = 0, op_latefreed = 0,
op_attached = 0,
  op_spare = 0, op_flags = 66 'B', op_private = 0 '\0', op_first = 0x0,
op_other = 0xbffbc044}
        method_op = {op_next = 0x82eb820, op_sibling = 0x820db98,
op_ppaddr = 0xb75b5b2b <Perl_gv_fetchpvn_flags+11>, op_targ =
3076920311, op_type = 397,
  op_opt = 0, op_latefree = 1, op_latefreed = 0, op_attached = 1,
op_spare = 0, op_flags = 113 'q', op_private = 183 '·', op_first =
0xb7710cba}
        oldmark = 0
        retval = 0
        oldscope = 3
        oldcatch = 1 '\001'
        oldop = (OP * const) 0x0
        cur_env = {je_prev = 0x82eb994, je_buf = {{__jmpbuf =
{-1217554864, -1074020284, 139991144, -1074020216, -478224255,
-789115760},
      __mask_was_saved = 0, __saved_mask = {__val = {138093520,
137769184, 1, 3077641639, 3077641638, 3220946924, 137279520, 3220946936,
137280788,
          137280788, 3077641622, 17, 1667330113, 976381288, 137796154,
3220946984, 3076811338, 137279520, 4294967295, 143383484, 3077412432,
142545608,
          143383480, 137762688, 3077658768, 136371128, 137279520,
3220947032, 3077578241, 137279520, 139381304, 136371144}}}}, je_ret = 0,
  je_mustcatch = 1 '\001'}
#12 0xb76f8bfc in modperl_callback ()
from /usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#13 0xb76f92d3 in modperl_callback_run_handlers ()
from /usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#14 0xb76f99ca in modperl_callback_per_dir ()
from /usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#15 0xb76f26ef in ?? () from /usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#16 0x00000006 in ?? ()
No symbol table info available.
#17 0x089471c0 in ?? ()
No symbol table info available.
#18 0x00000001 in ?? ()
No symbol table info available.
#19 0xb7703b23 in modperl_env_request_tie ()
from /usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#20 0xb76f28a3 in modperl_response_handler_cgi ()
from /usr/lib/apache2/modules/mod_perl.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#21 0x0807a189 in ap_run_handler (r=0x89471c0)
at /tmp/buildd/apache2-2.2.9/server/config.c:159
        n = 4
        rv = 0
#22 0x0807d5a1 in ap_invoke_handler (r=0x89471c0)
at /tmp/buildd/apache2-2.2.9/server/config.c:373
        handler = 0x88af9a0 "Ð÷\212\bXç/\b°i\036\b@ø\212\bèø\212\b÷ý\212
\b"
        result = 143325600
        old_handler = 0x8305548 "perl-script"
        ignore = <value optimized out>
#23 0x0808b006 in ap_process_request (r=0x89471c0)
at /tmp/buildd/apache2-2.2.9/modules/http/http_request.c:258
        access_status = 143433112
#24 0x08088138 in ap_process_http_connection (c=0x88af9a0)
at /tmp/buildd/apache2-2.2.9/modules/http/http_core.c:190
        r = (request_rec *) 0x89471c0
        csd = (apr_socket_t *) 0x88af808
#25 0x080815b9 in ap_run_process_connection (c=0x88af9a0)
at /tmp/buildd/apache2-2.2.9/server/connection.c:43
        n = 1
        rv = 0
#26 0x0808fc34 in child_main (child_num_arg=<value optimized out>)
at /tmp/buildd/apache2-2.2.9/server/mpm/prefork/prefork.c:680
        current_conn = <value optimized out>
        csd = (void *) 0x88af808
        ptrans = (apr_pool_t *) 0x88af7d0
        allocator = (apr_allocator_t *) 0x88ad740
        status = <value optimized out>
        i = <value optimized out>
        lr = <value optimized out>
        pollset = (apr_pollset_t *) 0x88ad828
        sbh = (ap_sb_handle_t *) 0x88ad820
        bucket_alloc = (apr_bucket_alloc_t *) 0x88b1998
        last_poll_idx = 1
#27 0x08090013 in make_child (s=0x81cf908, slot=4)
at /tmp/buildd/apache2-2.2.9/server/mpm/prefork/prefork.c:777
No locals.
#28 0x08090512 in ap_mpm_run (_pconf=0x81cb0c8, plog=0x81fd190,
s=0x81cf908)
at /tmp/buildd/apache2-2.2.9/server/mpm/prefork/prefork.c:1077
        status = 0
        pid = {pid = 6752, in = 0x82115f8, out = 0x81cf908, err = 0x0}
        child_slot = <value optimized out>
        exitwhy = APR_PROC_EXIT
        processed_status = 0
        index = <value optimized out>
        remaining_children_to_start = 1
        rv = <value optimized out>
#29 0x08066f10 in main (argc=Cannot access memory at address 0x0
) at /tmp/buildd/apache2-2.2.9/server/main.c:732
        c = 0 '\0'
        configtestonly = 0
---Type <return> to continue, or q <return> to quit---
        confname = 0x8092926 "/etc/apache2/apache2.conf"
        def_server_root = 0x809aa50 ""
        temp_error_log = 0x0
        error = <value optimized out>
        process = (process_rec *) 0x81c9140
        server_conf = (server_rec *) 0x81cf908
        pglobal = (apr_pool_t *) 0x81c90c0
        pconf = (apr_pool_t *) 0x81cb0c8
        plog = (apr_pool_t *) 0x81fd190
        ptemp = (apr_pool_t *) 0x82115f8
        pcommands = (apr_pool_t *) 0x81cd0d0
        opt = (apr_getopt_t *) 0x81cd168
        rv = <value optimized out>
        mod = <value optimized out>
        optarg = 0xb7840d10 "\001"
(gdb)




Reply to: