Bobber Cheng wrote:
Hi, Stas:

thx ur quck reply. The problem remained although i applied ur patch to last cvs mod_per and run on last cvs apache2.

perl -v
This is perl, v5.8.2 built for i686-linux
./httpd -v
Server version: Apache/2.0.49-dev
Server built:   Nov 16 2003 21:48:57

But the place change where Segmentation fault raise, here is the gdb output:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 8102)]
0x40174670 in apr_file_read (thefile=0x1, buf=0x824f6f0, nbytes=0xbffff468)
    at readwrite.c:79
79          if (thefile->buffered) {

(gdb) backtrace
#0  0x40174670 in apr_file_read (thefile=0x1, buf=0x824f6f0, nbytes=0xbffff468)
    at readwrite.c:79
#1  0x403ab840 in modperl_slurp_filename (r=0x819f680, tainted=0)
    at modperl_util.c:722

OK, so filehandle thefile is not initilized or corrupt. What are you trying to slurp? Can you go one frame up and do:


gdb> p r->filename

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to