RE: mod_perl2 + ModPerl::RegistryPrefork + Test::Builder = segfault

2008-09-04 Thread Berg, Eric
> On Thu, Sep 4, 2008 at 6:58 PM, Berg, Eric > > When I say that Test::Builder/Test::More/etc. are tightly > > coupled, I'm talking really entwined. In some cases, we have created a > > class with a bunch of test-related methods that look through the symbol > > table and find methods that =~ m

Re: mod_perl2 + ModPerl::RegistryPrefork + Test::Builder = segfault

2008-09-04 Thread Perrin Harkins
On Thu, Sep 4, 2008 at 6:58 PM, Berg, Eric <[EMAIL PROTECTED]> wrote: > When I say that Test::Builder/Test::More/etc. are tightly coupled, I'm > talking really entwined. In some cases, we have created a class with a > bunch of test-related methods that look through the symbol table and > find meth

RE: mod_perl2 + ModPerl::RegistryPrefork + Test::Builder = segfault

2008-09-04 Thread Berg, Eric
Hey, Perrin, When I say that Test::Builder/Test::More/etc. are tightly coupled, I'm talking really entwined. In some cases, we have created a class with a bunch of test-related methods that look through the symbol table and find methods that =~ m/^test_/ and then we run those tests, which includ

Re: mod_perl2 + ModPerl::RegistryPrefork + Test::Builder = segfault

2008-09-04 Thread Perrin Harkins
On Thu, Sep 4, 2008 at 6:09 PM, Berg, Eric <[EMAIL PROTECTED]> wrote: > Many of our core modules contain test methods that are executed during > our CVS checkin process as regression tests, so we'd have to completely > redo our regression testing architecture to decouple Test::Builder from > our co

mod_perl2 + ModPerl::RegistryPrefork + Test::Builder = segfault

2008-09-04 Thread Berg, Eric
Looks like we've narrowed the problem that I've described here (http://mail-archives.apache.org/mod_mbox/perl-modperl/200808.mbox/%3c5C [EMAIL PROTECTED] com%3e) It's something having to do with our use of Test::Builder. Simplly including Test::Builder in a CGI running under ModPerl::RegistryPref

mod_perl 2 and IPC::Open3

2008-09-04 Thread Tina Müller
Hi, I'm using source-highlight in a mod_perl application. This program takes code in STDIN and prints the html-highlighted code to STDOUT. My code works fine from the commandline and in Apache/1.3.37 (Unix) mod_perl/1.30 (perl 5.8.8) On another machine it also works from the commandline, but not

Stacktrace of segfault on fork in mp2/perl-5.10

2008-09-04 Thread Berg, Eric
I posted this a little while ago, and was hoping that some of you C-oriented folks could take a look at this stack trace and see if anything jumps out at you that would indicate why I'm consistently getting segmentation faults (11) when forking in a CGI running under ModPerl::RegistryPrefork. Than

Output of external program is getting lost in mod_perl 2.0.4

2008-09-04 Thread Shibi NS
Hi, I am migrating my application from httpd 1.x and mod_perl 1.x to mod_perl-2.0.4 and httpd-2.2.9. Some of the forms in my application uses and standalone script which excutes some external scripts like os commands or some other perl/shell scripts. Here is the source code for the script that e