Re: segfault on subrequest?

2001-06-13 Thread Doug MacEachern
On Thu, 15 Mar 2001, Pierre Phaneuf wrote: > > I have a PerlTransHandler that is very simple: the problem is likely that your trans handler is recursing. try adding this to prevent recursion: > sub handler { > my($r) = @_; return unless $r->is_main; > my($info); > > $info = $r->look

segfault on subrequest?

2001-03-15 Thread Pierre Phaneuf
I have a PerlTransHandler that is very simple: sub handler { my($r) = @_; my($info); $info = $r->lookup_file('/home/pp/pierre.jpg')->content_type(); warn("content type is $info\n"); return DECLINED; } But it causes a segfault when invoked... I removed the "->content_type()", so tha