On 10/9/06, Stephan Brunner <[EMAIL PROTECTED]> 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.12 nor
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=21472
http://rt.cpan.org/Public/Bug/Display.html?id=21406

-- Brandon


_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to