[Dbix-class] DBD::SQLite 1.13 segfaulting with DBIC, but not with simple DBI

Stephan Brunner stephan.brunner at gmx.de
Tue Oct 10 21:00:01 CEST 2006


Hi Brandon,

Am Dienstag 10 Oktober 2006 15:32 schrieb Brandon Black:
> On 10/9/06, Stephan Brunner <stephan.brunner at gmx.de> wrote:
> > (Maybe my mail has been overlooked because I unintentionally replied to
> > the "Prefetching multiple has_many relationships" thread. I dare to post
> > it
> > again.)
> >
> > Hi all,
> >
> > there's some details / history to this issue at
> > http://www.mail-archive.com/sqlite-users%40sqlite.org/msg18725.html
> >
> > Basline: My app (using DBIC 0.07002, DBD::SQLite 1.13, Perl 5.8.7 on
> > kubuntu
> > 6.06) is sometimes segfaulting when I repeatedly cause an exception in
> > the database (e.g. via invalid inserts).
> > I tracked down the issue to a minimum sample script (see below for sample
> > with
> > DBIC; see discussion above for sample with CDBI).
> >
> > The thing is: the segfault occurs when using DBIC or CDBI, but not if I'm
> > using plain DBI. I'm not deep enought into this stuff to know what DBIC
> > and
> > CDBI do different than plain DBI...
> >
> > The other thing is: It happens with DBD::SQLite 1.13, but not with
> > 1.12nor 1.11.
>
> DBD::SQLite 1.13 is likely at fault.  All of us have had strange test
> failure and whatnot with it, and downgrading to 1.12 is the fix for now.

Ok, I'm somehow "happy" (?) I'm not the only one experiencing problems (at 
least it helps me in believing that I am not doing something wrong).

> There are two bugs filed against 1.13 on rt.cpan.org that you can read.  In
> the one by John Siracusa, Matt has replied saying he fixed the bug on Sep
> 19th, but there hasn't been a release to CPAN since then.

I tried it with CVS as of 2006-10-06 23:50, but it still segfaulted (Matt 
knows about it).

Thanks so far,
Stephan



More information about the Dbix-class mailing list