Subject: | Memleak test fails on 5.14.3, 5.12.4, probably others |
rabbit@Thesaurus:~/devel/dbd_fb$ perl Makefile.PL && MEMORY_TEST=1
DBI_PASS=123 make test
Configuring DBD::Firebird (on linux)
FIREBIRD_HOME : /usr
FIREBIRD_INCLUDE: /usr/include
FIREBIRD_LIB : /usr/lib
Client library : fbclient
Using DBI 1.622 (for perl 5.012004 on x86_64-linux-thread-multi)
installed in
/home/rabbit/perl5/perlbrew/perls/5.12.4/lib/site_perl/5.12.4/x86_64-linux-thread-multi/auto/DBI/
libfbembed not found, building of DBD::FirebirdEmbed skipped.
Writing Makefile for DBD::Firebird
Writing MYMETA.yml and MYMETA.json
Please, set at least DBI_PASS (or ISC_PASSWORD), before 'make test'.
The default for DBI_USER is 'SYSDBA'.
Skip blib/lib/DBD/Firebird/TableInfo.pm (unchanged)
Skip blib/lib/DBD/Firebird.pm (unchanged)
Skip blib/lib/DBD/Firebird/TypeInfo.pm (unchanged)
Skip blib/lib/DBD/Firebird/TableInfo/Basic.pm (unchanged)
Skip blib/lib/DBD/Firebird/TableInfo/Firebird21.pm (unchanged)
Skip blib/lib/DBD/Firebird/GetInfo.pm (unchanged)
cc -c -I"/usr/include"
-I"/home/rabbit/perl5/perlbrew/perls/5.12.4/lib/site_perl/5.12.4/x86_64-linux-thread-multi/auto/DBI"
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.11\" -DXS_VERSION=\"1.11\" -fPIC
"-I/home/rabbit/perl5/perlbrew/perls/5.12.4/lib/5.12.4/x86_64-linux-thread-multi/CORE"
Firebird.c
cc -c -I"/usr/include"
-I"/home/rabbit/perl5/perlbrew/perls/5.12.4/lib/site_perl/5.12.4/x86_64-linux-thread-multi/auto/DBI"
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.11\" -DXS_VERSION=\"1.11\" -fPIC
"-I/home/rabbit/perl5/perlbrew/perls/5.12.4/lib/5.12.4/x86_64-linux-thread-multi/CORE"
dbdimp.c
Running Mkbootstrap for DBD::Firebird ()
chmod 644 Firebird.bs
rm -f blib/arch/auto/DBD/Firebird/Firebird.so
LD_RUN_PATH="/usr/lib/i386-linux-gnu" cc -shared -O2 -L/usr/local/lib
-fstack-protector Firebird.o dbdimp.o -o
blib/arch/auto/DBD/Firebird/Firebird.so \
-L/usr/lib -lfbclient \
chmod 755 blib/arch/auto/DBD/Firebird/Firebird.so
cp Firebird.bs blib/arch/auto/DBD/Firebird/Firebird.bs
chmod 644 blib/arch/auto/DBD/Firebird/Firebird.bs
PERL_DL_NONLAZY=1 /home/rabbit/perl5/perlbrew/perls/5.12.4/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/00-base.t ............... ok
t/01-connect.t ............ # Creating test database at
localhost:/tmp/dbd-fb-testdb.fdb
t/01-connect.t ............ ok
t/02-ib_embedded.t ........ ok
t/20-createdrop.t ......... ok
t/30-insertfetch.t ........ ok
t/31-prepare_cached.t ..... ok
t/40-alltypes.t ........... ok
t/41-bindparam.t .......... ok
t/42-blobs.t .............. ok
t/43-cursor.t ............. ok
t/44-cursoron.t ........... ok
t/45-datetime.t ........... ok
t/46-listfields.t ......... ok
t/47-nulls.t .............. ok
t/48-numeric.t ............ ok
t/49-scale.t .............. ok
t/50-chopblanks.t ......... ok
t/51-commit.t ............. ok
t/60-leaks.t .............. 121/314 LEAK! : 132 kB
# Failed test 'f_a 1299'
# at t/60-leaks.t line 143.
LEAK! : -4 kB
# Failed test 'f_a 1399'
# at t/60-leaks.t line 143.
t/60-leaks.t .............. 207/314
# Failed test 'Memory leak test in fetchrow_arrayref'
# at t/60-leaks.t line 146.
t/60-leaks.t .............. 309/314 # Looks like you failed 3 tests of 314.
t/60-leaks.t .............. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/314 subtests
t/61-settx.t .............. ok
t/62-timeout.t ............ ok
t/70-nested-sth.t ......... ok
t/75-utf8.t ............... ok
t/80-event-ithreads.t ..... ok
t/81-event-fork.t ......... ok
t/90-dbinfo.t ............. ok
t/91-txinfo.t ............. ok
t/92-bigdecimal_read.t .... ok
t/93-bigdecimal.t ......... ok
t/94-biginteger_read.t .... ok
t/95-biginteger.t ......... ok
t/dbi-primary_key_info.t .. ok
t/dbi-rowcount.t .......... ok
t/dbi-table_info.t ........ ok
t/dbi-tables.t ............ ok
t/rt49896.t ............... ok
t/rt54561.t ............... ok
t/rt55244.t ............... ok
t/rt72946.t ............... ok
t/rt76506.t ............... 1/12 # >>TEST <<
t/rt76506.t ............... ok
t/zz-cleanup.t ............ 1/2 # Test database dropped
t/zz-cleanup.t ............ ok
Test Summary Report
-------------------
t/60-leaks.t (Wstat: 768 Tests: 314 Failed: 3)
Failed tests: 123-124, 211
Non-zero exit status: 3
Files=41, Tests=1312, 128 wallclock secs ( 0.44 usr 0.04 sys + 11.36
cusr 2.96 csys = 14.80 CPU)
Result: FAIL
Failed 1/41 test programs. 3/1312 subtests failed.
make: *** [test_dynamic] Error 255
rabbit@Thesaurus:~/devel/dbd_fb$ perl Makefile.PL && MEMORY_TEST=1
DBI_PASS=123 make test
Configuring DBD::Firebird (on linux)
FIREBIRD_HOME : /usr
FIREBIRD_INCLUDE: /usr/include
FIREBIRD_LIB : /usr/lib
Client library : fbclient
Using DBI 1.622 (for perl 5.014003 on x86_64-linux-thread-multi)
installed in
/home/rabbit/perl5/perlbrew/perls/5.14.3/lib/site_perl/5.14.3/x86_64-linux-thread-multi/auto/DBI/
libfbembed not found, building of DBD::FirebirdEmbed skipped.
Writing Makefile for DBD::Firebird
Writing MYMETA.yml and MYMETA.json
Please, set at least DBI_PASS (or ISC_PASSWORD), before 'make test'.
The default for DBI_USER is 'SYSDBA'.
Skip blib/lib/DBD/Firebird/TableInfo.pm (unchanged)
Skip blib/lib/DBD/Firebird.pm (unchanged)
Skip blib/lib/DBD/Firebird/TypeInfo.pm (unchanged)
Skip blib/lib/DBD/Firebird/TableInfo/Basic.pm (unchanged)
Skip blib/lib/DBD/Firebird/TableInfo/Firebird21.pm (unchanged)
Skip blib/lib/DBD/Firebird/GetInfo.pm (unchanged)
cc -c -I"/usr/include"
-I"/home/rabbit/perl5/perlbrew/perls/5.14.3/lib/site_perl/5.14.3/x86_64-linux-thread-multi/auto/DBI"
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.11\" -DXS_VERSION=\"1.11\" -fPIC
"-I/home/rabbit/perl5/perlbrew/perls/5.14.3/lib/5.14.3/x86_64-linux-thread-multi/CORE"
Firebird.c
cc -c -I"/usr/include"
-I"/home/rabbit/perl5/perlbrew/perls/5.14.3/lib/site_perl/5.14.3/x86_64-linux-thread-multi/auto/DBI"
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.11\" -DXS_VERSION=\"1.11\" -fPIC
"-I/home/rabbit/perl5/perlbrew/perls/5.14.3/lib/5.14.3/x86_64-linux-thread-multi/CORE"
dbdimp.c
Running Mkbootstrap for DBD::Firebird ()
chmod 644 Firebird.bs
rm -f blib/arch/auto/DBD/Firebird/Firebird.so
LD_RUN_PATH="/usr/lib/i386-linux-gnu" cc -shared -O2 -L/usr/local/lib
-fstack-protector Firebird.o dbdimp.o -o
blib/arch/auto/DBD/Firebird/Firebird.so \
-L/usr/lib -lfbclient \
chmod 755 blib/arch/auto/DBD/Firebird/Firebird.so
cp Firebird.bs blib/arch/auto/DBD/Firebird/Firebird.bs
chmod 644 blib/arch/auto/DBD/Firebird/Firebird.bs
PERL_DL_NONLAZY=1 /home/rabbit/perl5/perlbrew/perls/5.14.3/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/00-base.t ............... ok
t/01-connect.t ............ # Creating test database at
localhost:/tmp/dbd-fb-testdb.fdb
t/01-connect.t ............ ok
t/02-ib_embedded.t ........ ok
t/20-createdrop.t ......... ok
t/30-insertfetch.t ........ ok
t/31-prepare_cached.t ..... ok
t/40-alltypes.t ........... ok
t/41-bindparam.t .......... ok
t/42-blobs.t .............. ok
t/43-cursor.t ............. ok
t/44-cursoron.t ........... ok
t/45-datetime.t ........... ok
t/46-listfields.t ......... ok
t/47-nulls.t .............. ok
t/48-numeric.t ............ ok
t/49-scale.t .............. ok
t/50-chopblanks.t ......... ok
t/51-commit.t ............. ok
t/60-leaks.t .............. 242/314 LEAK! : 132 kB
# Failed test 'f_h 3499'
# at t/60-leaks.t line 163.
LEAK! : -8 kB
# Failed test 'f_h 3599'
# at t/60-leaks.t line 163.
t/60-leaks.t .............. 308/314
# Failed test 'Memory leak test in fetchrow_hashref'
# at t/60-leaks.t line 166.
# Looks like you failed 3 tests of 314.
t/60-leaks.t .............. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/314 subtests
t/61-settx.t .............. ok
t/62-timeout.t ............ ok
t/70-nested-sth.t ......... ok
t/75-utf8.t ............... ok
t/80-event-ithreads.t ..... ok
t/81-event-fork.t ......... ok
t/90-dbinfo.t ............. ok
t/91-txinfo.t ............. ok
t/92-bigdecimal_read.t .... ok
t/93-bigdecimal.t ......... ok
t/94-biginteger_read.t .... ok
t/95-biginteger.t ......... ok
t/dbi-primary_key_info.t .. ok
t/dbi-rowcount.t .......... ok
t/dbi-table_info.t ........ ok
t/dbi-tables.t ............ ok
t/rt49896.t ............... ok
t/rt54561.t ............... ok
t/rt55244.t ............... ok
t/rt72946.t ............... ok
t/rt76506.t ............... 3/12 # >>TEST <<
t/rt76506.t ............... ok
t/zz-cleanup.t ............ 1/2 # Test database dropped
t/zz-cleanup.t ............ ok
Test Summary Report
-------------------
t/60-leaks.t (Wstat: 768 Tests: 314 Failed: 3)
Failed tests: 246-247, 312
Non-zero exit status: 3
Files=41, Tests=1312, 142 wallclock secs ( 0.46 usr 0.04 sys + 9.86
cusr 2.60 csys = 12.96 CPU)
Result: FAIL
Failed 1/41 test programs. 3/1312 subtests failed.
make: *** [test_dynamic] Error 255