Problems? Is your data what you think it is? | |
PerlMonks |
Storable dumping coreby Random_Walk (Prior) |
on May 01, 2015 at 15:35 UTC ( [id://1125369]=perlquestion: print w/replies, xml ) | Need Help?? |
Random_Walk has asked for the wisdom of the Perl Monks concerning the following question: Good Day Fair Monks, My code runs every five minutes, and will happily store about 5 samples, then it throws the above and dumps core. The store file is zero bytes after that event. When things are good I see these details.
The amount of data is not massive, It currently has 5 records in there, and is 2026 Bytes. The Data I am storing is a hash/array structure, 5 levels at its deepest. I'm using lock_store and lock_retrieve to get at it, as the script runs on a schedule, as well as me running it every so often for development and debug. The script uses a file lock to guard against multiple runs anyway. I just added the lock_ versions when I hit this error. Did not help. It is only being accessed on the one machine, with the one version of Perl Any ideas what could be wrong. The code is long and complex. So building a small test case will be a rather long winded process. If there are any known gotchas with Storable I would love a pointer. UpdateAll the code is massive. But here are my retrieve and store routines
Cheers,
Pereant, qui ante nos nostra dixerunt!
Back to
Seekers of Perl Wisdom
|
|