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
Created attachment 231703 [details] Demo script This script should demonstrate the issue. Let me know if it doesn't for you.
Perhaps https://rt.cpan.org/Public/Bug/Display.html?id=53130 is related to this here. Unfortunately no fix available there yet.
This bug OBSOLETE for now. dev-perl/DBI-1.611 - no longer in the tree dev-lang/perl-5.10 - masked for removal.