Y
yairl
hi,
I 'm trying to execute a small C program into the Perl CGI working
with apache server and it fail . I used `cmd` , sytem, qx( ) , open
orders every thing it doens't work when it run as CGI. The script
works fine if it runs as shell script by hand or cron but the forked
program send "segmentation fault" and it ended with status 35584
(ACCESS VIOLATION) when it runs into CGI mode under apache server or
Sun One webserver. This happened with some C small programs they use
socket to connect some resources outside and return some value to
evaluate. These programs started to fail since perl 5.6 under linux
SuSe 9 ,10 and solaris 8 and 9. The regular OS orders like date, cat ,
cal work fine, I tested it. I don't understand why is happened, what's
wrong they are common C progrmas using the standard C library like
socket lib. Someone know anything about this bug?
I 'm trying to execute a small C program into the Perl CGI working
with apache server and it fail . I used `cmd` , sytem, qx( ) , open
orders every thing it doens't work when it run as CGI. The script
works fine if it runs as shell script by hand or cron but the forked
program send "segmentation fault" and it ended with status 35584
(ACCESS VIOLATION) when it runs into CGI mode under apache server or
Sun One webserver. This happened with some C small programs they use
socket to connect some resources outside and return some value to
evaluate. These programs started to fail since perl 5.6 under linux
SuSe 9 ,10 and solaris 8 and 9. The regular OS orders like date, cat ,
cal work fine, I tested it. I don't understand why is happened, what's
wrong they are common C progrmas using the standard C library like
socket lib. Someone know anything about this bug?