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

Subversion BDB doesn't work with Apache 2.4 event MPM

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 02 Apr 2012 17:46:02 +0100

I am unable to run the Subversion regression tests for BDB and DAV with
Apache 2.4 using the event MPM (the new default MPM in 2.4). Sometimes
mod_dav_svn SEGVs causing tests to FAIL and sometimes the tests hang
with mod_dav_svn spinning in a loop. The problems go away when I switch
to the worker MPM (the old default MPM in 2.2).

I'm not sure what the event MPM does that causes the problem. Here is a
typical SEGV:

#0 0x00007fb2017f8e96 in svn_error_clear (err=0x2031203920312038)
    at ../src/subversion/libsvn_subr/error.c:341
341 while (err->child)
(gdb) p err
$1 = (svn_error_t *) 0x2031203920312038
(gdb) p err[0]
Cannot access memory at address 0x2031203920312038

(gdb) bt
#0 0x00007f497ac4ae96 in svn_error_clear (err=0x2031203920312038)
    at ../src/subversion/libsvn_subr/error.c:341
#1 0x00007f497a7a83e6 in svn_fs_bdb__wrap_db (fs=0x7f49641183c0,
    operation=0x7f497a7d3e39 "opening 'nodes' table", db_err=0)
    at ../src/subversion/libsvn_fs_base/bdb/bdb-err.c:96
#2 0x00007f497a7b7219 in open_databases (fs=0x7f49641183c0, create=0,
    format=4,
    path=0x1f26f70
    "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-work/repositories/merge_reintegrate_tests-2/db",
    pool=0x7f495c0029b8)
    at ../src/subversion/libsvn_fs_base/fs.c:564
#3 0x00007f497a7b7c27 in base_open (fs=0x7f49641183c0,
    path=0x1f26f70
    "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-work/repositories/merge_reintegrate_tests-2/db",
    pool=0x7f495c0029b8,
    common_pool=0x1aa8ac8) at ../src/subversion/libsvn_fs_base/fs.c:763
#4 0x00007f497b0b65a6 in svn_fs_open (fs_p=0x1f26ea8,
    path=0x1f26f70
    "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-work/repositories/merge_reintegrate_tests-2/db",
    fs_config=0x1f26d88,
    pool=0x7f495c0029b8) at ../src/subversion/libsvn_fs/fs-loader.c:374
#5 0x00007f497b2e78c7 in get_repos (repos_p=0x7f495c03ec28,
    path=0x7f495c00e978
    "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-work/repositories/merge_reintegrate_tests-2",
    exclusive=0,
    nonblocking=0, open_fs=1, fs_config=0x1f26d88, pool=0x7f495c0029b8)
    at ../src/subversion/libsvn_repos/repos.c:1416
#6 0x00007f497b2e7a14 in svn_repos_open2 (repos_p=0x7f495c03ec28,
    path=0x7f495c00e978
    "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-work/repositories/merge_reintegrate_tests-2",
    fs_config=0x1f26d88,
    pool=0x7f495c0029b8) at ../src/subversion/libsvn_repos/repos.c:1462
#7 0x00007f497b51bb1c in get_resource (r=0x7f49640f7080,
    root_path=0x7f495c00e940
    "/svn-test-work/repositories/merge_reintegrate_tests-2",
    label=0x7f49640f8667 "9", use_checked_in=0, resource=0x7f4976d30b88)
    at ../src/subversion/mod_dav_svn/repos.c:2159
#8 0x00007f497b736b74 in dav_get_resource (r=0x7f49640f7080,
    label_allowed=<optimized out>, use_checked_in=0,
    res_p=0x7f4976d30b88)
    at /home/pm/sw/httpd/src/modules/dav/main/mod_dav.c:712

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-04-02 18:46:40 CEST

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.