call to Apache::Cookie causes a segfault (11), please help!

[prev] [thread] [next] [Date index for 2005/04/15]

From: Gokul P. Nair
Subject: call to Apache::Cookie causes a segfault (11), please help!
Date: 20:45 on 15 Apr 2005
A simple call to set_login_cookie.html from a browser
causes a segmentation fault and generates the
following message in my apache error log:

[notice] child pid xxxxx exit signal Segmentation
fault (11)

set_login_cookie.html:
<html>
hello
</html>

<%init>
 my $cookie = Apache::Cookie->new
     ( $r,
       -name  => 'tapeonline_user_login',
       -value => 123456,
       -path  => '/'
     );
 $r->headers_out->add('Set-Cookie'=>$cookie);
</%init>

calls to any other webpage on my webserver works
perfectly fine. and yes, i have tried 
$r->err_headers_out->add('Set-Cookie'=>$cookie) too,
still no luck. i've also read somewhere that
Apache::Cookie's bake() method is buggy.

i'm at my wits end. do u know what i could be doing
wrong?

i'm using apache 2.0.53, mod_perl 2.0-rc4 and
html::mason 1.28 on a debian 3.0 system.

Thanks in advance.

Gokul


		
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs

call to Apache::Cookie causes a segfault (11), please help!
Gokul P. Nair 20:45 on 15 Apr 2005

Generated at 23:15 on 17 Apr 2005 by mariachi v0.52