module. I found that this problem happens usually when you are trying to:
- read data unlocked, while another process trying to write data to shared memory at the same time and corrupted the shared memory. This happens a lot with arrays and hashes.
The work around is to lock the shared memory while reading and writing.