From josephwilliams@example.com Tue Jan 01 00:06:43 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 98643 invoked from network); 1 Jan 2008 00:06:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 00:06:43 -0000 Received: (qmail 56666 invoked by uid 500); 1 Jan 2008 00:06:27 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 56651 invoked by uid 500); 1 Jan 2008 00:06:27 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 56640 invoked by uid 99); 1 Jan 2008 00:06:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 16:06:27 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of josephwilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO minerva.ectoplasm.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 00:06:15 +0000 Received: from minerva.ectoplasm.org (localhost.localdomain [83.161.120.155]) by pmx.secure.ectoplasm.org (Postfix) with SMTP id D3C845F531; Mon, 31 Dec 2007 16:06:06 -0800 (PST) Received: from [83.161.120.155] (unknown [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by minerva.ectoplasm.org (Postfix) with ESMTP id 2277C5F530; Mon, 31 Dec 2007 16:06:05 -0800 (PST) Message-ID: <josephwilliams@example.com> Date: Mon, 31 Dec 2007 16:05:39 -0800 From: "Philippe M. Chiasson" <josephwilliams@example.com> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20071031) MIME-Version: 1.0 To: Michael Schout <josephwilliams@example.com> CC: Mod-Perl <josephwilliams@example.com> Subject: Re: BUG: MP_CODE_ATTRS() is broken under perl 5.10.0 References: <josephwilliams@example.com> <josephwilliams@example.com> In-Reply-To: <josephwilliams@example.com> X-Enigmail-Version: 0.95.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD011C70CA25C69A1CAD51093" X-PMX-Version: 83.161.120.1550885, Antispam-Engine: 83.161.120.1553940, Antispam-Data: 283.161.120.155921 X-PMX-Spam: Gauge=IIIIIII, Probability=7%, Report='__BAT_BOUNDARY 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __HAS_MSGID 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' X-Virus-Checked: Checked by ClamAV on apache.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD011C70CA25C69A1CAD51093 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Michael Schout wrote: > Michael Schout wrote: >=20 >> MP_CODE_ATTRS() doesn't work under perl 5.10.0. >=20 > Does anyone have any ideas on how to fix this? Short answer, not yet. Slightly longer answer follows. The problem is that the different flavors of filter handlers need to be identified, and at that point, all that we got it a CV *. Using the hack you pointed out, we were able to piggyback to some unused portion of the CV*. Unfortunately, in 5.10, that field is now a union between 2 fields, so that no longer holds true. The solution will be to either find a new way to attach this information to a CV (I looked around, and nothing jumped at me), or we'll have to swi= tch to storing this information separate of the CV itself (a cleaner, but pot= entially annoying solution). So for now, there is not much of a solution, but there will be one! --=20 Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/ --------------enigD011C70CA25C69A1CAD51093 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHeYPTyzKhB4jDpaURAscOAKCpQ7YghJW6t9qIkFU3TU2Poh3E/ACbBmq3 wIUYbiGx8lUob/x3cCOh+I8= =/1AN -----END PGP SIGNATURE----- --------------enigD011C70CA25C69A1CAD51093-- From josephwilliams@example.com Wed Jan 02 20:19:15 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 81144 invoked from network); 2 Jan 2008 20:19:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2008 20:19:15 -0000 Received: (qmail 32281 invoked by uid 500); 2 Jan 2008 20:18:58 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 32260 invoked by uid 500); 2 Jan 2008 20:18:58 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 32249 invoked by uid 99); 2 Jan 2008 20:18:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 12:18:58 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO hqex2ksvr02.windows.usmc-mccs.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 20:18:36 +0000 Received: from hqex2ksvr01.windows.usmc-mccs.org ([83.161.120.155]) by hqex2ksvr02.windows.usmc-mccs.org with Microsoft SMTPSVC(5.0.2195.6713); Wed, 2 Jan 2008 15:18:40 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C84D7C.A9CA8B76" Subject: segfault Date: Wed, 2 Jan 2008 15:18:39 -0500 Message-ID: <josephwilliams@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: segfault Thread-Index: AchNfKm0u2M0roFgR22vNBgV8UvHUw== From: "Raful Mr Mitchell H" <josephwilliams@example.com> To: <josephwilliams@example.com> X-OriginalArrivalTime: 02 Jan 2008 20:18:40.0465 (UTC) FILETIME=[AA120410:01C84D7C] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C84D7C.A9CA8B76 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My script looks like this =20 use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request (); =20 my $req =3D Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request-> new($r) my $data =3D req->{param-name} =20 It causes a segfault error. Any ideas? =20 Mitch Mitchell Raful MCSE CCNP=20 MCB Quantico=20 Personal and Family Readiness (MRI)=20 3044 Catlin Avenue=20 Quantico, VA 22134=20 Com: 403.961.8953=20 DSN: 278-5991=20 Cell: 403.961.8953=20 =20 ------_=_NextPart_001_01C84D7C.A9CA8B76 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.3243" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial size=3D2>My = script looks like=20 this</FONT></SPAN></DIV> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial size=3D2>use = Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request=20 ();</FONT></SPAN></DIV> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial size=3D2>my = $req =3D=20 Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request-&gt; new($r)</FONT></SPAN></DIV> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial size=3D2>my = $data =3D=20 req-&gt;{<EM>param-name}</EM></FONT></SPAN></DIV> <DIV><SPAN class=3D406361220-02012008><EM><FONT face=3DArial=20 size=3D2></FONT></EM></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial size=3D2>It = causes a segfault=20 error.&nbsp; Any ideas?</FONT></SPAN></DIV> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D406361220-02012008><FONT face=3DArial=20 size=3D2>Mitch</FONT></SPAN></DIV> <P><FONT face=3DArial size=3D2>Mitchell Raful MCSE CCNP</FONT> <BR><FONT = face=3DArial=20 size=3D2>MCB Quantico</FONT> <BR><FONT face=3DArial size=3D2>Personal = and Family=20 Readiness (MRI)</FONT> <BR><FONT face=3DArial size=3D2>3044 Catlin = Avenue</FONT>=20 <BR><FONT face=3DArial size=3D2>Quantico, VA 22134</FONT> <BR><FONT = face=3DArial=20 size=3D2>Com: 403.961.8953</FONT> <BR><FONT face=3DArial size=3D2>DSN: = 278-5991</FONT>=20 <BR><FONT face=3DArial size=3D2>Cell: 403.961.8953</FONT> </P> <DIV>&nbsp;</DIV></BODY></HTML> ------_=_NextPart_001_01C84D7C.A9CA8B76-- From josephwilliams@example.com Wed Jan 02 20:31:09 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 83609 invoked from network); 2 Jan 2008 20:31:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2008 20:31:07 -0000 Received: (qmail 45796 invoked by uid 500); 2 Jan 2008 20:30:51 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 45726 invoked by uid 500); 2 Jan 2008 20:30:50 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 45540 invoked by uid 99); 2 Jan 2008 20:30:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 12:30:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO smtpauth.rollernet.us) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 20:30:27 +0000 Received: from smtpauth.rollernet.us (localhost.localdomain [83.161.120.155]) by smtpauth.rollernet.us (Postfix) with ESMTP id B2982594003; Wed, 2 Jan 2008 12:30:29 -0800 (PST) Received: from iron.denterprises.org (ool-4350518c.dyn.optonline.net [83.161.120.155]) by smtpauth.rollernet.us (Postfix) with ESMTP; Wed, 2 Jan 2008 12:30:29 -0800 (PST) Received: from [83.161.120.155] (kell.iron.denterprises.org [83.161.120.155]) by iron.denterprises.org (Postfix) with ESMTP id 293131675FD; Wed, 2 Jan 2008 15:30:28 -0500 (EST) Message-ID: <josephwilliams@example.com> Date: Wed, 02 Jan 2008 15:29:55 -0500 From: Colin Wetherbee <josephwilliams@example.com> User-Agent: Thunderbird 83.161.120.155 (Windows/20071031) MIME-Version: 1.0 To: Raful Mr Mitchell H <josephwilliams@example.com> CC: josephwilliams@example.com Subject: Re: segfault References: <josephwilliams@example.com> In-Reply-To: <josephwilliams@example.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080101-0, 01/01/2008), Outbound message X-Antivirus-Status: Clean X-Rollernet-Abuse: Processed by Roller Network Mail Services. Contact josephwilliams@example.com to report violations. Abuse policy: http://rollernet.us/abuse.php X-Rollernet-Submit: Submit ID 4da9.477bf465.531ff.0 X-Virus-Checked: Checked by ClamAV on apache.org Raful Mr Mitchell H wrote: > My script looks like this > > use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request (); > > my $req = Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request-> new($r) > my $data = req->{/param-name}/ > // > It causes a segfault error. Any ideas? Hello. Please send us a bit more of your script. This snippet doesn't say much. Colin From josephwilliams@example.com Wed Jan 02 20:40:23 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 85880 invoked from network); 2 Jan 2008 20:40:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2008 20:40:23 -0000 Received: (qmail 59720 invoked by uid 500); 2 Jan 2008 20:40:08 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 59704 invoked by uid 500); 2 Jan 2008 20:40:08 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 59693 invoked by uid 99); 2 Jan 2008 20:40:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 12:40:07 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO hqex2ksvr02.windows.usmc-mccs.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 20:39:57 +0000 Received: from hqex2ksvr01.windows.usmc-mccs.org ([83.161.120.155]) by hqex2ksvr02.windows.usmc-mccs.org with Microsoft SMTPSVC(5.0.2195.6713); Wed, 2 Jan 2008 15:39:48 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: segfault Date: Wed, 2 Jan 2008 15:39:47 -0500 Message-ID: <josephwilliams@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: segfault Thread-Index: AchNflSfJ3xKNodOSPi80eLYtOfUpgAANvKg From: "Raful Mr Mitchell H" <josephwilliams@example.com> To: "Colin Wetherbee" <josephwilliams@example.com> Cc: <josephwilliams@example.com> X-OriginalArrivalTime: 02 Jan 2008 20:39:48.0160 (UTC) FILETIME=[9DACEC00:01C84D7F] X-Virus-Checked: Checked by ClamAV on apache.org SGVyZSBpcyB0aGUgY29tcGxldGUgc2NyaXB0Li4uLg0KDQojIS91c3IvYmluL3BlcmwNCnBhY2th Z2UgSGFuZGxlcnM6OkRldmljZXM7DQp1c2UgREJJOw0KdXNlIEhUTUw6OlRlbXBsYXRlOw0KDQp1 c2UgQXBhY2hlMjo6UmVxdWVzdFJlYyAoKTsNCnVzZSBBUFI6OlJlcXVlc3Q6OlBhcmFtICgpOw0K dXNlIEFwYWNoZTI6OkNvbnN0IC1jb21waWxlID0+ICdPSyc7DQoNCnN1YiBoYW5kbGVyIHsNCiAg IG15ICRyID0gc2hpZnQ7DQogICBteSAkcmVxID0gJHItPnBhcmFtKCJjaG9zZW5fYmFzZSIpOw0K ICAgDQogICBteSAkdGVtcGxhdGUgPSBIVE1MOjpUZW1wbGF0ZS0+bmV3KCBmaWxlbmFtZSA9PiAn L2hvbWUvbWl0Y2gvd3d3LWRldi9tb2RfcGVybC90ZW1wbGF0ZXMvZGV2aWNlcy50bXBsJyApOw0K ICAgbXkgJHN3aXRjaDsNCiAgIG15ICRiYXNlX2FiYnJldmlhdGlvbjsNCiAgIG15IEByb3V0ZXJz Ow0KDQojICAgT2xkIHdheSBvZiBkb2luZyB0aGluZ3MNCiMNCiMgICByZWFkKCBTVERJTiwgbXkg JGJ1ZmZlciwgJEVOVnsnQ09OVEVOVF9MRU5HVEgnfSApOw0KIyAgIEBwYWlycyA9IHNwbGl0IC89 LywgJGJ1ZmZlcjsNCiMgICAkdmFsdWUgPSAkcGFpcnNbMV07DQojICAgICBpZiggJHZhbHVlID1+ IG0vXCsvICl7Ow0KIyAgIAkgJHZhbHVlID1+IHMvXCsvIC9nOw0KIyAgICAgfQ0KIyAgIG15ICRj aG9zZW5fYmFzZSA9ICR2YWx1ZTsNCiAgIG15IEBsb29wX2RhdGEgPSAoKTsgICAgDQogICAkdGVt cGxhdGUtPnBhcmFtKEJBU0UgPT4gJGNob3Nlbl9iYXNlKTsNCiAgICR0ZW1wbGF0ZS0+cGFyYW0o REFUQSA9PiAkcmVxICk7DQogICBTV0lUQ0g6IHsNCiAgICAgIGlmKCAkY2hvc2VuX2Jhc2UgPX4g L0thbi8gKSB7ICRiYXNlX2FiYnJldmlhdGlvbiA9ICdrYmEnOyBsYXN0IFNXSVRDSDt9DQogICAg ICBpZiggJGNob3Nlbl9iYXNlID1+IC8yOS8gKSB7ICRiYXNlX2FiYnJldmlhdGlvbiA9ICd0Jzsg bGFzdCBTV0lUQ0g7fQ0KICAgICAgaWYoICRjaG9zZW5fYmFzZSA9fiAvTmV3LyApIHsgJGJhc2Vf YWJicmV2aWF0aW9uID0gJ25yaSc7IGxhc3QgU1dJVENIO30NCiAgICAgICBpZiggJGNob3Nlbl9i YXNlID1+IC9TYW4vICkgeyAkYmFzZV9hYmJyZXZpYXRpb24gPSAnc2RpJzsgbGFzdCBTV0lUQ0g7 fQ0KICAgICAgIGlmKCAkY2hvc2VuX2Jhc2UgPX4gL0NoZS8gKSB7ICRiYXNlX2FiYnJldmlhdGlv biA9ICdjcG8nOyBsYXN0IFNXSVRDSDt9DQogICAgICAgaWYoICRjaG9zZW5fYmFzZSA9fiAvUGFy LyApIHsgJGJhc2VfYWJicmV2aWF0aW9uID0gJ3BhaSc7IGxhc3QgU1dJVENIO30NCiAgICAgICAk YmFzZV9hYmJyZXZpYXRpb24gPSBzdWJzdHIoICRjaG9zZW5fYmFzZSwgMCwzICk7DQogICB9DQoN CiAgIG15ICRkYmggPSBEQkktPmNvbm5lY3QoICdkYmk6T0RCQzpNUklTZXJ2ZXIyaycsICdtcmlp bnZlbnRvcnknLCAnV3lzaXd5Z0AzMDQ0JywNCiAgICAgICAgICAgICAgICAgICAgICAgICAgIHsg UHJpbnRFcnJvciAgPT4gIDEsIFJhaXNlRXJyb3IgPT4gMCwgQXV0b0NvbW1pdCA9PiAxIH0gKTsN Cg0KICAgbXkgJHNxbCA9ICJzZWxlY3QgbmFtZSwgbG9jYXRpb24gZnJvbSB0YmxMaXZlQ2lzY28g d2hlcmUoIG5hbWUgTElLRSAnJGJhc2VfYWJicmV2aWF0aW9uJScgKSI7DQoNCiAgIG15ICRzdGgg PSAkZGJoLT5wcmVwYXJlKCAkc3FsICk7DQogICAkc3RoLT5leGVjdXRlKCk7DQogICBteSAkcm93 czsNCiAgIHB1c2ggQHskcm93c30sICRfIHdoaWxlICRfID0gJHN0aC0+ZmV0Y2hyb3dfaGFzaHJl ZigpOw0KDQogICAkdGVtcGxhdGUtPnBhcmFtKCBST1dTID0+ICRyb3dzKTsNCiAgIGZvcmVhY2gg JHJvdyggQCRyb3dzICkgew0KICAgICAgIG15ICVyb3V0ZXI7DQogICAgICAgaWYgKCAoJHJvdy0+ e25hbWV9ID1+IC9ydHIvKSB8fCAoJHJvdy0+e25hbWV9ID1+IC9kc3cvKSB8fCAoJHJvdy0+e25h bWV9ID1+IC9jc3cvKSB8fCAoJHJvdy0+e25hbWV9ID1+IC9jb3Jlc3cvKSApIHsNCiAgICAgICAg ICAgJHJvdXRlcntST1VURVJ9ID0gJHJvdy0+e25hbWV9OyANCiAgICAgICAgICAgcHVzaCAoIEBy b3V0ZXJzLCBcJXJvdXRlciApOw0KICAgICAgIH0NCiAgIH0NCg0KICAgJHRlbXBsYXRlLT5wYXJh bSggUk9VVEVSU19MT09QID0+IFxAcm91dGVycyk7IA0KICAgcHJpbnQgIkNvbnRlbnQtVHlwZTog dGV4dC9odG1sXG5cbiI7DQogICANCiAgIHByaW50ICR0ZW1wbGF0ZS0+b3V0cHV0Ow0KICAgDQog ICByZXR1cm4gQXBhY2hlMjo6Q29uc3Q6Ok9LOw0KfQ0KDQoxOw0KDQpNaXRjaGVsbCBSYWZ1bCBN Q1NFIENDTlANCk1DQiBRdWFudGljbw0KUGVyc29uYWwgYW5kIEZhbWlseSBSZWFkaW5lc3MgKE1S SSkNCjMwNDQgQ2F0bGluIEF2ZW51ZQ0KUXVhbnRpY28sIFZBIDIyMTM0DQpDb206IDcwMy03ODQt NTk5MQ0KRFNOOiAyNzgtNTk5MQ0KQ2VsbDogODA0LTM2My0wNzMxDQoNCg0KLS0tLS1PcmlnaW5h bCBNZXNzYWdlLS0tLS0NCkZyb206IENvbGluIFdldGhlcmJlZSBbbWFpbHRvOmN3d0BkZW50ZXJw cmlzZXMub3JnXQ0KU2VudDogV2VkbmVzZGF5LCBKYW51YXJ5IDAyLCAyMDA4IDM6MzAgUE0NClRv OiBSYWZ1bCBNciBNaXRjaGVsbCBIDQpDYzogbW9kcGVybEBwZXJsLmFwYWNoZS5vcmcNClN1Ympl Y3Q6IFJlOiBzZWdmYXVsdA0KDQoNClJhZnVsIE1yIE1pdGNoZWxsIEggd3JvdGU6DQo+IE15IHNj cmlwdCBsb29rcyBsaWtlIHRoaXMNCj4gIA0KPiB1c2UgQXBhY2hlMjo6UmVxdWVzdCAoKTsNCj4g IA0KPiBteSAkcmVxID0gQXBhY2hlMjo6UmVxdWVzdC0+IG5ldygkcikNCj4gbXkgJGRhdGEgPSBy ZXEtPnsvcGFyYW0tbmFtZX0vDQo+IC8vIA0KPiBJdCBjYXVzZXMgYSBzZWdmYXVsdCBlcnJvci4g IEFueSBpZGVhcz8NCg0KSGVsbG8uDQoNClBsZWFzZSBzZW5kIHVzIGEgYml0IG1vcmUgb2YgeW91 ciBzY3JpcHQuICBUaGlzIHNuaXBwZXQgZG9lc24ndCBzYXkgbXVjaC4NCg0KQ29saW4NCg== From josephwilliams@example.com Wed Jan 02 20:56:36 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 91819 invoked from network); 2 Jan 2008 20:56:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2008 20:56:36 -0000 Received: (qmail 82648 invoked by uid 500); 2 Jan 2008 20:56:20 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 82629 invoked by uid 500); 2 Jan 2008 20:56:20 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 82616 invoked by uid 99); 2 Jan 2008 20:56:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 12:56:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO smtpauth.rollernet.us) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 20:55:57 +0000 Received: from smtpauth.rollernet.us (localhost.localdomain [83.161.120.155]) by smtpauth.rollernet.us (Postfix) with ESMTP id 7E5E5594003; Wed, 2 Jan 2008 12:56:00 -0800 (PST) Received: from iron.denterprises.org (ool-4350518c.dyn.optonline.net [83.161.120.155]) by smtpauth.rollernet.us (Postfix) with ESMTP; Wed, 2 Jan 2008 12:56:00 -0800 (PST) Received: from [83.161.120.155] (kell.iron.denterprises.org [83.161.120.155]) by iron.denterprises.org (Postfix) with ESMTP id 46C2816757C; Wed, 2 Jan 2008 15:55:59 -0500 (EST) Message-ID: <josephwilliams@example.com> Date: Wed, 02 Jan 2008 15:55:26 -0500 From: Colin Wetherbee <josephwilliams@example.com> User-Agent: Thunderbird 83.161.120.155 (Windows/20071031) MIME-Version: 1.0 To: Raful Mr Mitchell H <josephwilliams@example.com> CC: josephwilliams@example.com Subject: Re: segfault References: <josephwilliams@example.com> In-Reply-To: <josephwilliams@example.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080101-0, 01/01/2008), Outbound message X-Antivirus-Status: Clean X-Rollernet-Abuse: Processed by Roller Network Mail Services. Contact josephwilliams@example.com to report violations. Abuse policy: http://rollernet.us/abuse.php X-Rollernet-Submit: Submit ID 4da9.477bfa60.6d13f.0 X-Virus-Checked: Checked by ClamAV on apache.org Raful Mr Mitchell H wrote: > Here is the complete script.... Is this the script that was causing segfaults? It doesn't look anything like what you originally posted. > #!/usr/bin/perl > package Handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4vices; > use DBI; > use HTML888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Template; > > use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RequestRec (); > use APR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Param (); > use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Const -compile => 'OK'; > > sub handler { > my $r = shift; > my $req = $r->param("chosen_base"); We usually reserve $req for an Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request object, instantiated as follows. my $req = Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request->new($r); Then, $req provides CGI parameters... my $username = $req->param('username'); [snipped the rest] Does that help? Colin From josephwilliams@example.com Thu Jan 03 03:59:53 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 90475 invoked from network); 3 Jan 2008 03:59:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2008 03:59:52 -0000 Received: (qmail 77521 invoked by uid 500); 3 Jan 2008 03:59:36 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 77508 invoked by uid 500); 3 Jan 2008 03:59:36 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 77497 invoked by uid 99); 3 Jan 2008 03:59:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 19:59:36 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 03:59:14 +0000 Received: by fg-out-1718.google.com with SMTP id d23so3628832fga.34 for <josephwilliams@example.com>; Wed, 02 Jan 2008 19:59:17 -0800 (PST) Received: by 83.161.120.155 with SMTP id s20mr15171995fgb.46.1199332756914; Wed, 02 Jan 2008 19:59:16 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 2 Jan 2008 19:59:16 -0800 (PST) Message-ID: <josephwilliams@example.com> Date: Thu, 3 Jan 2008 03:59:16 +0000 From: "abhishek jain" <josephwilliams@example.com> To: josephwilliams@example.com Subject: Process exists - Segmentation fault MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9126_13940337.1199332756909" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9126_13940337.1199332756909 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am running modperl 2.x + embperl on centos 4.5 Now when i run on MaxRequestsPerChild 1 the app. runs well but as i increase its value after every third refresh of browser a blank page appears, also the process size exceeds probably to 19M , and in error_log segmentation fault error appears. I believe the size exceeds some threshold. Now is there a way to increase the value of MaxRequestsPerChild ? Can i increase the threshold value of size of a process or so ? Thanks, Abhishek jain ------=_Part_9126_13940337.1199332756909 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hi,</div> <div>I am running modperl 2.x + embperl on centos 4.5</div> <div>Now when i run on </div> <div>MaxRequestsPerChild 1</div> <div>the app. runs well</div> <div>but as i increase its value after every third refresh of browser&nbsp;a blank page appears, also the process size exceeds probably to 19M , and in error_log segmentation fault error appears.</div> <div>I believe the size exceeds some threshold.</div> <div>Now is there a way to increase the value of MaxRequestsPerChild ?</div> <div>Can i increase the threshold value of size of a process or so ?</div> <div>Thanks,</div> <div>Abhishek jain</div> <div>&nbsp;</div> ------=_Part_9126_13940337.1199332756909-- From josephwilliams@example.com Thu Jan 03 06:43:59 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 5242 invoked from network); 3 Jan 2008 06:43:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2008 06:43:58 -0000 Received: (qmail 68190 invoked by uid 500); 3 Jan 2008 06:43:43 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 68172 invoked by uid 500); 3 Jan 2008 06:43:43 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 68161 invoked by uid 99); 3 Jan 2008 06:43:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 22:43:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO srve2.ecos.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 06:43:31 +0000 Received: from neptun.ecos.de (neptun.ecos.de [83.161.120.155]) by srve2.ecos.de (Postfix) with ESMTP id F3AC8B06EC; Thu, 3 Jan 2008 07:43:22 +0100 (CET) Received: from localhost (localhost [83.161.120.155]) by neptun.ecos.de (Postfix) with ESMTP id 6A81171B87A; Thu, 3 Jan 2008 07:43:22 +0100 (MET) Received: from neptun.ecos.de ([83.161.120.155]) by localhost (Firewall [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 32391-11; Thu, 3 Jan 2008 07:43:21 +0100 (MET) Received: from lnx1.i.ecos.de (lnx1.i.ecos.de [83.161.120.155]) by neptun.ecos.de (Postfix) with ESMTP id A8BD532F5E; Thu, 3 Jan 2008 07:43:21 +0100 (MET) Received: from lnx1.i.ecos.de (localhost [83.161.120.155]) by lnx1.i.ecos.de (Postfix) with ESMTP id 74B98891A07; Thu, 3 Jan 2008 07:43:21 +0100 (CET) Received: from srvmail1.i.ecos.de (srvmail1.i.ecos.de [83.161.120.155]) by lnx1.i.ecos.de (Postfix) with ESMTP id 9F21C8919D7; Thu, 3 Jan 2008 07:43:20 +0100 (CET) Received: from srvmail1.i.ecos.de (localhost [83.161.120.155]) by srvmail1.i.ecos.de (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id m036hIkX009192; Thu, 3 Jan 2008 07:43:19 +0100 Date: Thu, 3 Jan 2008 07:43:17 +0100 From: "Gerald Richter - ECOS GmbH" <josephwilliams@example.com> To: josephwilliams@example.com, josephwilliams@example.com Message-ID: <L39CEDA9830874c3aB57911A360019603.1199342591.srvmail1.i.ecos.de@MHS> In-Reply-To: <josephwilliams@example.com> Subject: RE: Process exists - Segmentation fault x-scalix-Hops: 1 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: von BB5000-Mailfilter X-Virus-Checked: Checked by ClamAV on apache.org Hi, Apache with mod_perl will always have this size or even more. This is=20 ok. ulimit -a shows the process limits, but should normaly not a problem The behaviour you describe occurs when you do _not_ have a LoadModule=20 _and_ a PerlModule statement for Embperl in your httpd.conf Gerald > -----Original Message----- > From: abhishek jain [mailto:josephwilliams@example.com]=20 > Sent: Thursday, January 03, 2008 4:59 AM > To: josephwilliams@example.com > Subject: Process exists - Segmentation fault >=20 > Hi, > I am running modperl 2.x + embperl on centos 4.5 Now when i=20 > run on MaxRequestsPerChild 1 the app. runs well but as i=20 > increase its value after every third refresh of browser a=20 > blank page appears, also the process size exceeds probably to=20 > 19M , and in error_log segmentation fault error appears. > I believe the size exceeds some threshold. > Now is there a way to increase the value of MaxRequestsPerChild ? > Can i increase the threshold value of size of a process or so ? > Thanks, > Abhishek jain > =20 >=20 >=20 ** Virus checked by BB-5000 Mailfilter ** From josephwilliams@example.com Thu Jan 03 07:41:59 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 17410 invoked from network); 3 Jan 2008 07:41:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2008 07:41:58 -0000 Received: (qmail 4692 invoked by uid 500); 3 Jan 2008 07:41:39 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 4679 invoked by uid 500); 3 Jan 2008 07:41:39 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 4668 invoked by uid 99); 3 Jan 2008 07:41:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 23:41:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of josephwilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO minerva.ectoplasm.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 07:41:14 +0000 Received: from minerva.ectoplasm.org (localhost.localdomain [83.161.120.155]) by pmx.secure.ectoplasm.org (Postfix) with SMTP id 807955F532; Wed, 2 Jan 2008 23:41:18 -0800 (PST) Received: from [83.161.120.155] (S01060000b48fdfe6.vc.shawcable.net [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by minerva.ectoplasm.org (Postfix) with ESMTP id 0DAB75F531; Wed, 2 Jan 2008 23:41:16 -0800 (PST) Message-ID: <josephwilliams@example.com> Date: Wed, 02 Jan 2008 23:40:45 -0800 From: "Philippe M. Chiasson" <josephwilliams@example.com> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20071031) MIME-Version: 1.0 To: Gerald Richter - ECOS GmbH <josephwilliams@example.com> CC: josephwilliams@example.com, josephwilliams@example.com Subject: Re: Process exists - Segmentation fault References: <L39CEDA9830874c3aB57911A360019603.1199342591.srvmail1.i.ecos.de@MHS> In-Reply-To: <L39CEDA9830874c3aB57911A360019603.1199342591.srvmail1.i.ecos.de@MHS> X-Enigmail-Version: 0.95.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2D09B87BB1D0847DB777C58A" X-PMX-Version: 83.161.120.1550885, Antispam-Engine: 83.161.120.1553940, Antispam-Data: 283.161.120.155237 X-PMX-Spam: Gauge=XXII, Probability=22%, Report='RELAY_IN_PBL_11 2.5, RDNS_POOLED 0, RDNS_SUSP 0, RDNS_SUSP_SPECIFIC 0, RELAY_IN_PBL 0, __BAT_BOUNDARY 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __HAS_MSGID 0, __MIME_VERSION 0, __RDNS_POOLED_2 0, __SANE_MSGID 0, __USER_AGENT 0' X-Virus-Checked: Checked by ClamAV on apache.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2D09B87BB1D0847DB777C58A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Gerald Richter - ECOS GmbH wrote: > Hi, >=20 > Apache with mod_perl will always have this size or even more. This is=20 > ok. >=20 > ulimit -a shows the process limits, but should normaly not a problem >=20 > The behaviour you describe occurs when you do _not_ have a LoadModule=20 > _and_ a PerlModule statement for Embperl in your httpd.conf Really? Any ides what about that triggers a segmentation fault ? --=20 Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/ --------------enig2D09B87BB1D0847DB777C58A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHfJF+yzKhB4jDpaURArOXAJ41KHcldma0+Y7R7+Yh64PXU74fEgCeOiDz AbL5aLZdZJRhocoH5++JW6M= =h/qi -----END PGP SIGNATURE----- --------------enig2D09B87BB1D0847DB777C58A-- From josephwilliams@example.com Thu Jan 03 11:53:29 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 96481 invoked from network); 3 Jan 2008 11:53:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2008 11:53:29 -0000 Received: (qmail 50942 invoked by uid 500); 3 Jan 2008 11:53:11 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 50933 invoked by uid 500); 3 Jan 2008 11:53:11 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 50922 invoked by uid 99); 3 Jan 2008 11:53:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 03:53:11 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO hu-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 11:52:48 +0000 Received: by hu-out-0506.google.com with SMTP id 27so741014hub.15 for <josephwilliams@example.com>; Thu, 03 Jan 2008 03:52:50 -0800 (PST) Received: by 83.161.120.155 with SMTP id s20mr15534299fgb.46.1199361170107; Thu, 03 Jan 2008 03:52:50 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 3 Jan 2008 03:52:50 -0800 (PST) Message-ID: <josephwilliams@example.com> Date: Thu, 3 Jan 2008 11:52:50 +0000 From: "abhishek jain" <josephwilliams@example.com> To: "Gerald Richter - ECOS GmbH" <josephwilliams@example.com> Subject: Re: Process exists - Segmentation fault Cc: josephwilliams@example.com In-Reply-To: <L39CEDA9830874c3aB57911A360019603.1199342591.srvmail1.i.ecos.de@MHS> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10130_18674325.1199361170082" References: <josephwilliams@example.com> <L39CEDA9830874c3aB57911A360019603.1199342591.srvmail1.i.ecos.de@MHS> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10130_18674325.1199361170082 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have the following statement in my httpd.conf LoadModule embperl_module /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Embperl/Embperl.so I do not have a related PerlModule just one for Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI . Thanks, Abhishek jain On 1/3/08, Gerald Richter - ECOS GmbH <josephwilliams@example.com> wrote: > > Hi, > > Apache with mod_perl will always have this size or even more. This is > ok. > > ulimit -a shows the process limits, but should normaly not a problem > > The behaviour you describe occurs when you do _not_ have a LoadModule > _and_ a PerlModule statement for Embperl in your httpd.conf > > Gerald > > > > -----Original Message----- > > From: abhishek jain [mailto:josephwilliams@example.com] > > Sent: Thursday, January 03, 2008 4:59 AM > > To: josephwilliams@example.com > > Subject: Process exists - Segmentation fault > > > > Hi, > > I am running modperl 2.x + embperl on centos 4.5 Now when i > > run on MaxRequestsPerChild 1 the app. runs well but as i > > increase its value after every third refresh of browser a > > blank page appears, also the process size exceeds probably to > > 19M , and in error_log segmentation fault error appears. > > I believe the size exceeds some threshold. > > Now is there a way to increase the value of MaxRequestsPerChild ? > > Can i increase the threshold value of size of a process or so ? > > Thanks, > > Abhishek jain > > > > > > > > ** Virus checked by BB-5000 Mailfilter ** > ------=_Part_10130_18674325.1199361170082 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hi,</div> <div>I have the following statement in my httpd.conf</div> <div>&nbsp;</div> <div>LoadModule&nbsp; embperl_module /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Embperl/Embperl.so<br>&nbsp;</div> <div>I do not have a related PerlModule just one for Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI .</div> <div>Thanks,</div> <div>Abhishek jain<br>&nbsp;</div> <div><span class="gmail_quote">On 1/3/08, <b class="gmail_sendername">Gerald Richter - ECOS GmbH</b> &lt;<a href="mailto:josephwilliams@example.com">josephwilliams@example.com</a>&gt; wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>Apache with mod_perl will always have this size or even more. This is<br>ok.<br><br>ulimit -a shows the process limits, but should normaly not a problem <br><br>The behaviour you describe occurs when you do _not_ have a LoadModule<br>_and_ a PerlModule statement for Embperl in your httpd.conf<br><br>Gerald<br><br><br>&gt; -----Original Message-----<br>&gt; From: abhishek jain [mailto: <a href="mailto:josephwilliams@example.com">josephwilliams@example.com</a>]<br>&gt; Sent: Thursday, January 03, 2008 4:59 AM<br>&gt; To: <a href="mailto:josephwilliams@example.com">josephwilliams@example.com</a><br>&gt; Subject: Process exists - Segmentation fault <br>&gt;<br>&gt; Hi,<br>&gt; I am running modperl 2.x + embperl on centos 4.5 Now when i<br>&gt; run on MaxRequestsPerChild 1 the app. runs well but as i<br>&gt; increase its value after every third refresh of browser a<br> &gt; blank page appears, also the process size exceeds probably to<br>&gt; 19M , and in error_log segmentation fault error appears.<br>&gt; I believe the size exceeds some threshold.<br>&gt; Now is there a way to increase the value of MaxRequestsPerChild ? <br>&gt; Can i increase the threshold value of size of a process or so ?<br>&gt; Thanks,<br>&gt; Abhishek jain<br>&gt;<br>&gt;<br>&gt;<br><br>** Virus checked by BB-5000 Mailfilter **<br></blockquote></div><br> ------=_Part_10130_18674325.1199361170082-- From josephwilliams@example.com Thu Jan 03 15:17:09 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 68519 invoked from network); 3 Jan 2008 15:17:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2008 15:17:09 -0000 Received: (qmail 8982 invoked by uid 500); 3 Jan 2008 15:16:53 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 8601 invoked by uid 500); 3 Jan 2008 15:16:52 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 8590 invoked by uid 99); 3 Jan 2008 15:16:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 07:16:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO srve2.ecos.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 15:16:29 +0000 Received: from neptun.ecos.de (neptun.ecos.de [83.161.120.155]) by srve2.ecos.de (Postfix) with ESMTP id 842D3B084C; Thu, 3 Jan 2008 16:16:31 +0100 (CET) Received: from localhost (localhost [83.161.120.155]) by neptun.ecos.de (Postfix) with ESMTP id 245C6740404; Thu, 3 Jan 2008 16:16:31 +0100 (MET) Received: from neptun.ecos.de ([83.161.120.155]) by localhost (Firewall [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 29881-14; Thu, 3 Jan 2008 16:16:29 +0100 (MET) Received: from lnx1.i.ecos.de (lnx1.i.ecos.de [83.161.120.155]) by neptun.ecos.de (Postfix) with ESMTP id 859D932D60; Thu, 3 Jan 2008 16:16:29 +0100 (MET) Received: from lnx1.i.ecos.de (localhost [83.161.120.155]) by lnx1.i.ecos.de (Postfix) with ESMTP id 545668808C4; Thu, 3 Jan 2008 16:16:29 +0100 (CET) Received: from srvmail1.i.ecos.de (srvmail1.i.ecos.de [83.161.120.155]) by lnx1.i.ecos.de (Postfix) with ESMTP id 03FC98808DB; Thu, 3 Jan 2008 16:16:29 +0100 (CET) Received: from srvmail1.i.ecos.de (localhost [83.161.120.155]) by srvmail1.i.ecos.de (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id m03FGRrb010988; Thu, 3 Jan 2008 16:16:28 +0100 Date: Thu, 3 Jan 2008 16:16:27 +0100 From: "Gerald Richter - ECOS GmbH" <josephwilliams@example.com> To: josephwilliams@example.com cc: josephwilliams@example.com Message-ID: <LD0850706220344a29FC33268D7127F82.1199373381.srvmail1.i.ecos.de@MHS> In-Reply-To: <josephwilliams@example.com> Subject: RE: Re: Process exists - Segmentation fault x-scalix-Hops: 1 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: von BB5000-Mailfilter X-Virus-Checked: Checked by ClamAV on apache.org Please add a=20 PerlModule Embperl Somewhere _after_ the LoadModule Gerald > -----Original Message----- > From: abhishek jain [mailto:josephwilliams@example.com]=20 > Sent: Thursday, January 03, 2008 12:53 PM > To: Gerald Richter > Cc: josephwilliams@example.com > Subject: Re: Process exists - Segmentation fault >=20 > Hi, > I have the following statement in my httpd.conf > =20 > LoadModule embperl_module=20 > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Em > bperl/Embperl.so > =20 > I do not have a related PerlModule just one for Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI . > Thanks, > Abhishek jain > =20 > On 1/3/08, Gerald Richter - ECOS GmbH <josephwilliams@example.com> wrote:=20 >=20 > Hi, > =09 > Apache with mod_perl will always have this size or even=20 > more. This is > ok. > =09 > ulimit -a shows the process limits, but should normaly=20 > not a problem=20 > =09 > The behaviour you describe occurs when you do _not_=20 > have a LoadModule > _and_ a PerlModule statement for Embperl in your httpd.conf > =09 > Gerald > =09 > =09 > > -----Original Message----- > > From: abhishek jain [mailto: josephwilliams@example.com] > > Sent: Thursday, January 03, 2008 4:59 AM > > To: josephwilliams@example.com > > Subject: Process exists - Segmentation fault=20 > > > > Hi, > > I am running modperl 2.x + embperl on centos 4.5 Now when i > > run on MaxRequestsPerChild 1 the app. runs well but as i > > increase its value after every third refresh of browser a > > blank page appears, also the process size exceeds probably to > > 19M , and in error_log segmentation fault error appears. > > I believe the size exceeds some threshold. > > Now is there a way to increase the value of=20 > MaxRequestsPerChild ?=20 > > Can i increase the threshold value of size of a=20 > process or so ? > > Thanks, > > Abhishek jain > > > > > > > =09 > ** Virus checked by BB-5000 Mailfilter ** > =09 >=20 >=20 >=20 ** Virus checked by BB-5000 Mailfilter ** From josephwilliams@example.com Thu Jan 03 15:36:51 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 76852 invoked from network); 3 Jan 2008 15:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2008 15:36:51 -0000 Received: (qmail 40879 invoked by uid 500); 3 Jan 2008 15:36:34 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 40850 invoked by uid 500); 3 Jan 2008 15:36:34 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 40739 invoked by uid 99); 3 Jan 2008 15:36:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 07:36:34 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of josephwilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 15:36:21 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <josephwilliams@example.com>) id 1JAS7B-000563-NW for josephwilliams@example.com; Thu, 03 Jan 2008 07:36:13 -0800 Message-ID: <josephwilliams@example.com> Date: Thu, 3 Jan 2008 07:36:13 -0800 (PST) From: arnab <josephwilliams@example.com> To: josephwilliams@example.com Subject: How to store keys generated from Crypt888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RSA module?? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: josephwilliams@example.com X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I'm using Crypt888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RSA module for generating public & private keys. Now the problem is that when I'm storing the keys in the database, and again bringing them to do the signature or verification the Crypt888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RSA module is unable to understand the key format. I'm storing the keys in the Varchar field of the MySQL. Could any body tell me when storing the keys in the databases what would be the type of the field or how to work with the keys?? Thanks in advance. Arnab -- View this message in context: http://www.nabble.com/How-to-store-keys-generated-from-Crypt%3A%3ARSA-module---tp14599117p14599117.html Sent from the mod_perl - General mailing list josephwilliams@example.com. From josephwilliams@example.com Thu Jan 03 19:21:06 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 88769 invoked from network); 3 Jan 2008 19:21:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2008 19:21:06 -0000 Received: (qmail 89180 invoked by uid 500); 3 Jan 2008 19:20:50 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 88854 invoked by uid 500); 3 Jan 2008 19:20:49 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 88843 invoked by uid 99); 3 Jan 2008 19:20:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 11:20:48 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO hu-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 19:20:27 +0000 Received: by hu-out-0506.google.com with SMTP id 27so801341hub.15 for <josephwilliams@example.com>; Thu, 03 Jan 2008 11:20:29 -0800 (PST) Received: by 83.161.120.155 with SMTP id x8mr15945350fgx.30.1199388028831; Thu, 03 Jan 2008 11:20:28 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 3 Jan 2008 11:20:28 -0800 (PST) Message-ID: <josephwilliams@example.com> Date: Thu, 3 Jan 2008 19:20:28 +0000 From: "abhishek jain" <josephwilliams@example.com> To: "Gerald Richter - ECOS GmbH" <josephwilliams@example.com> Subject: Re: Re: Process exists - Segmentation fault Cc: josephwilliams@example.com In-Reply-To: <LD0850706220344a29FC33268D7127F82.1199373381.srvmail1.i.ecos.de@MHS> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11970_206384.1199388028799" References: <josephwilliams@example.com> <LD0850706220344a29FC33268D7127F82.1199373381.srvmail1.i.ecos.de@MHS> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_11970_206384.1199388028799 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Adding PerlModule Embperl did not solved the problem , infact it aggreviated it. With this the page is not josephwilliams@example.com. My apache configuration is: <VirtualHost <ip>:80> SuexecUserGroup "#<id>" "#<id>" ServerName xxxxxxxxxxxxxxxxx ServerAlias www.xxxxxxxxxxxxxxxxx DocumentRoot <public_html> ErrorLog <dir>/logs/error_log CustomLog <dir>/logs/access_log combined LoadModule embperl_module /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Embperl/Embperl.so PerlModule Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI PerlModule Embperl <Directory <public_html dir>> Options Indexes IncludesNOEXEC FollowSymLinks allow from all AllowOverride All <FilesMatch "^<file_name>$"> SetHandler perl-script PerlHandler Embperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Object Options ExecCGI </FilesMatch> <FilesMatch ".*\.epl$"> Order allow,deny Deny From all </FilesMatch> <FilesMatch ".*\.pl$"> Order allow,deny Deny From all </FilesMatch> </Directory> <Directory <cgi_dir>> allow from all </Directory> PerlSetEnv EMBPERL_ESCMODE 0 PerlSetEnv EMBPERL_OPTIONS 16 PerlSetEnv EMBPERL_MAILHOST <host> PerlSetEnv EMBPERL_OBJECT_BASE _base.epl PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html PerlSetEnv EMBPERL_DEBUG 0 PerlSetEnv EMBPERL_OBJECT_APP epwebapp.pl </VirtualHost> Thanks, Abhishek jain On 1/3/08, Gerald Richter - ECOS GmbH <josephwilliams@example.com> wrote: > > Please add a > > PerlModule Embperl > > Somewhere _after_ the LoadModule > > Gerald > > > > -----Original Message----- > > From: abhishek jain [mailto:josephwilliams@example.com] > > Sent: Thursday, January 03, 2008 12:53 PM > > To: Gerald Richter > > Cc: josephwilliams@example.com > > Subject: Re: Process exists - Segmentation fault > > > > Hi, > > I have the following statement in my httpd.conf > > > > LoadModule embperl_module > > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Em > > bperl/Embperl.so > > > > I do not have a related PerlModule just one for Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI . > > Thanks, > > Abhishek jain > > > > On 1/3/08, Gerald Richter - ECOS GmbH <josephwilliams@example.com> wrote: > > > > Hi, > > > > Apache with mod_perl will always have this size or even > > more. This is > > ok. > > > > ulimit -a shows the process limits, but should normaly > > not a problem > > > > The behaviour you describe occurs when you do _not_ > > have a LoadModule > > _and_ a PerlModule statement for Embperl in your httpd.conf > > > > Gerald > > > > > > > -----Original Message----- > > > From: abhishek jain [mailto: josephwilliams@example.com] > > > Sent: Thursday, January 03, 2008 4:59 AM > > > To: josephwilliams@example.com > > > Subject: Process exists - Segmentation fault > > > > > > Hi, > > > I am running modperl 2.x + embperl on centos 4.5 Now when i > > > run on MaxRequestsPerChild 1 the app. runs well but as i > > > increase its value after every third refresh of browser a > > > blank page appears, also the process size exceeds probably to > > > 19M , and in error_log segmentation fault error appears. > > > I believe the size exceeds some threshold. > > > Now is there a way to increase the value of > > MaxRequestsPerChild ? > > > Can i increase the threshold value of size of a > > process or so ? > > > Thanks, > > > Abhishek jain > > > > > > > > > > > > > ** Virus checked by BB-5000 Mailfilter ** > > > > > > > > > > ** Virus checked by BB-5000 Mailfilter ** > ------=_Part_11970_206384.1199388028799 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hi,</div> <div>Adding PerlModule Embperl did not solved the problem , infact it aggreviated it. With this the page is not josephwilliams@example.com.</div> <div>My apache configuration is:</div> <p>&lt;VirtualHost &lt;ip&gt;:80&gt;<br>SuexecUserGroup &quot;#&lt;id&gt;&quot; &quot;#&lt;id&gt;&quot;<br>ServerName xxxxxxxxxxxxxxxxx<br>ServerAlias www.xxxxxxxxxxxxxxxxx <br>DocumentRoot &lt;public_html&gt;<br>ErrorLog &lt;dir&gt;/logs/error_log <br>CustomLog &lt;dir&gt;/logs/access_log combined<br>LoadModule&nbsp; embperl_module /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Embperl/Embperl.so<br>PerlModule Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI<br>PerlModule Embperl<br>&lt;Directory &lt;public_html dir&gt;&gt; <br>Options Indexes IncludesNOEXEC FollowSymLinks<br>allow from all<br>AllowOverride All</p> <p>&lt;FilesMatch &quot;^&lt;file_name&gt;$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SetHandler&nbsp; perl-script<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PerlHandler Embperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Object<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options&nbsp;&nbsp;&nbsp;&nbsp; ExecCGI<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/FilesMatch&gt; <br>&nbsp;&lt;FilesMatch &quot;.*\.epl$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Deny From all<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/FilesMatch&gt;<br>&nbsp;&lt;FilesMatch &quot;.*\.pl$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Deny From all<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/FilesMatch&gt;</p> <p><br>&lt;/Directory&gt;<br>&lt;Directory &lt;cgi_dir&gt;&gt;<br>allow from all<br>&lt;/Directory&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PerlSetEnv EMBPERL_ESCMODE 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PerlSetEnv EMBPERL_OPTIONS 16<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PerlSetEnv EMBPERL_MAILHOST&nbsp;&lt;host&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PerlSetEnv EMBPERL_OBJECT_BASE _base.epl<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PerlSetEnv EMBPERL_DEBUG 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PerlSetEnv EMBPERL_OBJECT_APP epwebapp.pl<br>&lt;/VirtualHost&gt;<br></p> <div>Thanks,</div> <div>Abhishek jain<br><br>&nbsp;</div> <div><span class="gmail_quote">On 1/3/08, <b class="gmail_sendername">Gerald Richter - ECOS GmbH</b> &lt;<a href="mailto:josephwilliams@example.com">josephwilliams@example.com</a>&gt; wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Please add a<br><br>PerlModule Embperl<br><br>Somewhere _after_ the LoadModule<br><br>Gerald<br><br><br>&gt; -----Original Message----- <br>&gt; From: abhishek jain [mailto:<a href="mailto:josephwilliams@example.com">josephwilliams@example.com</a>]<br>&gt; Sent: Thursday, January 03, 2008 12:53 PM<br>&gt; To: Gerald Richter<br>&gt; Cc: <a href="mailto:josephwilliams@example.com">josephwilliams@example.com </a><br>&gt; Subject: Re: Process exists - Segmentation fault<br>&gt;<br>&gt; Hi,<br>&gt; I have the following statement in my httpd.conf<br>&gt;<br>&gt; LoadModule&nbsp;&nbsp;embperl_module<br>&gt; /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Em <br>&gt; bperl/Embperl.so<br>&gt;<br>&gt; I do not have a related PerlModule just one for Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI .<br>&gt; Thanks,<br>&gt; Abhishek jain<br>&gt;<br>&gt; On 1/3/08, Gerald Richter - ECOS GmbH &lt;<a href="mailto:josephwilliams@example.com"> josephwilliams@example.com</a>&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hi,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Apache with mod_perl will always have this size or even<br>&gt; more. This is<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ok.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ulimit -a shows the process limits, but should normaly <br>&gt; not a problem<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The behaviour you describe occurs when you do _not_<br>&gt; have a LoadModule<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _and_ a PerlModule statement for Embperl in your httpd.conf<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gerald <br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; -----Original Message-----<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; From: abhishek jain [mailto: <a href="mailto:josephwilliams@example.com">josephwilliams@example.com</a>]<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Sent: Thursday, January 03, 2008 4:59 AM <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; To: <a href="mailto:josephwilliams@example.com">josephwilliams@example.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Subject: Process exists - Segmentation fault<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hi,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I am running modperl 2.x + embperl on centos 4.5 Now when i<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; run on MaxRequestsPerChild 1 the app. runs well but as i<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; increase its value after every third refresh of browser a<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; blank page appears, also the process size exceeds probably to <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 19M , and in error_log segmentation fault error appears.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I believe the size exceeds some threshold.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Now is there a way to increase the value of<br>&gt; MaxRequestsPerChild ? <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Can i increase the threshold value of size of a<br>&gt; process or so ?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Thanks,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Abhishek jain<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ** Virus checked by BB-5000 Mailfilter ** <br>&gt;<br>&gt;<br>&gt;<br>&gt;<br><br>** Virus checked by BB-5000 Mailfilter **<br></blockquote></div><br> ------=_Part_11970_206384.1199388028799-- From josephwilliams@example.com Fri Jan 04 06:08:53 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 66387 invoked from network); 4 Jan 2008 06:08:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jan 2008 06:08:53 -0000 Received: (qmail 80728 invoked by uid 500); 4 Jan 2008 06:08:37 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 80708 invoked by uid 500); 4 Jan 2008 06:08:37 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 80697 invoked by uid 99); 4 Jan 2008 06:08:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 22:08:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO srve2.ecos.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 06:08:25 +0000 Received: from neptun.ecos.de (neptun.ecos.de [83.161.120.155]) by srve2.ecos.de (Postfix) with ESMTP id 56538B07AD; Fri, 4 Jan 2008 07:08:17 +0100 (CET) Received: from localhost (localhost [83.161.120.155]) by neptun.ecos.de (Postfix) with ESMTP id C109775362B; Fri, 4 Jan 2008 07:08:16 +0100 (MET) Received: from neptun.ecos.de ([83.161.120.155]) by localhost (Firewall [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 03388-06; Fri, 4 Jan 2008 07:08:11 +0100 (MET) Received: from lnx1.i.ecos.de (lnx1.i.ecos.de [83.161.120.155]) by neptun.ecos.de (Postfix) with ESMTP id 8B7E033030; Fri, 4 Jan 2008 07:08:11 +0100 (MET) Received: from lnx1.i.ecos.de (localhost [83.161.120.155]) by lnx1.i.ecos.de (Postfix) with ESMTP id 4DBC6880969; Fri, 4 Jan 2008 07:08:11 +0100 (CET) Received: from srvmail1.i.ecos.de (srvmail1.i.ecos.de [83.161.120.155]) by lnx1.i.ecos.de (Postfix) with ESMTP id E17E588095C; Fri, 4 Jan 2008 07:08:10 +0100 (CET) Received: from srvmail1.i.ecos.de (localhost [83.161.120.155]) by srvmail1.i.ecos.de (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id m04688m3013061; Fri, 4 Jan 2008 07:08:09 +0100 Date: Fri, 4 Jan 2008 07:08:08 +0100 From: "Gerald Richter - ECOS GmbH" <josephwilliams@example.com> To: josephwilliams@example.com cc: josephwilliams@example.com Message-ID: <LF46DA360803E4b0aB618ECC1AE72BEF6.1199426882.srvmail1.i.ecos.de@MHS> In-Reply-To: <josephwilliams@example.com> Subject: RE: Re: Re: Process exists - Segmentation fault x-scalix-Hops: 1 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: von BB5000-Mailfilter X-Virus-Checked: Checked by ClamAV on apache.org Hi, Not sure if it makes any difference, but the lines LoadModule embperl_module=20 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Embperl/Embp erl.so PerlModule Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI PerlModule Embperl Should be outside of the VirtualHost block (they are global anyway) The other thing that you should make sure, is that mod_perl is compiled=20 with the same Perl that Embperl is and both are using modules from the=20 path /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi If there is any version mismatch, things cannot run correctly. Gerald =20 > -----Original Message----- > From: abhishek jain [mailto:josephwilliams@example.com]=20 > Sent: Thursday, January 03, 2008 8:20 PM > To: Gerald Richter > Cc: josephwilliams@example.com > Subject: Re: Re: Process exists - Segmentation fault >=20 > Hi, > Adding PerlModule Embperl did not solved the problem , infact=20 > it aggreviated it. With this the page is not josephwilliams@example.com. > My apache configuration is: >=20 > <VirtualHost <ip>:80> > SuexecUserGroup "#<id>" "#<id>" > ServerName xxxxxxxxxxxxxxxxx > ServerAlias www.xxxxxxxxxxxxxxxxx=20 > DocumentRoot <public_html> > ErrorLog <dir>/logs/error_log=20 > CustomLog <dir>/logs/access_log combined > LoadModule embperl_module=20 > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Em bperl/Embperl.so > PerlModule Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI > PerlModule Embperl > <Directory <public_html dir>>=20 > Options Indexes IncludesNOEXEC FollowSymLinks > allow from all > AllowOverride All >=20 > <FilesMatch "^<file_name>$"> > SetHandler perl-script > PerlHandler Embperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Object > Options ExecCGI > </FilesMatch>=20 > <FilesMatch ".*\.epl$"> > Order allow,deny > Deny From all > </FilesMatch> > <FilesMatch ".*\.pl$"> > Order allow,deny=20 > Deny From all > </FilesMatch> >=20 >=20 > </Directory> > <Directory <cgi_dir>> > allow from all > </Directory> > PerlSetEnv EMBPERL_ESCMODE 0 > PerlSetEnv EMBPERL_OPTIONS 16 > PerlSetEnv EMBPERL_MAILHOST <host>=20 > PerlSetEnv EMBPERL_OBJECT_BASE _base.epl > PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html > PerlSetEnv EMBPERL_DEBUG 0 > PerlSetEnv EMBPERL_OBJECT_APP epwebapp.pl > </VirtualHost> >=20 >=20 > Thanks, > Abhishek jain >=20 > =20 > On 1/3/08, Gerald Richter - ECOS GmbH <josephwilliams@example.com> wrote:=20 >=20 > Please add a > =09 > PerlModule Embperl > =09 > Somewhere _after_ the LoadModule > =09 > Gerald > =09 > =09 > > -----Original Message-----=20 > > From: abhishek jain [mailto:josephwilliams@example.com] > > Sent: Thursday, January 03, 2008 12:53 PM > > To: Gerald Richter > > Cc: josephwilliams@example.com=20 > > Subject: Re: Process exists - Segmentation fault > > > > Hi, > > I have the following statement in my httpd.conf > > > > LoadModule embperl_module > >=20 > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Em=20 > > bperl/Embperl.so > > > > I do not have a related PerlModule just one for Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI . > > Thanks, > > Abhishek jain > > > > On 1/3/08, Gerald Richter - ECOS GmbH <=20 > josephwilliams@example.com <mailto:josephwilliams@example.com> > wrote: > > > > Hi, > > > > Apache with mod_perl will always have this size or even > > more. This is > > ok. > > > > ulimit -a shows the process limits, but should normaly=20 > > not a problem > > > > The behaviour you describe occurs when you do _not_ > > have a LoadModule > > _and_ a PerlModule statement for Embperl in=20 > your httpd.conf > > > > Gerald=20 > > > > > > > -----Original Message----- > > > From: abhishek jain [mailto: josephwilliams@example.com] > > > Sent: Thursday, January 03, 2008 4:59 AM=20 > > > To: josephwilliams@example.com > > > Subject: Process exists - Segmentation fault > > > > > > Hi, > > > I am running modperl 2.x + embperl on centos=20 > 4.5 Now when i > > > run on MaxRequestsPerChild 1 the app. runs=20 > well but as i > > > increase its value after every third refresh=20 > of browser a > > > blank page appears, also the process size=20 > exceeds probably to=20 > > > 19M , and in error_log segmentation fault=20 > error appears. > > > I believe the size exceeds some threshold. > > > Now is there a way to increase the value of > > MaxRequestsPerChild ?=20 > > > Can i increase the threshold value of size of a > > process or so ? > > > Thanks, > > > Abhishek jain > > > > > > > > > > > > > ** Virus checked by BB-5000 Mailfilter **=20 > > > > > > > > > =09 > ** Virus checked by BB-5000 Mailfilter ** > =09 >=20 >=20 >=20 ** Virus checked by BB-5000 Mailfilter ** From josephwilliams@example.com Fri Jan 04 13:50:01 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 22825 invoked from network); 4 Jan 2008 13:50:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jan 2008 13:50:01 -0000 Received: (qmail 41945 invoked by uid 500); 4 Jan 2008 13:49:36 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 41924 invoked by uid 500); 4 Jan 2008 13:49:36 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 41896 invoked by uid 99); 4 Jan 2008 13:49:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 05:49:36 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of josephwilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 13:49:14 +0000 Received: by py-out-1112.google.com with SMTP id n24so2515609pyh.26 for <josephwilliams@example.com>; Fri, 04 Jan 2008 05:49:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=4iLU5ya16bmkxUq+WL7uCAWvXhpHKdoi7w6GFGbS9WE=; b=AcumxOPtKGEUbzJju3jl84GraSXhe3txvxb2qGBXUv9dpmFQCT7D+ztqoWqM8aIXJ2QVm4Nbro+IRm0siOtIcwPH3S0Z9xEgCwiCX0VZPWhBZ5pq5UYMweWbhQz6rbgyaE5EkG1ZY+6jDco3fwG80sXC2TftWB//u5IeMUjS7cg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=gm1lijUkjj8z563dTm5C2buBApwOGcOIPIvz11pJVkX2XLOHEjSjqwKIxz3hxVeXa2CoKdOyI3UU2umdmS0LwX9MAISh5f9L3AKnIgCNf/SxXitwzTdVH0G92eZSCA+SONc0wNfVKcHYkAg6U6jqtx0T51hp9DdIJZUsX8Uflng= Received: by 83.161.120.155 with SMTP id g4mr725935wfb.103.1199454558393; Fri, 04 Jan 2008 05:49:18 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 4 Jan 2008 05:49:18 -0800 (PST) Message-ID: <josephwilliams@example.com> Date: Fri, 4 Jan 2008 13:49:18 +0000 From: "Rolf Banting" <josephwilliams@example.com> To: josephwilliams@example.com Subject: mod_perl 2.0.3 + httpd trunk + access2.t fails: How to get 'Require' data with the httpd trunk implementation? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10820_4610058.1199454558354" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10820_4610058.1199454558354 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline All, The access2.t test fails when mod_perl 2.0.3 is built against the httpd trunk. The core problem is that the test script needs the httpd ap_requires function; however the log shows that the ap_requires function has been removed from httpd: relocation error: /home/mmsadm/Projects/mod_perl-2.0.3/blib/arch/auto/Apache2/Access/Access.so: undefined symbol: ap_requires The relevant code in t/repsonse/TestAPI/access2.pm is: # extract just the requirement entries my %require = map { my ($k, $v) = split /\s+/, $_->{requirement}, 2; ($k, $v||'') } @{ $r->requires }; debug \%require; .... return Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Const888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4SERVER_ERROR unless $require{user} eq $users; return Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Const888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4SERVER_ERROR unless $require{group} eq $groups; Since requires effectively wraps ap_requires the %require hash is not populated & SERVER888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RROR is returned from the handler. The config section is: <Location /TestAPI__access2> PerlAuthenHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ss2 PerlResponseHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok1 SetHandler modperl <IfModule mod_authz_host.c> # needed to test $r->satisfies Allow from All </IfModule> AuthType Basic AuthName "Access" Require user goo bar Require group bar tar <Limit POST> Require valid-user </Limit> Satisfy All <IfModule mod_auth_basic.c> # htpasswd -mbc auth-users goo foo # htpasswd -mb auth-users bar mar # using md5 password so it'll work on win32 too AuthUserFile /home/mmsadm/Projects/mod_perl-2.0.3/t/htdocs/api/auth-users # group: user1 user2 ... AuthGroupFile /home/mmsadm/Projects/mod_perl-2.0.3/t/htdocs/api/auth-groups </IfModule> </Location> To make the access2 test pass it seems that the obvious thing to do is populate the %require hash without the '$r->requires' call. Does anyone know how the information associated with 'Require' directives can be retrieved in the latest httpd implementation? Thanks, Rolf Further info: 1. This mail discussion between Steve Hay & Randy Kobes mentions the removal of ap_requires from httpd: "Problems building mod_perl-2.0.3 on Win32 with VC8" 2. t/hooks/authz.t & t/hooks/authen_basic.t fail for the same reason ------=_Part_10820_4610058.1199454558354 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline All,<br><br>The access2.t test fails when mod_perl 2.0.3 is built against the httpd trunk. The core problem is that the test script needs&nbsp;the httpd ap_requires function; however&nbsp; the log shows that the ap_requires function has been removed from httpd: <br><br>relocation error: /home/mmsadm/Projects/mod_perl-2.0.3/blib/arch/auto/Apache2/Access/Access.so: undefined symbol: ap_requires<br><br>The relevant code in t/repsonse/TestAPI/access2.pm&nbsp; is:<br><br> # extract just the requirement entries <br> my %require = <br> map { my ($k, $v) = split /\s+/, $_-&gt;{requirement}, 2; ($k, $v||&#39;&#39;) }<br> @{ $r-&gt;requires };<br> debug \%require;<br><br> ....<br><br> return Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Const888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4SERVER_ERROR unless $require{user} eq $users; <br> return Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Const888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4SERVER_ERROR unless $require{group} eq $groups;<br><br>Since requires&nbsp;effectively&nbsp;wraps ap_requires the %require hash is not populated &amp; SERVER888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RROR is returned from the handler.<br> <br>The config section is:<br><br>&lt;Location /TestAPI__access2&gt;<br> PerlAuthenHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ss2<br> PerlResponseHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok1<br> SetHandler modperl<br> &lt;IfModule mod_authz_host.c&gt; <br> # needed to test $r-&gt;satisfies<br> Allow from All<br> &lt;/IfModule&gt;<br> AuthType Basic<br> AuthName &quot;Access&quot;<br> Require user goo bar<br> Require group bar tar<br> &lt;Limit POST&gt; <br> Require valid-user<br> &lt;/Limit&gt;<br> Satisfy All<br> &lt;IfModule mod_auth_basic.c&gt;<br> # htpasswd -mbc auth-users goo foo<br> # htpasswd -mb auth-users bar mar<br> # using md5 password so it&#39;ll work on win32 too <br> AuthUserFile /home/mmsadm/Projects/mod_perl-2.0.3/t/htdocs/api/auth-users<br> # group: user1 user2 ...<br> AuthGroupFile /home/mmsadm/Projects/mod_perl-2.0.3/t/htdocs/api/auth-groups<br> &lt;/IfModule&gt; <br>&lt;/Location&gt;<br><br>To make the&nbsp;access2 test pass it seems that the obvious thing to do is populate the %require hash without the &#39;$r-&gt;requires&#39; call.&nbsp;Does&nbsp;anyone&nbsp;know&nbsp;how&nbsp;the&nbsp;information&nbsp;associated&nbsp;with&nbsp;&#39;Require&#39;&nbsp;directives&nbsp;can&nbsp;be&nbsp;retrieved in the latest httpd implementation? <br><br>Thanks,<br><br>Rolf<br><br>Further info:<br><br>1. This mail&nbsp;discussion between Steve Hay &amp; Randy Kobes mentions&nbsp;the&nbsp;removal&nbsp;of&nbsp;ap_requires&nbsp;from&nbsp;httpd:<br><br>&quot;Problems building mod_perl-2.0.3 on Win32 with VC8&quot; <br><br>2. t/hooks/authz.t&nbsp;&amp;&nbsp;t/hooks/authen_basic.t&nbsp; fail for the same reason<br><br> ------=_Part_10820_4610058.1199454558354-- From josephwilliams@example.com Fri Jan 04 15:45:04 2008 Return-Path: <josephwilliams@example.com> Delivered-To: josephwilliams@example.com Received: (qmail 32822 invoked from network); 4 Jan 2008 15:45:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jan 2008 15:45:04 -0000 Received: (qmail 36920 invoked by uid 500); 4 Jan 2008 15:44:46 -0000 Delivered-To: josephwilliams@example.com Received: (qmail 36901 invoked by uid 500); 4 Jan 2008 15:44:46 -0000 Mailing-List: contact josephwilliams@example.com; run by ezmlm Precedence: bulk list-help: <mailto:josephwilliams@example.com> list-unsubscribe: <mailto:josephwilliams@example.com> List-Post: <mailto:josephwilliams@example.com> List-Id: <modperl.perl.apache.org> Delivered-To: mailing list josephwilliams@example.com Received: (qmail 36763 invoked by uid 99); 4 Jan 2008 15:44:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 07:44:45 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of josephwilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 15:44:22 +0000 Received: by an-out-0708.google.com with SMTP id c28so1491807ana.57 for <josephwilliams@example.com>; Fri, 04 Jan 2008 07:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:mime-version:content-type:x-google-sender-auth; bh=GrCPgrkupcoLF96kg9MLS4G8wmHHKrmnSAYZcqDkBFI=; b=uMkx6h6RNfmr/0P0QM4N1ujkxrYaP2GUYrKXVxyKehIafEQ3Z+x9q0Q5M/NtlrhNF/xm+BRUTgRcZgQCJZ75vFLYRpTjVumgOTGDvL69UWYEPfRcSeaES5FHuruzfh9lmdsDmtdL2l9cy7fnQb5jQvS2dMQkKWqBCUnVrwjoH9c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:mime-version:content-type:x-google-sender-auth; b=MC+gRHXhj2XmeaO2cvVSpWPGawcX5Xl+2U+7mdKBwCW8EmC5+njvLDNjgZq+nkdKbZCVo8L1Fq+SpSjCPymNW9MkqnjIJqQ4VgfVEtaIGwFRpxOwMhOnu+EvO2+ch+aiIyuRB1YDMrgJ3BUP2ZjIuwUHUYXR6XIoy60pt/IAeK4= Received: by 83.161.120.155 with SMTP id 10mr33896762anh.11.1199461466909; Fri, 04 Jan 2008 07:44:26 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 4 Jan 2008 07:44:26 -0800 (PST) Message-ID: <josephwilliams@example.com> Date: Fri, 4 Jan 2008 07:44:26 -0800 From: "Hemant Bist" <josephwilliams@example.com> Sender: josephwilliams@example.com To: "Perrin Harkins" <josephwilliams@example.com> Subject: What dispatcher to use (Re: Correct way to send http status code 206 -Partial content?) Cc: josephwilliams@example.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_605_29069178.1199461466898" X-Google-Sender-Auth: 017776a360a9aaa0 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_605_29069178.1199461466898 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
{'source': 'Apache Software Foundation Public Mail Archives'}