[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Apache child process crashes with svn 1.2.3

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2006-10-07 11:48:44 CEST

Hi,

attached are is a stacktrace of a core dump that was created after one
of the child processes in our apache/mod_dav_svn setup crashed.

Our server is an unmodified mod_dav_svn/mod_authz_svn 1.2.3, on an
apache 2.0.54 with mod_ldap and the OpenLDAP SDK. OS is Suse SLES 9.

The error message in the apache log is always the same:
[Mon Mar 07 11:29:49 2006] [notice] child pid 20038 exit signal
Segmentation fault (11)

I know svn 1.2.3 is an old version, and we are preparing the upgrade to
svn 1.4, just interested to know if it has been solved in 1.4.

regards,

Lieven.

#0 0x4028bd43 in strlen () from /lib/tls/libc.so.6
(gdb) bt full
#0 0x4028bd43 in strlen () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x404d9a91 in svn_path_join (base=0x0, component=0x838e5a0 "build.client.targets", pool=0x838e3b8) at path.c:110
        blen = <value optimized out>
        clen = <value optimized out>
        path = <value optimized out>
#2 0x40496ecc in make_child_baton (parent=0x88acd68, path=0x838e3f0 "build/build.client.targets", pool=0x838e3b8) at /usr/local/svn/src/subversion-1.2.3/subversion/mod_dav_svn/update.c:292
No locals.
#3 0x40497104 in open_helper (is_dir=0, path=<value optimized out>, parent=<value optimized out>, base_revision=12492, pool=0x838e3b8, child_baton=0x0)
    at /usr/local/svn/src/subversion-1.2.3/subversion/mod_dav_svn/update.c:524
        child = <value optimized out>
        qname = <value optimized out>
#4 0x404af006 in update_entry (b=0x8a44fa0, s_rev=12492, s_path=0x838e458 "/branches/DEV_V0004.00.00/Post/Poststation/build/build.client.targets", s_entry=0x879a8b0,
    t_path=0x838e410 "/branches/DEV_V0004.00.00/Post/Poststation/build/build.client.targets", t_entry=0x83baeb8, dir_baton=0x88acd68, e_path=0x838e3f0 "build/build.client.targets", info=0x0,
    recurse=1, pool=0x838e3b8) at reporter.c:726
        svn_err__temp = (svn_error_t *) 0x0
        s_root = <value optimized out>
        allowed = 1
        related = 1
        new_baton = (void *) 0x8719360
        digest = "¸ã8\b0\000\000\000(µü¿!\233M@"
        hex_digest = <value optimized out>
        distance = 1
#5 0x404af9f6 in delta_dirs (b=0x8a44fa0, s_rev=12492, s_path=0x8680ff8 "/branches/DEV_V0004.00.00/Post/Poststation/build", t_path=0x8680fc0 "/branches/DEV_V0004.00.00/Post/Poststation/build",
    dir_baton=0x88acd68, e_path=0x8680fb8 "build", start_empty=0, pool=0x8680f80) at reporter.c:857
        svn_err__temp = (svn_error_t *) 0x0
        s_root = (svn_fs_root_t *) 0x8498818
        s_entries = <value optimized out>
        t_entries = (apr_hash_t *) 0x83bacf8
        hi = (apr_hash_index_t *) 0x83bc150
        subpool = (apr_pool_t *) 0x838e3b8
        s_entry = (const svn_fs_dirent_t *) 0x879a8b0
        t_entry = (const svn_fs_dirent_t *) 0x83baeb8
        val = (void *) 0x83baeb8
        name = <value optimized out>
        s_fullpath = 0x838e458 "/branches/DEV_V0004.00.00/Post/Poststation/build/build.client.targets"
        t_fullpath = 0x838e410 "/branches/DEV_V0004.00.00/Post/Poststation/build/build.client.targets"
        e_fullpath = 0x838e3f0 "build/build.client.targets"
        info = <value optimized out>
#6 0x404af157 in update_entry (b=0x8a44fa0, s_rev=12492, s_path=0x8680ff8 "/branches/DEV_V0004.00.00/Post/Poststation/build", s_entry=0x88acbc0,
    t_path=0x8680fc0 "/branches/DEV_V0004.00.00/Post/Poststation/build", t_entry=0x8493bc8, dir_baton=0x8596048, e_path=0x8680fb8 "build", info=0x878f3f0, recurse=1, pool=0x8680f80)
    at reporter.c:719
        svn_err__temp = (svn_error_t *) 0x0
        s_root = <value optimized out>
        allowed = 1
        related = 1
        new_baton = (void *) 0x88acd68
        digest = "\200\017h\b*\000\000\000¨Öÿ¿!\233M@"
        hex_digest = <value optimized out>
        distance = 1
#7 0x404af7b7 in delta_dirs (b=0x8a44fa0, s_rev=12563, s_path=0x8b2d390 "/branches/DEV_V0004.00.00/Post/Poststation", t_path=0x8a45030 "/branches/DEV_V0004.00.00/Post/Poststation",
    dir_baton=0x8596048, e_path=0x404b262b "", start_empty=1, pool=0x84ee938) at reporter.c:802
        svn_err__temp = (svn_error_t *) 0x0
        s_root = (svn_fs_root_t *) 0xbfffd728
        s_entries = <value optimized out>
        t_entries = (apr_hash_t *) 0x84936d8
        hi = <value optimized out>
        subpool = (apr_pool_t *) 0x8680f80
---Type <return> to continue, or q <return> to quit---
        s_entry = (const svn_fs_dirent_t *) 0x0
        t_entry = (const svn_fs_dirent_t *) 0x8493bc8
        val = (void *) 0xbfffd840
        name = <value optimized out>
        s_fullpath = 0x8680ff8 "/branches/DEV_V0004.00.00/Post/Poststation/build"
        t_fullpath = 0x8680fc0 "/branches/DEV_V0004.00.00/Post/Poststation/build"
        e_fullpath = 0x8680fb8 "build"
        info = <value optimized out>
#8 0x404afe77 in svn_repos_finish_report (baton=0x8a44fa0, pool=0x84ee938) at reporter.c:913
        finish_err = <value optimized out>
        close_err = <value optimized out>
#9 0x4049676d in dav_svn__update_report (resource=0x839a880, doc=0x84f06f0, output=0x84ef5d0) at /usr/local/svn/src/subversion-1.2.3/subversion/mod_dav_svn/update.c:1368
        rev = 12492
        path = 0x839a7e8 "Client"
        linkpath = 0x0
        locktoken = 0x0
        start_empty = 0
        this_attr = (apr_xml_attr *) 0x0
        editor = (svn_delta_editor_t *) 0x8a44f60
        child = (apr_xml_elem *) 0x0
        rbaton = <value optimized out>
        uc = {resource = 0x839a880, rev_root = 0x859ec30, anchor = 0x839aaf0 "/branches/DEV_V0004.00.00/Post/Poststation", target = 0x4049d811 "",
  dst_path = 0x839aaf0 "/branches/DEV_V0004.00.00/Post/Poststation", bb = 0x839ab30, output = 0x84ef5d0, pathmap = 0x0, resource_walk = 0, started_update = 1, send_all = 1}
        revnum = 12566
        ns = 1
        serr = <value optimized out>
        derr = (dav_error *) 0x0
        apr_err = <value optimized out>
        src_path = 0x839aaf0 "/branches/DEV_V0004.00.00/Post/Poststation"
        dst_path = 0x0
        repos = (const dav_svn_repos *) 0x839a918
        target = 0x4049d811 ""
        text_deltas = 1
        recurse = 1
        resource_walk = 0
        ignore_ancestry = 0
        arb = {r = 0x84ee970, repos = 0x839a918}
        subpool = (apr_pool_t *) 0x8422608
#10 0x40499604 in dav_svn_deliver_report (r=0x84ee970, resource=0x839a880, doc=0x84f06f0, output=0x84ef5d0) at /usr/local/svn/src/subversion-1.2.3/subversion/mod_dav_svn/version.c:1342
        key = (const void *) 0x0
        creation_str = <value optimized out>
        owner_base64 = <value optimized out>
        lock = <value optimized out>
        path_quoted = <value optimized out>
        expiration_str = <value optimized out>
        comment_to_send = <value optimized out>
        val = (void *) 0xbfffd928
        token_quoted = <value optimized out>
        owner_to_send = <value optimized out>
        comment_base64 = <value optimized out>
        ns = <value optimized out>
#11 0x0807bc39 in dav_handler (r=0x84ee970) at mod_dav.c:4042
No locals.
#12 0x0809502b in ap_run_handler (r=0x84ee970) at config.c:152
        pHook = (ap_LINK_handler_t *) 0x810aa3c
        n = 1
        rv = 0
#13 0x080979d5 in ap_invoke_handler (r=0x84ee970) at config.c:364
---Type <return> to continue, or q <return> to quit---
        new_handler = <value optimized out>
        p2 = <value optimized out>
        handler = 0x1 <Address 0x1 out of bounds>
        result = <value optimized out>
        old_handler = 0x80bb351 "dav-handler"
#14 0x08075e8f in ap_process_request (r=0x84ee970) at http_request.c:249
        access_status = <value optimized out>
#15 0x0807171c in ap_process_http_connection (c=0x81a22b0) at http_core.c:251
        r = (request_rec *) 0x84ee970
        csd_set = 1
        csd = (apr_socket_t *) 0x81a21d8

#16 0x0809eeab in ap_run_process_connection (c=0x81a22b0) at connection.c:43
        pHook = (ap_LINK_process_connection_t *) 0x810af00
        n = 0
        rv = 0
#17 0x08094138 in child_main (child_num_arg=<value optimized out>) at prefork.c:610
        ptrans = (apr_pool_t *) 0x81a21a0
        allocator = (apr_allocator_t *) 0x8140b10
        current_conn = (conn_rec *) 0x81a22b0
        status = <value optimized out>
        i = <value optimized out>
        lr = <value optimized out>
        curr_pollfd = <value optimized out>
        last_pollfd = 0
        pollset = (apr_pollfd_t *) 0x81a01f0
        offset = <value optimized out>
        csd = (void *) 0x81a21d8
        sbh = (ap_sb_handle_t *) 0x81a01d0
        rv = <value optimized out>
        bucket_alloc = (apr_bucket_alloc_t *) 0x81a41a8
#18 0x080942c1 in make_child (s=<value optimized out>, slot=2) at prefork.c:704
        pid = 0
#19 0x08094b61 in ap_mpm_run (_pconf=0x80d70a8, plog=0x81151a0, s=0x80dbfe8) at prefork.c:1001
        status = 0
        pid = {pid = 22792, in = 0x80dbfe8, out = 0xbfffdc88, err = 0x4019b9e2}
        child_slot = 2
        exitwhy = APR_PROC_EXIT
        processed_status = 0
        index = <value optimized out>
        remaining_children_to_start = 4
        rv = <value optimized out>
#20 0x08099a9c in main (argc=3, argv=0xbfffde14) at main.c:618
        exit_status = <value optimized out>
        c = <value optimized out>
        configtestonly = 0
        confname = 0x80c4246 "conf/httpd.conf"
        def_server_root = 0x80c4dc4 "/usr/local/svn/apache"
        temp_error_log = 0x0
        process = <value optimized out>
        server_conf = (server_rec *) 0x80dbfe8
        pglobal = (apr_pool_t *) 0x80d50a0
        pconf = (apr_pool_t *) 0x80d70a8
        plog = (apr_pool_t *) 0x81151a0
        ptemp = (apr_pool_t *) 0x81410e8
        pcommands = (apr_pool_t *) 0x80d90b0
        opt = <value optimized out>
        rv = <value optimized out>
        mod = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        optarg = 0x80b3161 "\215\223ôÝÿÿ\215\203ôÝÿÿ)ÂÁú\0029Ös\025\211Eð\211×\220\215t&"
        signal_server = <value optimized out>
(gdb)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 7 11:50:02 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.