What would cause a SEGFAULT on startup

2007-05-18 Thread Tuc at T-B-O-H.NET
Hi, I'm running : apache+mod_ssl+mod_deflate-1.3.37+2.8.28 perl-threaded-5.8.8 mod_perl-1.30 all installed via the FreeBSD ports collection. When I try to start it, using just the default httpd.conf with nothing but it being loaded, I get a segfault. The backtrace is :

Re: stupid optimization question

2007-05-18 Thread Cyril SCETBON
Jonathan Vanasco wrote: On May 17, 2007, at 11:53 AM, Michael Peters wrote: I would imagine the 2nd to be marginally faster. Perl doesn't have to re-allocate memory for the array each time the sub is called, but it does have to re-initialize it. As long as the array's contents are constant

File Handle Issues in Mod_Perl 2.0

2007-05-18 Thread Justin Luster
Hi, A while back I posted an issue that I was having with mod_perl 2.0 regarding file handles. Today I found an interesting clue to the problem. In my test script below I'm opening the same file twice in a row on purpose without closing it. I'm trying to replicate a possible error condition w