Some more comments from the user (he should probably modernize his whole stack 
but that's not the point here :)):

From our testing, somewhere $dbh gets overrun by something but we could not 
tell if it was in DBI/DBD::Pg/Apache::DBI or DBIx::HA. What we saw was that on 
attempt #1 and #2, it wouldn't fail but on attempt #3 $dbh was not pointing to 
a database handle anymore but a scalar reference to the letter 'n'. Very odd 
and something we couldn't track down who was stomping on $dbh.

Assertion error from swap_inner_handle:

'PERL_BACKTRACE' => '** Assertion i == (((((SV *) (name_av))->sv_flags & 
0x00800000)) ? Perl_mg_size(my_perl, (SV *) name_av) : ((XPVAV*) 
(name_av)->sv_any)->xav_fill)+1 failed: file "DBI.xs", line 2001

On Oct 21, 2012, at 3:12 PM, Henri Asseily <he...@asseily.com> wrote:

> Hey guys, I just received a patch by a contributor on DBIx::HA and he said 
> that $dbh->swap_inner_handle causes deep C assertion errors in DBI.
> 
> Has anyone seen such a behavior?
> Thanks.
> 
> ---
> Henri Asseily
> henri.tel

Reply via email to