From owner-freebsd-apache@FreeBSD.ORG Sun Nov 20 18:34:39 2011 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E0D3106564A; Sun, 20 Nov 2011 18:34:39 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id BC1A48FC15; Sun, 20 Nov 2011 18:34:38 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id pAKIYYaQ053251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Nov 2011 20:34:34 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id pAKIYY0i031343; Sun, 20 Nov 2011 20:34:34 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id pAKIYYKo031342; Sun, 20 Nov 2011 20:34:34 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 20 Nov 2011 20:34:34 +0200 From: Kostik Belousov To: Doug Barton Message-ID: <20111120183434.GA50300@deviant.kiev.zoral.com.ua> References: <20111115100904.GA92795@icarus.home.lan> <4EC4ADC3.2060604@FreeBSD.org> <20111117074909.GL50300@deviant.kiev.zoral.com.ua> <4EC4BECA.5040705@FreeBSD.org> <20111117081210.GN50300@deviant.kiev.zoral.com.ua> <4EC4D359.4040406@FreeBSD.org> <20111117105744.GS50300@deviant.kiev.zoral.com.ua> <4EC610B9.8080406@FreeBSD.org> <20111118091937.GA50300@deviant.kiev.zoral.com.ua> <4EC6BB17.20706@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EUdKUZvr8YK8ET4E" Content-Disposition: inline In-Reply-To: <4EC6BB17.20706@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Daniil Cherednik , freebsd-apache@freebsd.org, freebsd-stable@freebsd.org Subject: Re: 8.2 + apache == a LOT of sigprocmask X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2011 18:34:39 -0000 --EUdKUZvr8YK8ET4E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 18, 2011 at 12:07:51PM -0800, Doug Barton wrote: > On 11/18/2011 01:19, Kostik Belousov wrote: > > On Fri, Nov 18, 2011 at 12:00:57AM -0800, Doug Barton wrote: > >> On 11/17/2011 02:57, Kostik Belousov wrote: > >>>>> It's not catching there though: > >>>>> > >>>>> Reading symbols from /libexec/ld-elf.so.1...done. > >>>>> Loaded symbols for /libexec/ld-elf.so.1 > >>>>> 0x28183b2d in accept () at accept.S:3 > >>>>> 3 RSYSCALL(accept) > >>>>> (gdb) c > >>>>> Continuing. > >>>>> no thread to satisfy query > >>>>> 0x28183b2d in accept () at accept.S:3 > >>>>> 3 RSYSCALL(accept) > >>>>> (gdb) info threads > >>>>> Cannot get thread info: invalid key > >>>>> (gdb) > >>> Err, the other part of my message was that you shall set the breakpoi= nt > >>> on sigprocmask. > >> > >> I'm sorry I'm not making myself clear. We are setting the breakpoint on > >> sigprocmask. But, maybe I'm doing it wrong. Can you give precise > >> instructions as to what you want me to do, from the beginning? Sorry to > >> be so dense. > > Find the pid of the process issuing excessive number of sigprocmask > > calls. Do > > $ gdb /usr/local/bin/httpd > > (gdb) attach > > (gdb) b _sigprocmask > > (gdb) c > > Bah ! Breakpoint fired. > > (gdb) bt > > (gdb) c > > <... Repeat ... > >=20 > Right, so we're on the same page at least. I've been abbreviating the > output of gdb to make it easier to see the problem, but here is a > (nearly) complete transcript: >=20 > gdb /usr/local/bin/httpd > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "i386-marcel-freebsd"... > (gdb) attach 1380 > Attaching to program: /usr/local/bin/httpd, process 1380 > Reading symbols from .... (lots of symbol-reading snipped) > 3 RSYSCALL(accept) > Current language: auto; currently asm > (gdb) b _sigprocmask > Breakpoint 1 at 0x282d9055: file /usr/src/lib/libthr/thread/thr_sig.c, > line 210. > (gdb) c > Continuing. > no thread to satisfy query > 0x28183b2d in accept () at accept.S:3 > 3 RSYSCALL(accept) > (gdb) c > Continuing. > no thread to satisfy query > 0x28183b2d in accept () at accept.S:3 > 3 RSYSCALL(accept) > (gdb) c > Continuing. > no thread to satisfy query > 0x28183b2d in accept () at accept.S:3 > 3 RSYSCALL(accept) >=20 > .... etc. This is an issue with either your environment or your gdb, or bug in gdb. It seems that 'continue' did not worked for you at all. I tried to reproduce this locally, but was not able to. And, I am unable to hit sigprocmask for my apache anywhere except rtld. I also have libthr linked in. So the way forward to catch sigprocmask callers is one of - figure out why your gdb does not work and fix it; might be, try to use gdb from ports. - or add libunwind backtraces into sigprocmask - or use dtrace (I doubt that 8.2 has neccessary usermode bits, and seriously doubt its stability). --EUdKUZvr8YK8ET4E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7JSDoACgkQC3+MBN1Mb4gSQQCgj/cHVj0SnYIRJCLpOnbxVGGd aXAAmwSjgSH1sxgfgRq7qH/p4ZxWVv/Y =3m7i -----END PGP SIGNATURE----- --EUdKUZvr8YK8ET4E-- From owner-freebsd-apache@FreeBSD.ORG Sun Nov 20 23:33:04 2011 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85253106564A; Sun, 20 Nov 2011 23:33:04 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD348FC12; Sun, 20 Nov 2011 23:33:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pAKNX45p077505; Sun, 20 Nov 2011 23:33:04 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pAKNX4PJ077501; Sun, 20 Nov 2011 23:33:04 GMT (envelope-from linimon) Date: Sun, 20 Nov 2011 23:33:04 GMT Message-Id: <201111202333.pAKNX4PJ077501@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/137729: www/mod_auth_kerb2 port broken on 8.0-BETA2 due to security/heimdal X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2011 23:33:04 -0000 Synopsis: www/mod_auth_kerb2 port broken on 8.0-BETA2 due to security/heimdal Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: linimon Responsible-Changed-When: Sun Nov 20 23:32:03 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=137729 From owner-freebsd-apache@FreeBSD.ORG Mon Nov 21 11:06:16 2011 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8426106574C for ; Mon, 21 Nov 2011 11:06:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D71D88FC21 for ; Mon, 21 Nov 2011 11:06:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pALB6Gxj052884 for ; Mon, 21 Nov 2011 11:06:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pALB6Gm6052882 for apache@FreeBSD.org; Mon, 21 Nov 2011 11:06:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Nov 2011 11:06:16 GMT Message-Id: <201111211106.pALB6Gm6052882@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Cc: Subject: Current problem reports assigned to apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2011 11:06:17 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/162080 apache [PATCH] devel/apr1: Improved decision IPv6 o ports/161758 apache www/mod_rpaf2: slave seperation and Apache22+ limitati o ports/160702 apache devel/apr1: CLANG build produces unusable library for o ports/159812 apache [PATCH] www/apache20,www/apache22 Strip Binaries o ports/159608 apache www/apache22: apache WITH_BDB_BASE settings described o ports/158565 apache www/apache22: Add rlimits based on login class for mpm o ports/157554 apache www/apache22: Apache RLimitNPROC does not work as inte o ports/156987 apache www/apache22: Harden SSL cipher suites strength and SS o ports/156787 apache www/mod_auth_kerb2 fails on undefined symbol with base f ports/156719 apache ab: apr_socket_recv: Connection reset by peer (54) o ports/156251 apache [PATCH] Enable module by default for www/mod_fastcgi o ports/153406 apache www/apache22's SUEXEC_RSRCLIMIT option does not take e o ports/153264 apache www/apache22 and apache13-modssl -- rc.d script improv o ports/147806 apache [PATCH] www/apache20: httpd doesn't start with WITH_LD o ports/147282 apache errors when starting www/apache22 after installation o o ports/146199 apache www/apache20: port does not use make config o ports/144010 apache devel/apr1 tries to use SYSVIPC even in jails o ports/137729 apache www/mod_auth_kerb2 port broken on 8.0-BETA2 due to sec o ports/130479 apache www/apache20 and www/apache22 configure_args busted o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache security/heimdal: www/mod_auth_kerb doesn't compile ag s ports/108169 apache www/apache20 wrong AP_SAFE_PATH for suEXEC 22 problems total. From owner-freebsd-apache@FreeBSD.ORG Thu Nov 24 14:10:19 2011 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5811106564A; Thu, 24 Nov 2011 14:10:19 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7E7618FC0C; Thu, 24 Nov 2011 14:10:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pAOEAJPM024748; Thu, 24 Nov 2011 14:10:19 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pAOEAJVt024740; Thu, 24 Nov 2011 14:10:19 GMT (envelope-from edwin) Date: Thu, 24 Nov 2011 14:10:19 GMT Message-Id: <201111241410.pAOEAJVt024740@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/162814: [patch] www/mod_rivet -- update to 2.0.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 14:10:19 -0000 Synopsis: [patch] www/mod_rivet -- update to 2.0.4 Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Thu Nov 24 14:10:19 UTC 2011 Responsible-Changed-Why: apache@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=162814 From owner-freebsd-apache@FreeBSD.ORG Thu Nov 24 14:10:23 2011 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3AE21065673; Thu, 24 Nov 2011 14:10:23 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9CCCD8FC15; Thu, 24 Nov 2011 14:10:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pAOEANqE025223; Thu, 24 Nov 2011 14:10:23 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pAOEAND4025216; Thu, 24 Nov 2011 14:10:23 GMT (envelope-from edwin) Date: Thu, 24 Nov 2011 14:10:23 GMT Message-Id: <201111241410.pAOEAND4025216@freefall.freebsd.org> To: gahr@FreeBSD.org, edwin@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/162814: [patch] www/mod_rivet -- update to 2.0.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 14:10:23 -0000 Synopsis: [patch] www/mod_rivet -- update to 2.0.4 State-Changed-From-To: open->feedback State-Changed-By: edwin State-Changed-When: Thu Nov 24 14:10:23 UTC 2011 State-Changed-Why: Awaiting maintainers feedback (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=162814 From owner-freebsd-apache@FreeBSD.ORG Thu Nov 24 14:20:08 2011 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC6B0106564A for ; Thu, 24 Nov 2011 14:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A5E038FC12 for ; Thu, 24 Nov 2011 14:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pAOEK8cr034801 for ; Thu, 24 Nov 2011 14:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pAOEK8le034800; Thu, 24 Nov 2011 14:20:08 GMT (envelope-from gnats) Date: Thu, 24 Nov 2011 14:20:08 GMT Message-Id: <201111241420.pAOEK8le034800@freefall.freebsd.org> To: apache@FreeBSD.org From: Edwin Groothuis Cc: Subject: Re: ports/162814: [patch] www/mod_rivet -- update to 2.0.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 14:20:08 -0000 The following reply was made to PR ports/162814; it has been noted by GNATS. From: Edwin Groothuis To: cowbert@gmail.com Cc: bug-followup@FreeBSD.org Subject: Re: ports/162814: [patch] www/mod_rivet -- update to 2.0.4 Date: Thu, 24 Nov 2011 14:10:21 UT Maintainer of www/mod_rivet, Please note that PR ports/162814 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162814 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org