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

Re: Segfault problems

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: Tue, 3 Jun 2008 14:35:29 -0500

Please send tech-support questions like this to
users_at_subversion.tigris.org; this list is about the development of
svn itself.

Offhand, I'm guessing that your httpd built against whatever
apr/aprutil shipped inside it, but subversion itself (mod_dav_svn and
mod_authz_svn) was complied against /usr/local/apr, which is likely a
*different* version of apr. Make sure subversion builds against the
*same* apr as apache.

On Tue, Jun 3, 2008 at 1:47 PM, <Greg.Chandler_at_wellsfargo.com> wrote:
>
> I built apache httpd-2.2.8 with:
> ./configure --enable-mods-shared=all --enable-deflate --enable-proxy
> --enable-proxy-balancer --enable-proxy-http --enable-dav --enable-so
> Then subversion-1.4.6 with:
> ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-httpd
> --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr
>
> I'm getting things like this:
> [Tue Jun 03 13:05:07 2008] [notice] child pid 15406 exit signal
> Segmentation fault (11)
> [Tue Jun 03 13:05:09 2008] [notice] child pid 15407 exit signal
> Segmentation fault (11)
> [Tue Jun 03 13:05:09 2008] [notice] child pid 15408 exit signal
> Segmentation fault (11)
> [Tue Jun 03 13:05:40 2008] [notice] child pid 15409 exit signal
> Segmentation fault (11)
>
> When authz_svn_module is enabled in the httpd.conf. It doesn't matter
> what I try to load, and page or path underneath the DocumentRoot causes
> a segfault. When that module is commented out of the config, everything
> {apache-wise} works normally.
> I have no idea what's causing it.
>
> Here's a quick debug, can someone please help?:
>
> (gdb) r -X
> Starting program: /usr/local/apache2/bin/httpd -X
> [Thread debugging using libthread_db enabled]
> [New Thread -1208181920 (LWP 15487)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1208181920 (LWP 15487)]
> 0x00e762ab in access_checker (r=0x92a7a88) at
> /usr/src/subversion-1.4.6/subversion/mod_authz_svn/mod_authz_svn.c:416
> 416 authz_svn_config_rec *conf =
> ap_get_module_config(r->per_dir_config,
> (gdb) bt
> #0 0x00e762ab in access_checker (r=0x92a7a88) at
> /usr/src/subversion-1.4.6/subversion/mod_authz_svn/mod_authz_svn.c:416
> #1 0x0806d87a in ap_run_access_checker (r=0x92a7a88) at request.c:76
> #2 0x0806f556 in ap_process_request_internal (r=0x92a7a88) at
> request.c:189
> #3 0x0807c789 in ap_process_request (r=0x92a7a88) at http_request.c:256
> #4 0x0807a2c1 in ap_process_http_connection (c=0x929d950) at
> http_core.c:190
> #5 0x08077136 in ap_run_process_connection (c=0x929d950) at
> connection.c:43
> #6 0x08080107 in child_main (child_num_arg=Variable "child_num_arg" is
> not available.) at prefork.c:640
> #7 0x080802d0 in make_child (s=0x2, slot=0) at prefork.c:680
> #8 0x08080823 in ap_mpm_run (_pconf=0x91c30a8, plog=0x91f1160,
> s=0x91c4f98) at prefork.c:956
> #9 0x08061c6c in main (argc=2, argv=0xbffb8c94) at main.c:730
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: dev-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-03 21:35:46 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.