Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 2012 invoked from network); 9 Nov 2009 16:24:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Nov 2009 16:24:30 -0000 Received: (qmail 12888 invoked by uid 500); 9 Nov 2009 16:24:30 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 12829 invoked by uid 500); 9 Nov 2009 16:24:29 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 12819 invoked by uid 99); 9 Nov 2009 16:24:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 16:24:29 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [199.172.169.46] (HELO mgcn1.bloomberg.com) (199.172.169.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 16:24:19 +0000 Received: from ny2570.bloomberg.com ([172.20.72.138]) by mgcn1.bloomberg.com with ESMTP; 09 Nov 2009 11:23:58 -0500 Received: from NY2575.corp.bloomberg.com (ny2575.corp.bloomberg.com [172.20.85.111]) by ny2570.bloomberg.com (8.14.1/8.14.1) with ESMTP id nA9GLhdV020423 for ; Mon, 9 Nov 2009 11:23:08 -0500 Received: from NY2581.corp.bloomberg.com ([172.20.85.117]) by NY2575.corp.bloomberg.com ([::1]) with mapi; Mon, 9 Nov 2009 11:23:00 -0500 From: "skrishnamur1@bloomberg.com" To: "'modules-dev@httpd.apache.org'" Date: Mon, 9 Nov 2009 11:22:58 -0500 Subject: RE: Apache 2.2 coredumping on Solaris with Subversion 1.6 Thread-Topic: Apache 2.2 coredumping on Solaris with Subversion 1.6 Thread-Index: AcphVyGKFrav969VR0GZyBx+l289WQAAYhwg Message-ID: References: <2e027be00911090809i72214137jcb90c3d6197ee2b7@mail.gmail.com> In-Reply-To: <2e027be00911090809i72214137jcb90c3d6197ee2b7@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I built it with the below two flags that should point it to the same apr an= d apr-util that were used for the Apache installation I am using: --with-apr=3D/bb/web/apache_2.2.0/src/httpd-2.2.0/srclib/apr --with-apr-uti= l=3D/bb/web/apache_2.2.0/src/httpd-2.2.0/srclib/apr-util Should I be pointing it to some other place in the apache installation itse= lf instead of the source? -----Original Message----- From: Tom Evans [mailto:tevans.uk@googlemail.com]=20 Sent: Monday, November 09, 2009 11:10 AM To: modules-dev@httpd.apache.org Subject: Re: Apache 2.2 coredumping on Solaris with Subversion 1.6 On Mon, Nov 9, 2009 at 3:47 PM, skrishnamur1@bloomberg.com < skrishnamur1@bloomberg.com> wrote: > Hi, > > I compiled subversion with apache 2.2 on solaris but when I hit the serve= r > with an svn request, the svn modules produce a core dump. Has anyone face= d > anything similar or have any ideas about how to fix or workaround this > issue? Any help is appreciated. > Running a pstack on the core file produces: > > # /bin/pstack /bb/cores/core.httpd.5718.1257279721 > core '/bb/cores/core.httpd.5718.1257279721' of 5718: > /bb/web/apache_2_2/bin/httpd -k start > fdaa2214 access_checker (36aea0, 36c1a0, 640, fefefeff, 80808080, 101010= 1) > + 44 > 00069ef8 ap_run_access_checker (36aea0, 0, 0, 0, 0, 0) + 70 > 0006aa58 ap_process_request_internal (36aea0, 0, 0, 0, 0, 0) + 360 > 0008a378 ap_process_request (36aea0, 4, 36aea0, 364f60, 0, 0) + 60 > 00085c50 ap_process_http_connection (364f60, 364e88, 0, 0, 0, 0) + 88 > 0007e9e4 ap_run_process_connection (364f60, 364e88, 364e88, 0, 362f98, > 368e60) + 74 > 0007f0a8 ap_process_connection (364f60, 364e88, 364e88, 0, 362f98, 368e6= 0) > + 98 > 00091d3c child_main (0, 91200, 0, fefb8000, fef73700, fee42a00) + 60c > 00091fa8 make_child (109e00, 0, 0, 10, 10b4, fef73b00) + 1b8 > 00092070 startup_children (5, 2, 5, 108120, 232d20, 0) + 70 > 00092784 ap_mpm_run (108120, 1361d8, 109e00, 109e00, 4, 4) + 31c > 0004eb68 main (3, ffbff43c, ffbff44c, f3800, fee40100, fee40140) + f= 08 > 0004d198 _start (0, 0, 0, 0, 0, 0) + 108 > > Ive seen several other posts with people having the same issue but no rea= l > solutions > > e.g : > > > http://forums.sun.com/thread.jspa?threadID=3D5360736&messageID=3D10573946= #10573946 > http://forums.sun.com/thread.jspa?threadID=3D5360736 > > http://markmail.org/message/jwhlkgvrnbmgunsd#query:subversion%20crashes%2= 0at%20access_checker+page:1+mid:5cjtts3co442pxxh+state:results > > http://subversion.tigris.org/ds/viewMessage.do?dsForumId=3D462&viewType= =3DbrowseAll&dsMessageId=3D588712# > < > http://subversion.tigris.org/ds/viewMessage.do?dsForumId=3D462&viewType= =3DbrowseAll&dsMessageId=3D588712 > > > > stepping though the core file with dbx gives me : > > Running the core files through dbx gives me : > > Reading libz.so.1.2.3 > Reading libm.so.1 > Reading libgcc_s.so.1 > Reading mod_dav_svn.so > Reading libsvn_repos-1.so.0.0.0 > Reading libsvn_fs-1.so.0.0.0 > Reading libsvn_delta-1.so.0.0.0 > Reading libsvn_subr-1.so.0.0.0 > Reading libexpat.so.0.1.0 > Reading libsvn_fs_fs-1.so.0.0.0 > Reading libsvn_fs_util-1.so.0.0.0 > Reading libsqlite3.so.0.8.6 > Reading mod_authz_svn.so > Reading mod_jk.so > t@1 (l@1) program terminated by signal SEGV (Segmentation Fault) > Current function is access_checker > 548 authz_svn_config_rec *conf =3D > ap_get_module_config(r->per_dir_config, > > > cheers > Typically, problems with apache + subversion come about because apache is built with APR, subversion is built with APR, and they are built with conflicting libraries leading to a seg fault. Can you verify your build process, and which version of APR each is built with. Cheers Tom