My compiler didn't catch that missing cast. What version of gcc are you
using ?
[EMAIL PROTECTED] /home/pgollucci 1>gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.4 [FreeBSD] 20050518
Philip M. Gollucci wrote:
>
>> Philip M. Gollucci wrote:
>>
You will only get the Seg fault or Bus error when a process comes round
for recycling.
>>
>>
>> This is basically caused by the assumption that %ENV will be tied, and
>> local %ENV
>> breaks that assumption ;-S
>>
>> The followi
Philip M. Gollucci wrote:
You will only get the Seg fault or Bus error when a process comes round
for recycling.
This is basically caused by the assumption that %ENV will be tied, and local
%ENV
breaks that assumption ;-S
The following patch fixes this problem for me:
[patch snipped]
Some
Philip M. Gollucci wrote:
>> You will only get the Seg fault or Bus error when a process comes round
>> for recycling.
This is basically caused by the assumption that %ENV will be tied, and local
%ENV
breaks that assumption ;-S
The following patch fixes this problem for me:
Index: src/modules/p
You will only get the Seg fault or Bus error when a process comes round
for recycling.
StartServers 1
MinSpareServers 1
MaxSpareServers 1
MaxClients 150
MaxRequestsPerChild 0
SetHandler perl-script
PerlResponseHandler TEST::ENV
TEST/ENV.pm
package TEST::ENV;
First off a bit of CPAN wierdness. With perl -MCPAN 'install Sys::HostIP'
you get version 1.0 (07 Jun 2000), rather than the latest version (1.3.1
29 Sep 2003), something to do with the change of owner (five->bluelines).
Unfortunately 1.0 is the only version which doesn't use local %ENV (...and
ho
Phillip,
Thanks for your reply.
First off a bit of CPAN wierdness. With perl -MCPAN 'install Sys::HostIP'
you get version 1.0 (07 Jun 2000), rather than the latest version (1.3.1
29 Sep 2003), something to do with the change of owner (five->bluelines).
Unfortunately 1.0 is the only version wh
This works for me I can even do both local and Sys::HostIP at once ! :)
p.s. its called hostip now
PERL: 5.8.7
HTTPD: SVN - 2.3.0-dev prefork
MP: SVN - 2.0.3-dev this is 2.0.2 + 2 unrelated changes
Sys::HostIP: 1.0
OS: FreeBSD 6.0-RELEASE
SetHandler modperl
PerlResponseHandler TEST::ENV
-8<-- Start Bug Report 8<--
1. Problem Description:
Summary
Calling "local %ENV" from anywhere inside a mod_perl handler will
terminally
flaw the httpd process. The httpd process will function fine on the first
request, but will die th
-8<-- Start Bug Report 8<--
1. Problem Description:
Summary
Calling "local %ENV" from anywhere inside a mod_perl handler will
terminally
flaw the httpd process. The httpd process will function fine on the first
request, but will die the
10 matches
Mail list logo