Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 33308
Status: resolved
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: ambs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.08009
Fixed in: 0.08012



Subject: t/33storage_reconnect.t failing
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 823
Download (untitled) / with headers
text/plain 823b
t/33storage_reconnect.t is failing on my perl 5.10 on Arch Linux: [root@catalyst DBIx-Class-0.08009]# prove -b -v t/33storage_reconnect.t t/33storage_reconnect...... 1..5 ok 1 - Three artists returned DBI::db=HASH(0x8837640)->disconnect invalidates 22 active statement handles (either destroy statement handles or call finish on them before disconnecting) at t/33storage_reconnect.t line 23. closing dbh with active statement handles at t/33storage_reconnect.t line 23. ok 2 - Three artists returned Failed 3/5 subtests Test Summary Report ------------------- t/33storage_reconnect.t (Wstat: 11 Tests: 2 Failed: 0) Parse errors: Bad plan. You planned 5 tests but ran 2. Files=1, Tests=2, 0 wallclock secs ( 0.00 usr 0.00 sys + 0.20 cusr 0.04 csys = 0.24 CPU) Result: FAIL [root@catalyst DBIx-Class-0.08009]#
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-28613-1205177940-1261.33308-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: ntyni [...] iki.fi
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 986
Download (untitled) / with headers
text/plain 986b
On Sat Feb 16 16:26:13 2008, AMBS wrote: Show quoted text
> t/33storage_reconnect.t is failing on my perl 5.10 on Arch Linux: > > > [root@catalyst DBIx-Class-0.08009]# prove -b -v t/33storage_reconnect.t > t/33storage_reconnect...... > 1..5 > ok 1 - Three artists returned > DBI::db=HASH(0x8837640)->disconnect invalidates 22 active statement > handles (either destroy statement handles or call finish on them before > disconnecting) at t/33storage_reconnect.t line 23. > closing dbh with active statement handles at t/33storage_reconnect.t > line 23. > ok 2 - Three artists returned > Failed 3/5 subtests
This is caused by a long-standing bug in DBD-SQLite (tickets #30558 and #32100) that has become worse with SQLite 3.5, causing a segmentation fault here too. There's a fix outlined in those tickets that we have just applied into the Debian DBD-SQLite package. FWIW, this is also Debian bug #470272, http://bugs.debian.org/470272 . Cheers, -- Niko Tyni (Debian Perl Group) ntyni@debian.org
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.5 required=8.0 tests=BAYES_00,RDNS_NONE
In-Reply-To: <rt-3.6.HEAD-28613-1205177940-1261.33308-5-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-33308 [...] rt.cpan.org> <rt-3.6.HEAD-28613-1205177940-1261.33308-5-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 4AFA54D80F8 for <bug-DBIx-Class [...] rt.cpan.org>; Tue, 11 Mar 2008 00:10:41 -0400 (EDT)
Received: (qmail 31685 invoked from network); 11 Mar 2008 04:10:37 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Mar 2008 04:10:37 -0000
Received: from Unknown (HELO agaton.scsys.co.uk) (217.168.150.167) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Mar 2008 21:10:28 -0700
Received: from matthewt by agaton.scsys.co.uk with local (Exim 4.60) (envelope-from <mst [...] shadowcat.co.uk>) id 1JYvok-0002Aa-MJ for bug-DBIx-Class [...] rt.cpan.org; Tue, 11 Mar 2008 04:10:22 +0000
Delivered-To: cpan-bug+DBIx-Class [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #33308] t/33storage_reconnect.t failing
User-Agent: Mutt/1.5.11
Return-Path: <mst [...] shadowcat.co.uk>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-DBIx-Class [...] rt.cpan.org
Date: Tue, 11 Mar 2008 04:10:22 +0000
X-Spam-Level: *
Message-Id: <20080311041022.GG6759 [...] agaton.scsys.co.uk>
To: "ntyni [...] iki.fi via RT" <bug-DBIx-Class [...] rt.cpan.org>
From: Matt S Trout <mst [...] shadowcat.co.uk>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-24358-1205208775-1777.33308-0-0 [...] rt.cpan.org>
Content-Length: 1634
Download (untitled) / with headers
text/plain 1.5k
On Mon, Mar 10, 2008 at 03:39:06PM -0400, ntyni@iki.fi via RT wrote: Show quoted text
> > Queue: DBIx-Class > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=33308 > > > On Sat Feb 16 16:26:13 2008, AMBS wrote:
> > t/33storage_reconnect.t is failing on my perl 5.10 on Arch Linux: > > > > > > [root@catalyst DBIx-Class-0.08009]# prove -b -v t/33storage_reconnect.t > > t/33storage_reconnect...... > > 1..5 > > ok 1 - Three artists returned > > DBI::db=HASH(0x8837640)->disconnect invalidates 22 active statement > > handles (either destroy statement handles or call finish on them before > > disconnecting) at t/33storage_reconnect.t line 23. > > closing dbh with active statement handles at t/33storage_reconnect.t > > line 23. > > ok 2 - Three artists returned > > Failed 3/5 subtests
> > This is caused by a long-standing bug in DBD-SQLite (tickets #30558 and > #32100) that has become worse with SQLite 3.5, causing a segmentation > fault here too. There's a fix outlined in those tickets that we have > just applied into the Debian DBD-SQLite package.
Could you comment to that effect in the DBD-SQLite queue, please? I get the feeling the patch went unapplied because the author hasn't had time to fully audit it so maybe the fact you've been able to apply and smoke test it will help push a fix upstream. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director http://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-29719-1234704235-1589.33308-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 292
Download (untitled) / with headers
text/plain 292b
The test suite now goes to greater lengths to diagnose and warn about a broken DBD::SQLite library. Although the mechanism is not perfect, it at least shows more information to the user. Also note that this is just a fix to properly warn about the problem - DBD::SQLite still needs upgrading.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.