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

Brandon Black blblack at gmail.com
Tue Oct 10 15:32:28 CEST 2006


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.
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.

http://rt.cpan.org/Public/Bug/Display.html?id!472
http://rt.cpan.org/Public/Bug/Display.html?id!406

-- Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/dbix-class/attachments/20061010/b14b22f8/attachment.htm 


More information about the Dbix-class mailing list