Bug 63233 - p5-DBD-SQLite 0.31 is broken with perl 5.8
Summary: p5-DBD-SQLite 0.31 is broken with perl 5.8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Norikatsu Shigemura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 18:30 UTC by sec
Modified: 2004-06-11 15:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sec 2004-02-22 18:30:12 UTC
After upgrading to version 0.31 of this port, my scripts started to spew
messages like this:

Bad free() ignored (PERL_CORE) at t.pl line 14.

Otherwise they seemed to run correctly.

Fix: 

Workaround: downgrade to DBD-SQLite-0.30
How-To-Repeat: 
My simple test script was:

#!/usr/local/bin/perl -w
#
# vim:set ts=4 sw=4:

use DBI;
$|=1;

my $db="/usr/local/SELF/tv/tv.db";
my $dbh=DBI->connect("DBI:SQLite:dbname=$db","","");

my $sth=$dbh->prepare("select senderid, senderkey from sender");
$sth->execute();

my $ref;
while($ref = $sth->fetchrow_arrayref){
	print "got line\n";
};

It takes a table with more than ~ 6 rows to show that problem.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-02-23 00:05:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nork

Over to maintainer.
Comment 2 Norikatsu Shigemura freebsd_committer freebsd_triage 2004-03-02 11:16:34 UTC
State Changed
From-To: open->feedback

I checked to make test on p5-DBD-Pg 0.31.  It looks good. 
Is there a promblem on make test? 
I think you should contact to developper, 'Matt Sergeant 
msergeant@messagelabs.com' or Mailling List. 
SEE ALSO: http://www.sqlite.org/
Comment 3 Norikatsu Shigemura freebsd_committer freebsd_triage 2004-04-20 14:36:14 UTC
State Changed
From-To: feedback->closed

Submitter no response.
Comment 4 Norikatsu Shigemura freebsd_committer freebsd_triage 2004-04-22 02:42:07 UTC
State Changed
From-To: closed->feedback

Submitter requested.
Comment 5 Norikatsu Shigemura freebsd_committer freebsd_triage 2004-06-11 15:23:24 UTC
State Changed
From-To: feedback->closed

Fixed, thanks!