You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nebojsa Manacinski <ne...@triera.net> on 2012/06/22 08:29:39 UTC

error in mod_dav_svn

Hi,

i'm getting this segmentation fault on AIX 5.3, with Apache 2.2.19 and 2.2.22
and Subversion 1.7.5, same configuration for subversion 1.6.18 works fine.

I think it's a bug in subversion.

Kind regards,
                Nebojsa



[using memory image in core]
reading symbolic information ...

Segmentation fault in remove_lock at line 892 in file "" ($t1)
could not read "subversion/mod_dav_svn/lock.c"
(dbx) where
remove_lock(lockdb = 0xf123938c, resource = (nil), locktoken = (nil)), line 892
in "lock.c"
mod_dav_svn.register_hooks(pconf = 0x30027500), line 1162 in "mod_dav_svn.c"
ap_register_hooks(m = 0xf1238a68, p = 0x30027500), line 431 in "config.c"
ap_add_module(m = 0xf1238a68, p = 0x30027500), line 556 in "config.c"
ap_add_loaded_module(mod = 0xf1238a68, p = 0x30027500), line 614 in "config.c"
mod_so.load_module(cmd = 0x2ff22620, dummy = 0x2ff2255c, modname =
"dav_svn_module", filename = "modules/mod_dav_svn.so"), line 282 in "mod_so.c"
invoke_cmd(cmd = 0x30010900, parms = 0x2ff22620, mconfig = 0x2ff2255c, args =
""), line 800 in "config.c"
unnamed block in execute_now(cmd_line = "LoadModule", args = "dav_svn_module
modules/mod_dav_svn.so", parms = 0x2ff22620, p = 0x30027500, ptemp = 0x30057680,
sub_tree = 0x2ff2255c, parent = (nil)), line 1441 in "config.c"
execute_now(cmd_line = "LoadModule", args = "dav_svn_module
modules/mod_dav_svn.so", parms = 0x2ff22620, p = 0x30027500, ptemp = 0x30057680,
sub_tree = 0x2ff2255c, parent = (nil)), line 1441 in "config.c"
unnamed block in ap_build_config_sub(p = 0x30027500, temp_pool = 0x30057680, l =
"LoadModule dav_svn_module modules/mod_dav_svn.so", parms = 0x2ff22620, current
= 0x2ff225b0, curr_parent = 0x2ff225b4, conftree = 0x300113f0), line 1012 in
"config.c"
ap_build_config_sub(p = 0x30027500, temp_pool = 0x30057680, l = "LoadModule
dav_svn_module modules/mod_dav_svn.so", parms = 0x2ff22620, current =
0x2ff225b0, curr_parent = 0x2ff225b4, conftree = 0x300113f0), line 1012 in
"config.c"
ap_build_config(parms = 0x2ff22620, p = 0x30027500, temp_pool = 0x30057680,
conftree = 0x300113f0), line 1224 in "config.c"
process_resource_config_nofnmatch(s = 0x3002cfa0, fname =
"/www/apache_229/conf/httpd.conf", conftree = 0x300113f0, p = 0x30027500, ptemp
= 0x30057680, depth = 0), line 1634 in "config.c"
ap_process_resource_config(s = 0x3002cfa0, fname =
"/www/apache_229/conf/httpd.conf", conftree = 0x300113f0, p = 0x30027500, ptemp
= 0x30057680), line 1666 in "config.c"
ap_read_config(process = 0x30025580, ptemp = 0x30057680, filename =
"conf/httpd.conf", conftree = 0x300113f0), line 2026 in "config.c"
main(argc = 2, argv = 0x2ff22b5c), line 632 in "main.c"




Re: error in mod_dav_svn

Posted by Philip Martin <ph...@wandisco.com>.
"Nebojsa Manacinski" <ne...@triera.net> writes:

> i'm getting this segmentation fault on AIX 5.3, with Apache 2.2.19 and 2.2.22
> and Subversion 1.7.5, same configuration for subversion 1.6.18 works fine.
>
> I think it's a bug in subversion.
>
> Kind regards,
>                 Nebojsa
>
>
>
> [using memory image in core]
> reading symbolic information ...
>
> Segmentation fault in remove_lock at line 892 in file "" ($t1)
> could not read "subversion/mod_dav_svn/lock.c"
> (dbx) where
> remove_lock(lockdb = 0xf123938c, resource = (nil), locktoken = (nil)), line 892
> in "lock.c"

subversion/mod_dav_svn/lock.c line 892 is a comment; the function
remove_lock ends at line 885.

> mod_dav_svn.register_hooks(pconf = 0x30027500), line 1162 in "mod_dav_svn.c"

mod_dav_svn.c doesn't have a line 1162, it only has 1086 lines.

On trunk mod_dav_svn.c:register_hooks starts at 1162.  Are you mixing
trunk and 1.7.5?  Don't do that.

-- 
Philip

Re: error in mod_dav_svn

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Fri, Jun 22, 2012 at 2:29 AM, Nebojsa Manacinski
<ne...@triera.net> wrote:
> Hi,
>
> i'm getting this segmentation fault on AIX 5.3, with Apache 2.2.19 and 2.2.22
> and Subversion 1.7.5, same configuration for subversion 1.6.18 works fine.
>
> I think it's a bug in subversion.
>
> Kind regards,
>                Nebojsa

How did you get it built on AIX? Are you using the RPM's at
http://www.perzl.org/aix/index.php?n=Main.Subversion ?