Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: Frode.thue.Lie2dnv.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Total crash DBI under Test::More ActiveState WinXp
When running tests with Test::More with DBI against ODBC, MS Access under WinXp activeState v5.8.6 I get "Attempt to free unreferenced scalar", and an MSWindows Debug-message. I.e. Perl crashes completely. After severlal hours with split and conquer debugging, I finally found the source to the problem. Any early access to $sth->{NAME_hash} or $sth->{NAME_uc_hash} or $sth->{NAME_lc_hash} (after prepare) will result in a total crash at an arbitrarily location in a later part of the program . Probably when Perl initiates some carbage collection(?). Looks maybe like some Garbage Collection, Weak/Circular Reference issue, but that is unfortunately beyond my capacity...
You have not stated which version you are using. I've just released 1.49 but a similar sounding problem was fixed in previous releases. Tim. Show quoted text
> When running tests with Test::More with DBI against ODBC, MS Access > under WinXp activeState v5.8.6 I get > "Attempt to free unreferenced scalar", and an MSWindows Debug-message. > I.e. Perl crashes completely. > > After severlal hours with split and conquer debugging, I finally found > the source to the problem. > > Any early access to $sth->{NAME_hash} or $sth->{NAME_uc_hash} or $sth-
> >{NAME_lc_hash} (after prepare) will result in a total crash at an
> arbitrarily location in a later part of the program . Probably when > Perl initiates some carbage collection(?). > > Looks maybe like some Garbage Collection, Weak/Circular Reference > issue, but that is unfortunately beyond my capacity...
Running 1.48 (1.49 is not available as ppm yet, i guess it will in a few days) Test::Simple is 0.62 [TIMB - Wed Nov 30 11:36:33 2005]: Show quoted text
> You have not stated which version you are using. > I've just released 1.49 but a similar sounding problem was fixed in > previous releases. >
I've resolved the ticket for now. Please reply only if you still have the problem with DBI 1.50. Thanks.