develooper Front page | perl.perl5.porters | Postings from December 2011

[perl #24206] SDBM_File sometimes fails with "sdbm store() returned -1"

Thread Next
From:
James E Keenan via RT
Date:
December 1, 2011 18:06
Subject:
[perl #24206] SDBM_File sometimes fails with "sdbm store() returned -1"
Message ID:
rt-3.6.HEAD-5084-1322791587-1207.24206-15-0@perl.org
On Tue Oct 14 08:54:57 2003, shay wrote:
> 
> However, the above program always crashes with this error:
> 
>     sdbm store returned -1, errno 22, key "..."
> 
> at the point where i==1 and j==0.
> 

With the attached program 24206.pl, I was able to set how large a matrix
I wanted to try.  I had no problem at 127, but when I tried the OP's
suggested 255, my program got farther than his but ultimately died with
a similar error.

069 - 128
sdbm store returned -1, errno 22, key "E?" at 24206.pl line 25.

This was on Darwin (Mac OS X 10.4.11).

Does anyone have any insight into this?

Thank you very much.
Jim Keenan

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About