Subject: | DBIx::Class::Schema::txn_do(): Invalid wizard object |
NOTE: I get the exact same errors for 5.10.1, 5.12.4, and 5.14.2, on both 32 and 64 bit
builds on RHEL 5, Solaris 10 and AIX 6.
Building the latest DBIx-Class distro, against the latest CPAN dependencies, doesn't pass the
test suite. 3 of the tests fail with error similar to this one:
DBIx::Class::Schema::txn_do(): Invalid wizard object at /var/tmp/perl5-DBIx-Class-0.08195-
build001-build/x86-64.rhel.5/5\
.14/source/DBIx-Class-0.08195/blib/lib/DBIx/Class/ResultSet.pm line 2288. at t/52leaks.t
line 152
# Tests were run but no plan was declared and done_testing() was not seen.
t/52leaks.t ......................................
Dubious, test returned 255 (wstat 65280, 0xff00)
All 3 subtests passed
Additional debugging details can be found in the attachments, and since I can reproduce this
at will, I am happy to provide additional information.
Also, I can reproduce this with either Variable::Magic 0.46 or 0.45.
Subject: | debug_attempt.txt |
[efsops@shou18lesx4vm85 DBIx-Class-0.08195]$ perl -Mblib t/52leaks.t
ok 1 - use DBICTest;
ok 2 - we are connected
ok 3 - row from db
DBIx::Class::Schema::txn_do(): Invalid wizard object at /var/tmp/perl5-DBIx-Class-0.08195-build001-build/x86-64.rhel.5/5.14/source/DBIx-Class-0.08195/blib/lib/DBIx/Class/ResultSet.pm line 2288. at t/52leaks.t line 152
# Tests were run but no plan was declared and done_testing() was not seen.
[efsops@shou18lesx4vm85 DBIx-Class-0.08195]$ perl -Mblib -d t/52leaks.t
Loading DB routines from perl5db.pl version 1.33
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(t/52leaks.t:4): } if ($ENV{DBICTEST_IN_PERSISTENT_ENV});
DB<1> c
ok 1 - use DBICTest;
1 at /efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5/perl5db.pl line 7799.
# Tests were run but no plan was declared and done_testing() was not seen.
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<1> q
[efsops@shou18lesx4vm85 DBIx-Class-0.08195]$ perl -MCarp::Always -Mblib
t/52leaks.t
ok 1 - use DBICTest;
ok 2 - we are connected
ok 3 - row from db
DBIx::Class::Schema::txn_do(): Invalid wizard object at
/var/tmp/perl5-DBIx-Class-0.08195-build001-build/x86-64.rhel.5/5.14/source/DBIx-Class-0.08195/blib/lib/DBIx/Class/ResultSet.pm
line 2288
DBIx::Class::ResultSet::pager('DBICTest::BaseResultSet=HASH(0xbc42f08)')
called at t/52leaks.t line 147
main::__ANON__() called at
/var/tmp/perl5-DBIx-Class-0.08195-build001-build/x86-64.rhel.5/5.14/source/DBIx-Class-0.08195/blib/lib/DBIx/Class/Storage.pm
line 211
DBIx::Class::Storage::__ANON__() called at
/efs/dist/perl5/Try-Tiny/0.11/.exec/x86-64.rhel.5/5.14/lib/perl5/Try/Tiny.pm
line 71
eval {...} called at
/efs/dist/perl5/Try-Tiny/0.11/.exec/x86-64.rhel.5/5.14/lib/perl5/Try/Tiny.pm
line 67
Try::Tiny::try('CODE(0xbbf9fe8)', 'Try::Tiny::Catch=REF(0xbc36d30)',
'Try::Tiny::Finally=REF(0xb675d88)') called at
/var/tmp/perl5-DBIx-Class-0.08195-build001-build/x86-64.rhel.5/5.14/source/DBIx-Class-0.08195/blib/lib/DBIx/Class/Storage.pm
line 258
DBIx::Class::Storage::txn_do(undef, undef) called at
/var/tmp/perl5-DBIx-Class-0.08195-build001-build/x86-64.rhel.5/5.14/source/DBIx-Class-0.08195/blib/lib/DBIx/Class/Storage/DBI.pm
line 806
DBIx::Class::Storage::DBI::txn_do('DBIx::Class::Storage::DBI::SQLite=HASH(0xa8e83f0)',
'CODE(0xa8dec80)') called at
/var/tmp/perl5-DBIx-Class-0.08195-build001-build/x86-64.rhel.5/5.14/source/DBIx-Class-0.08195/blib/lib/DBIx/Class/Schema.pm
line 662
DBIx::Class::Schema::txn_do('DBICTest::Schema=HASH(0xa8e84f8)',
'CODE(0xa8dec80)') called at t/52leaks.t line 152 at t/52leaks.t line 152
# Tests were run but no plan was declared and done_testing() was not seen.
Subject: | perl-V.txt |
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
Platform:
osname=linux, osvers=2.6.18-194.32.1.el5, archname=x86_64-linux-thread-multi
uname='linux shou18lesx4vm85 2.6.18-194.32.1.el5 #1 smp mon dec 20 10:52:42 est 2010 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dcc=gcc -Duseshrplib -Dusethreads -Dusesitecustomize -Dnoextensions=BerkeleyDB,GDBM_File -Dlocincpth=/usr/include -Dloclibpth=/usr/lib -Dprefix=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5 -Darchlib=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5 -Darchlibexp=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5 -Dsitelib=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5 -Dsitelibexp=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5 -Dsitearch=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5 -Dsitearchexp=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5 -Dbin=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/bin -Dbinexp=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/bin -Dman1dir=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/man/man1 -Dman1direxp=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/man/man1 -Dman3dir=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/man/man3 -Dman3direxp=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/man/man3 -Dperlpath=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/bin/perl -Dprivlib=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5 -Dprivlibexp=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5 -Dscriptdir=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/bin -Dscriptdirexp=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/bin -Dinstallprefix=/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags=' -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='4.4.5', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -fstack-protector -L/usr/lib'
libpth= /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5/CORE'
cccdlflags='-fPIC', lddlflags=' -shared -O2 -L/usr/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API USE_SITECUSTOMIZE
Built under linux
Compiled at Oct 5 2011 10:29:33
%ENV:
PERL="/efs/dist/perl5/core/5.14/.exec/x86-64.rhel.5/bin/perl"
PERL5LIB="/var/tmp/perl5-DBIx-Class-0.08195-build001-build/x86-64.rhel.5/5.14/lib:/efs/dist/perl5/Class-Accessor-Grouped/0.10003/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Class-C3-Componentised/1.001000/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Class-Inspector/1.25/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Config-Any/0.23/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Context-Preserve/0.01/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/DBD-SQLite/1.33/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/DBI/1.616/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Data-Compare/1.22/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Data-Dumper-Concise/2.020/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Data-Page/2.02/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Hash-Merge/0.12/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/MRO-Compat/0.11/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Module-Find/0.10/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Package-Stash/0.33/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Path-Class/0.24/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/SQL-Abstract/1.72/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Scope-Guard/0.20/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Sub-Name/0.05/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Test-Exception/0.31/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Test-Warn/0.23/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Try-Tiny/0.11/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Variable-Magic/0.46/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/namespace-clean/0.21/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Class-Accessor-Chained/0.01/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Class-C3/0.23/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Clone/0.31/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Dist-CheckConflicts/0.02/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/File-Find-Rule/0.33/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Getopt-Long-Descriptive/0.090/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Package-DeprecationManager/0.11/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Sub-Uplevel/0.22/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Tree-DAG_Node/1.06/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Algorithm-C3/0.08/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Class-Accessor/0.34/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/List-MoreUtils/0.33/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Number-Compare/0.03/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Params-Util/1.04/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Params-Validate/1.00/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Sub-Exporter/0.982/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Sub-Install/0.925/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Text-Glob/0.09/.exec/x86-64.rhel.5/5.14/lib/perl5:/efs/dist/perl5/Data-OptList/0.107/.exec/x86-64.rhel.5/5.14/lib/perl5"
@INC:
/var/tmp/perl5-DBIx-Class-0.08195-build001-build/x86-64.rhel.5/5.14/lib
/efs/dist/perl5/Class-Accessor-Grouped/0.10003/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Class-C3-Componentised/1.001000/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Class-Inspector/1.25/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Config-Any/0.23/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Context-Preserve/0.01/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/DBD-SQLite/1.33/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/DBI/1.616/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Data-Compare/1.22/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Data-Dumper-Concise/2.020/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Data-Page/2.02/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Hash-Merge/0.12/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/MRO-Compat/0.11/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Module-Find/0.10/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Package-Stash/0.33/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Path-Class/0.24/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/SQL-Abstract/1.72/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Scope-Guard/0.20/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Sub-Name/0.05/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Test-Exception/0.31/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Test-Warn/0.23/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Try-Tiny/0.11/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Variable-Magic/0.46/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/namespace-clean/0.21/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Class-Accessor-Chained/0.01/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Class-C3/0.23/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Clone/0.31/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Dist-CheckConflicts/0.02/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/File-Find-Rule/0.33/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Getopt-Long-Descriptive/0.090/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Package-DeprecationManager/0.11/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Sub-Uplevel/0.22/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Tree-DAG_Node/1.06/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Algorithm-C3/0.08/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Class-Accessor/0.34/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/List-MoreUtils/0.33/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Number-Compare/0.03/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Params-Util/1.04/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Params-Validate/1.00/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Sub-Exporter/0.982/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Sub-Install/0.925/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Text-Glob/0.09/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/Data-OptList/0.107/.exec/x86-64.rhel.5/5.14/lib/perl5
/efs/dist/perl5/core/5.14.2-build002/.exec/x86-64.rhel.5/lib/perl5
.
Subject: | make_test.txt |
Message body is not shown because it is too large.