in reply to Small Corrupted Storable Retrieve Dies With an Invalid "Out of memory!"
On the subject of why the file gets corrupted, I recommend looking for file-locking bugs in the code that's calling Storable::store.
As it happens, I ran in to this same exact problem last week, and it hasn't recurred since I fixed my file locking mechanism to actually, you know, prevent concurrent writes. ;)
(My problems occurred using Perl 5.8.3 and Storable 2.13 on FreeBSD 4.10-STABLE, btw.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Small Corrupted Storable Retrieve Dies With an Invalid "Out of memory!"
by tachyon (Chancellor) on Oct 27, 2004 at 23:14 UTC |