Skip Menu |

This queue is for tickets about the DBM-Deep CPAN distribution.

Report information
The Basics
Id: 21007
Status: resolved
Priority: 0/
Queue: DBM-Deep

People
Owner: Nobody in particular
Requestors: mcrawfor [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.99_02
Fixed in: (no value)



Subject: Reproducable Crash in DBM::Deep::Engine::_length_needed
I am getting a crash: No such pseudo-hash field "fileobj" at /usr/local/share/perl/5.8.7/DBM/Deep.pm line 352. when attempting to "put" back an existing hash key after modifications. The hash is a deep data structure, see the dump below. This crash happens on the first put after adding the Epost::Model::Topic object to the Solstice::List. The data is looking like this right before the put: $VAR1 = bless( { '_persistence' => undef, '_ground_rules' => '', '_is_open' => '1', '_owner' => 'mcrawfor', '_name' => 'zzzzzzzzzzzzzz', '_topics' => bless( { '_list' => bless( [ bless( { '_name' => 'a', '_model_id' => '11556837910.89942831764357611556837910.6117191689270991155683791' }, 'EPost::Model::Topic' ) ], 'DBM::Deep::Array' ) }, 'Solstice::List' ), '_model_id' => 'EPost::Model::Forum-0.49330658330026-0.539615567532028-1155683783', '_create_date' => bless( { '_sec' => '20', '_day' => '15', '_hour' => '16', '_is_now' => '0', '_min' => '16', '_year' => '2006', '_month' => '8' }, 'Solstice::DateTime' ) }, 'EPost::Model::Forum' );
Dear god, RT murdered the readability on that dumper. Here it is as an attached file.
$VAR1 = bless( { '_persistence' => undef, '_ground_rules' => '', '_is_open' => '1', '_owner' => 'mcrawfor', '_name' => 'zzzzzzzzzzzzzz', '_topics' => bless( { '_list' => bless( [ bless( { '_name' => 'a', '_model_id' => '11556837910.89942831764357611556837910.6117191689270991155683791' }, 'EPost::Model::Topic' ) ], 'DBM::Deep::Array' ) }, 'Solstice::List' ), '_model_id' => 'EPost::Model::Forum-0.49330658330026-0.539615567532028-1155683783', '_create_date' => bless( { '_sec' => '20', '_day' => '15', '_hour' => '16', '_is_now' => '0', '_min' => '16', '_year' => '2006', '_month' => '8' }, 'Solstice::DateTime' ) }, 'EPost::Model::Forum' );
Arg. I'm having trouble distilling the crash down into less complex code so I can attach a test case. I'll try more when I have time. Hopefully you folks have some idea of what's going on from the info thus far.
From: RKINYON [...] cpan.org
On Wed Aug 16 15:31:26 2006, MCRAWFOR wrote: Show quoted text
> Arg. I'm having trouble distilling the crash down into less complex > code so I can attach a test case. I'll try more when I have time. > Hopefully you folks have some idea of what's going on from the info thus > far.
DBM::Deep 1.0000 has been released. See if you can't reproduce the crash on that version. If not, I'll go ahead and close the ticket. Thanks, Rob
No action taken since 1.x was released. Marked as fixed in 1.0003