Return-Path: X-Original-To: apmail-perl-modperl-archive@www.apache.org Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7688B1050A for ; Tue, 30 Apr 2013 00:45:39 +0000 (UTC) Received: (qmail 97813 invoked by uid 500); 30 Apr 2013 00:45:38 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 97789 invoked by uid 500); 30 Apr 2013 00:45:38 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 97780 invoked by uid 99); 30 Apr 2013 00:45:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 00:45:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of steve.m.hay@googlemail.com designates 209.85.214.181 as permitted sender) Received: from [209.85.214.181] (HELO mail-ob0-f181.google.com) (209.85.214.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 00:45:34 +0000 Received: by mail-ob0-f181.google.com with SMTP id ta17so5925982obb.40 for ; Mon, 29 Apr 2013 17:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=fqhc4Vcm0GZ9bVyrwYfeJFVrU4DnPJ5fgd8FaeJIkLc=; b=Cfd50Q4z9F4Y9fNVqYmeqWdVdhSrnJvTsY5kokfWSCWtOwRarVs8VGnL5d5S1P1d8h opqxjMr/9SytsnQ7v6xjwcEO0HWfj0CPEVEJqUxo5+/cL1zBKqvU8JQk/m4aWK3eSJMW H1Tq+Ofzy+uXSFlxujcyhTUAuycK3Ui47krwWBewnUj3avbNGvFEoYknrIk0YXMWaU5g 9O1mVq6W0csFC56qiWEjSRbRRN27LnZ3yJCXZbkBImTzxpeF0prIRr5C0A0edvLhEYHf uio9YD036NnH8Shu4BSdFIcw2NLahE5OpOBMHybGCJFiVH19vB4jwmb10+p3FzsGXSUD oeaA== MIME-Version: 1.0 X-Received: by 10.60.34.167 with SMTP id a7mr2308623oej.20.1367282713981; Mon, 29 Apr 2013 17:45:13 -0700 (PDT) Received: by 10.60.76.71 with HTTP; Mon, 29 Apr 2013 17:45:13 -0700 (PDT) In-Reply-To: References: <517E5149.80101@beamartyr.net> <517E7EF5.1090506@beamartyr.net> Date: Tue, 30 Apr 2013 01:45:13 +0100 Message-ID: Subject: Re: New Windows mod_perl binaries available From: Steve Hay To: Michiel Beijen Cc: Issac Goldstand , mod_perl list Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Do you have an exception-trap at the highest level around your program? I always have the entire program enclosed within a try-catch block (using Try::Tiny; even just an eval {} would be better than nothing), so if any Perl-level exceptions are thrown then they get caught and logged. It won't trap C-level blow-ups (crashes), though, but it might help, depending on the problem. I may have a go at building debug binaries sometime, but you'd also need debug perl and httpd for the full details. (I've only done complete debug builds of everything before, not just mod_perl components for, say, StrawberryPerl...) Which perl/httpd are you using (where from, and what versions)? Do you have cut-down sample programs which you can post for others to reproduce your problem with? On 29 April 2013 15:15, Michiel Beijen wrote: > Hi Issac, > > On Mon, Apr 29, 2013 at 4:08 PM, Issac Goldstand wrote: >> First of all, see if you can get a stacktrace. > > so how would you recommend I create a stack trace? This has been my > whole problem, the process simply restarts and I don't see why. > >> There's also always spreading print/debug statements around - I'm >> unfortunately not so up-to-date on the various perl profiling modules >> around, but they might be helpful. > > This is not possible here as I can reproduce it sending X number of > requests to my app. This can be *any* request to *any* part so I have > no chance to find the appropriate part of the app or any of the CPAN > modules it uses. This is why I'm looking for a way to generate some > kind of debug output so I know at least *what* the application does > before it exits. > -- > Mike