Hi,

while trying to isolate the described bug, I found that what was
happening is that Storable is causing Perl to segfault. I don't know
why aren't you seeing it, but I can consistently reproduce it as
described in http://bugs.debian.org/482355

With this short snippet I can make it fail:

perl -e 'use CGI; use CGI::Session; my $cgi = new CGI(); our $session
=  CGI::Session->new("driver:file;serializer:storable", $cgi,
{Directory=>"/tmp"});'

I'd suggest, as a workaround, to force your CGI::Session object to be
destroyed before the program ends. Also, as documented, you should be
calling flush() explictly. So this should solve your problem by now:

$session->flush();
undef $session;


Cheers, Tincho.
-- 
Martín Ferrari



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to