On Sat, Oct 08, 2005 at 12:32:05AM +0300, Niko Tyni wrote:
>Looks like a 'use overload' line in URI.pm from liburi-perl somehow
>causes the SIGSEGV. I have not investigated this further.

Thanks for the concise test-case Niko.

Unfortunately I've been unable to determine the cause as yet.  It seems
that this (a further abbreviation of your test case) fails:

 use overload ('""' => sub { ${$_[0]} });
 use AptPkg::Cache;
 my ($c, $p);
 sub apt_init
 {
     $c = AptPkg::Cache->new;
     $p = $c->packages;
 }
 apt_init;

however commenting out either the "use overload", or the "sub apt_init"
and "apt_init;" lines removes the problem.

Will keep looking.

--bod


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

Reply via email to