Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 38387
Status: resolved
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: tammer [...] tammer.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.606
  • 1.607
Fixed in: (no value)



Subject: Error msg in make test / Attempt to free unreferenced scalar: SV 0x30f79344 during global destruction.
Hello, am I getting the following errors during make test: Attempt to free unreferenced scalar: SV 0x30f79344 during global destruction. .... For details see the attached file. Please feel free to contact me for further details. Bye Rainer Tammer
Subject: DBI-error.txt

Message body is not shown because it is too large.

From: tammer [...] tammer.net
Hello, this is the verbose test result for test 35: t/zvg_35thrclone..........1..44 ok 1 - use DBI; ok 2 - ... assignment of neat_maxlen was successful ok 3 - The object isa DBI::db ok 4 - ... DBI::neat_maxlen still holding its value ok 5 - The object isa DBI::db ok 6 - ... new $dbh is not the same instance as $dbh_parent ok 7 - ... the Driver has one Kid ok 8 - ... DBI::neat_maxlen still holding its value ok 9 - The object isa DBI::db ok 10 - ... new $dbh is not the same instance as $dbh_parent ok 11 - ... the Driver has one Kid ok 12 - ... DBI::neat_maxlen still holding its value ok 13 - The object isa DBI::db ok 14 - ... new $dbh is not the same instance as $dbh_parent ok 15 - ... the Driver has one Kid ok 16 - ... DBI::neat_maxlen still holding its value ok 17 - The object isa DBI::db ok 18 - ... new $dbh is not the same instance as $dbh_parent ok 19 - ... the Driver has one Kid ok 20 - ... DBI::neat_maxlen still holding its value ok 21 - The object isa DBI::db ok 22 - ... new $dbh is not the same instance as $dbh_parent ok 23 - ... the Driver has one Kid ok 24 - ... DBI::neat_maxlen still holding its value ok 25 - The object isa DBI::db ok 26 - ... new $dbh is not the same instance as $dbh_parent ok 27 - ... the Driver has one Kid ok 28 - ... DBI::neat_maxlen still holding its value ok 29 - The object isa DBI::db ok 30 - ... new $dbh is not the same instance as $dbh_parent ok 31 - ... the Driver has one Kid ok 32 - ... DBI::neat_maxlen still holding its value ok 33 - The object isa DBI::db ok 34 - ... new $dbh is not the same instance as $dbh_parent ok 35 - ... the Driver has one Kid ok 36 - ... DBI::neat_maxlen still holding its value ok 37 - The object isa DBI::db ok 38 - ... new $dbh is not the same instance as $dbh_parent ok 39 - ... the Driver has one Kid ok 40 - ... DBI::neat_maxlen still holding its value ok 41 - The object isa DBI::db ok 42 - ... new $dbh is not the same instance as $dbh_parent ok 43 - ... the Driver has one Kid Attempt to free unreferenced scalar: SV 0x31b3c504 during global destruction. Attempt to free unreferenced scalar: SV 0x31acff34 during global destruction. ok 44 - ... all tests have passed Attempt to free unreferenced scalar: SV 0x318f9f64 during global destruction. Attempt to free unreferenced scalar: SV 0x3188dfe4 during global destruction. Attempt to free unreferenced scalar: SV 0x316b8f14 during global destruction. Attempt to free unreferenced scalar: SV 0x3164dab4 during global destruction. Attempt to free unreferenced scalar: SV 0x31478634 during global destruction. Attempt to free unreferenced scalar: SV 0x3140da14 during global destruction. Attempt to free unreferenced scalar: SV 0x31237a04 during global destruction. Attempt to free unreferenced scalar: SV 0x311ccd34 during global destruction. Attempt to free unreferenced scalar: SV 0x30ff6e14 during global destruction. Attempt to free unreferenced scalar: SV 0x30f8c104 during global destruction. Attempt to free unreferenced scalar: SV 0x30db5e34 during global destruction. Attempt to free unreferenced scalar: SV 0x30d4b294 during global destruction. Attempt to free unreferenced scalar: SV 0x30b75664 during global destruction. Attempt to free unreferenced scalar: SV 0x30b094c4 during global destruction. Attempt to free unreferenced scalar: SV 0x30932ac4 during global destruction. Attempt to free unreferenced scalar: SV 0x308b5844 during global destruction. Attempt to free unreferenced scalar: SV 0x306d1d34 during global destruction. Attempt to free unreferenced scalar: SV 0x305f05e4 during global destruction. ok Bye RAiner
From: tammer [...] tammer.net
Hello, After the installation of the new threads 1.71 package the error becomes clearer: # make test TEST_VERBOSE=1 TEST_FILES=t/zvg_35thrclone.t PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/zvg_35thrclone.t t/zvg_35thrclone....1..44 ok 1 - use DBI; ok 2 - ... assignment of neat_maxlen was successful ok 3 - The object isa DBI::db ok 4 - ... DBI::neat_maxlen still holding its value ok 5 - The object isa DBI::db ok 6 - ... new $dbh is not the same instance as $dbh_parent ok 7 - ... the Driver has one Kid ok 8 - ... DBI::neat_maxlen still holding its value ok 9 - The object isa DBI::db ok 10 - ... new $dbh is not the same instance as $dbh_parent ok 11 - ... the Driver has one Kid ok 12 - ... DBI::neat_maxlen still holding its value ok 13 - The object isa DBI::db ok 14 - ... new $dbh is not the same instance as $dbh_parent ok 15 - ... the Driver has one Kid ok 16 - ... DBI::neat_maxlen still holding its value ok 17 - The object isa DBI::db ok 18 - ... new $dbh is not the same instance as $dbh_parent ok 19 - ... the Driver has one Kid ok 20 - ... DBI::neat_maxlen still holding its value ok 21 - The object isa DBI::db ok 22 - ... new $dbh is not the same instance as $dbh_parent ok 23 - ... the Driver has one Kid ok 24 - ... DBI::neat_maxlen still holding its value ok 25 - The object isa DBI::db ok 26 - ... new $dbh is not the same instance as $dbh_parent ok 27 - ... the Driver has one Kid ok 28 - ... DBI::neat_maxlen still holding its value ok 29 - The object isa DBI::db ok 30 - ... new $dbh is not the same instance as $dbh_parent ok 31 - ... the Driver has one Kid ok 32 - ... DBI::neat_maxlen still holding its value ok 33 - The object isa DBI::db ok 34 - ... new $dbh is not the same instance as $dbh_parent ok 35 - ... the Driver has one Kid ok 36 - ... DBI::neat_maxlen still holding its value ok 37 - The object isa DBI::db ok 38 - ... new $dbh is not the same instance as $dbh_parent ok 39 - ... the Driver has one Kid Attempt to free unreferenced scalar: SV 0x306d718c during global destruction. Attempt to free unreferenced scalar: SV 0x305f5a1c during global destruction. Attempt to free unreferenced scalar: SV 0x3093a39c during global destruction. Attempt to free unreferenced scalar: SV 0x308beecc during global destruction. Attempt to free unreferenced scalar: SV 0x30b7f3bc during global destruction. Attempt to free unreferenced scalar: SV 0x30b14d4c during global destruction. Attempt to free unreferenced scalar: SV 0x30dc200c during global destruction. Attempt to free unreferenced scalar: SV 0x30d584ec during global destruction. Attempt to free unreferenced scalar: SV 0x3100546c during global destruction. Attempt to free unreferenced scalar: SV 0x30f9b6ec during global destruction. Attempt to free unreferenced scalar: SV 0x312484dc during global destruction. Attempt to free unreferenced scalar: SV 0x311de2bc during global destruction. Attempt to free unreferenced scalar: SV 0x3148b58c during global destruction. Attempt to free unreferenced scalar: SV 0x3142006c during global destruction. Attempt to free unreferenced scalar: SV 0x316ce2ec during global destruction. Attempt to free unreferenced scalar: SV 0x3166317c during global destruction. Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBD/Gofer.pm line 163. Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBD/Gofer.pm line 194. Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBD/Gofer.pm line 196. ok 40 - ... DBI::neat_maxlen still holding its value Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBD/Gofer.pm line 306. Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBI.pm line 690. Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBI.pm line 690. Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBI.pm line 690. Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBI.pm line 690. Attempt to free unreferenced scalar: SV 0xf048d618 at /daten/source/perl/modules/DBI-1.607/blib/lib/DBI.pm line 690. ok 41 - The object isa DBI::db ok 42 - ... new $dbh is not the same instance as $dbh_parent ok 43 - ... the Driver has one Kid Attempt to free unreferenced scalar: SV 0x319117bc during global destruction. Attempt to free unreferenced scalar: SV 0x318a6a1c during global destruction. Attempt to free unreferenced scalar: SV 0x31b561dc during global destruction. Attempt to free unreferenced scalar: SV 0x31aea00c during global destruction. ok 44 - ... all tests have passed ok All tests successful. Files=1, Tests=44, 27 wallclock secs (23.65 cusr + 0.40 csys = 24.05 CPU) PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl test.pl DBI test application $Revision: 11566 $ Switch: DBI 1.607 by Tim Bunce, 1.607 Available Drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, Sponge, mysql dbi:ExampleP:: testing 3 sets of 20 connections: Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... connect 20 and disconnect them, 3 times: 0.0295s / 60 = 0.0005s Testing handle creation speed... 5509 NullP sth/s perl 5.008002 aix-thread-multi (cc_r 5.0.2.0 -O) 0.000181s test.pl done Target "test" is up to date. Bye Rainer
From: tammer [...] tammer.net
Hello, I think that I have found the problem. The system Perl on AIX is 5.8.2 and unfortunately this version is a bit buggy. If you use Perl 5.8.8 instead then the tests will run without the "scalar problem". Bye Rainer
Thanks for the update. I'll code the ticket now.