[Dbix-class] Windows installation failure logs please
Peter Edwards
peter at dragonstaff.com
Wed Sep 6 10:43:31 CEST 2006
I hit a problem that was reported earlier using DBI on ActiveState perl on
Windows.
This is for a bug that causes errors like the following when using
DBIx::Class and SQLite on ActiveState 5.8.8:
"Attempt to free unreferenced scalar: SV 0x209d980, Perl interpreter:
0x224014 at C:/Perl/site/lib/SQL/Abstract/Limit.pm line 325."
To save others time I thought I'd mention that there's an open RT issue
against DBI:
http://rt.cpan.org/Public/Bug/Display.html?id=18117
It doesn't seem to be harmful, just annoying. Below is the stack trace.
Poking around with the debugger caused ASperl to segfault so I guess it's a
bust bit of XS code somewhere.
Regards, Peter
DB<1> T
$ = SQL::Abstract::Limit::_find_database_from_dbh(ref(DBIC::SQL::Abstract),
ref(DBI::db)) called from file `C:/Perl/site/lib/SQL/Abstract/Limit.pm' line
304
$ = SQL::Abstract::Limit::_find_syntax(ref(DBIC::SQL::Abstract),
ref(DBI::db)) called from file `C:/Perl/site/lib/SQL/Abstract/Limit.pm' line
172
@ = SQL::Abstract::Limit::select(ref(DBIC::SQL::Abstract), ref(ARRAY),
'me.id, me.name', undef, ref(ARRAY), -1) called from file
`C:/Perl/site/lib/DBIx/Class/Storage/DBI.pm' line 23
@ = DBIC::SQL::Abstract::select(ref(DBIC::SQL::Abstract), ref(ARRAY),
ref(ARRAY), undef, ref(ARRAY), undef, undef) called from file
`C:/Perl/site/lib/DBIx/Class/Storage/DBI.pm' line 446
@ =
DBIx::Class::Storage::DBI::_execute(ref(DBIx::Class::Storage::DBI::SQLite),'
select', undef, ref(ARRAY), ref(ARRAY), undef, ref(ARRAY), undef, undef)
called from file `C:/Perl/site/lib/DBIx/Class/Storage/DBI.pm' line 503
@ =
DBIx::Class::Storage::DBI::_select(ref(DBIx::Class::Storage::DBI::SQLite),
ref(ARRAY), ref(ARRAY), undef, ref(HASH)) called from file
`C:/Perl/site/lib/DBIx/Class/Storage/DBI/Cursor.pm' line 118
@ =
DBIx::Class::Storage::DBI::Cursor::all(ref(DBIx::Class::Storage::DBI::Cursor
)) called from file `C:/Perl/site/lib/DBIx/Class/ResultSet.pm' line 734
@ = DBIx::Class::ResultSet::all(ref(DBIx::Class::ResultSet)) called from
file `t2.pl' line 19
DB<1> s
Attempt to free unreferenced scalar: SV 0x25dfac4, Perl interpreter:
0x224014 at C:/Perl/site/lib/SQL/Abstract/Limit.pm line 326.
at C:/Perl/site/lib/SQL/Abstract/Limit.pm line 326
SQL::Abstract::Limit::_find_syntax('DBIC::SQL::Abstract=HASH(0x1fd7e38)',
'DBI::db=HASH(0x2311a60)') called at C:/Perl/site/lib/SQL/Abstract/Limit.pm
line 172
SQL::Abstract::Limit::select('DBIC::SQL::Abstract=HASH(0x1fd7e38)',
'ARRAY(0x20ee98c)', 'me.id, me.name', 'undef', 'ARRAY(0x25d4d2c)', -1)
called at C:/Perl/site/lib/DBIx/Class/Storage/DBI.pm line 23
DBIC::SQL::Abstract::select('DBIC::SQL::Abstract=HASH(0x1fd7e38)',
'ARRAY(0x20ee98c)', 'ARRAY(0x2311d18)', 'undef', 'ARRAY(0x25d4d2c)',
'undef', 'undef') called at C:/Perl/site/lib/DBIx/Class/Storage/DBI.pm line
446
DBIx::Class::Storage::DBI::_execute('DBIx::Class::Storage::DBI::SQLite=HASH(
0x212e80c)', 'select', 'undef', 'ARRAY(0x20ee98c)', 'ARRAY(0x2311d18)',
'undef', 'ARRAY(0x25d4d2c)', 'undef', 'undef', ...) called at
C:/Perl/site/lib/DBIx/Class/Storage/DBI.pm line 503
DBIx::Class::Storage::DBI::_select('DBIx::Class::Storage::DBI::SQLite=HASH(0
x212e80c)', 'ARRAY(0x20ee98c)', 'ARRAY(0x2311d18)', 'undef',
'HASH(0x25d48f4)') called at
C:/Perl/site/lib/DBIx/Class/Storage/DBI/Cursor.pm line 118
DBIx::Class::Storage::DBI::Cursor::all('DBIx::Class::Storage::DBI::Cursor=HA
SH(0x25d4900)') called at C:/Perl/site/lib/DBIx/Class/ResultSet.pm line 734
DBIx::Class::ResultSet::all('DBIx::Class::ResultSet=HASH(0x25b8054)') called
at t2.pl line 19
SQL::Abstract::Limit::_find_syntax(C:/Perl/site/lib/SQL/Abstract/Limit.pm:32
6):
326: return $self->_find_syntax_from_database($db) if $db;
DB<1> x $db
0 'SQLite'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/dbix-class/attachments/20060906/3033dd53/attachment-0001.htm
More information about the Dbix-class
mailing list