Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 320015

Summary: dev-lang/perl-5.10.1: "panic: sv_len_utf8 cache" printing data from dev-perl/DBI-1.611 fetchrow_arrayref using dev-perl/DBD-mysql-4.01.4
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Demo script

Description Martin von Gagern 2010-05-16 17:52:19 UTC
Executing attached script will cause perl to panic, i.e. print a message and abort execution:

panic: sv_len_utf8 cache 3 real 11 for bаr and bāz at <FILENAME> line 33.

The script will require the following setup:
* dev-perl/DBD-mysql installed
* some mysql server up and running, might be remote
* a database "test" on that server, which I guess many default setups have
* credentials for accessing that server saved in your ~/.my.cnf

So far I've failed to reproduce this without DBI, or with different database backend drivers like dev-perl/DBD-SQLite-1.29-r2. Might well be specific to the mysql perl driver implementation.

As the subject might get adjusted in the long run, here is my config:
* dev-lang/perl-5.10.1
* dev-perl/DBI-1.611
* dev-perl/DBD-mysql-4.01.4
Comment 1 Martin von Gagern 2010-05-16 17:53:33 UTC
Created attachment 231703 [details]
Demo script

This script should demonstrate the issue. Let me know if it doesn't for you.
Comment 2 Martin von Gagern 2010-05-29 11:17:39 UTC
Perhaps https://rt.cpan.org/Public/Bug/Display.html?id=53130 is related to this here. Unfortunately no fix available there yet.
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-12-30 18:05:49 UTC
This bug OBSOLETE for now.

dev-perl/DBI-1.611 - no longer in the tree
dev-lang/perl-5.10 - masked for removal.