# New Ticket Created by "Clinton A. Pierce"
# Please include the string: [netlabs #612]
# in the subject line of all future correspondence about this issue.
# <URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=612 >
In converting BASIC to use hashes, I discovered that once in a great while
the OS will throw the error:
The exception Integer division by zero (0xc0000094) occured in the
applicaiton at location 0x00417fce
The cause is retrieving a key that does not yet exist in the hash. This is
probably not the right thing to do. In fact, I'm convinced, that a few
days ago the value 0 would have been retrieved. (Without "exists" I'm
kinda groping around here...)
Going into MSVC's debugger, the statement that it doesn't like is:
return find_bucket(interpreter, chain, key);
And the call stack looks like:
hash_lookup()
hash_get()
Parrot_Perl_hash_get_integer_keyed
Parrot_get_keyed_i_p_s
runops_fast_core
And so on.
The last PASM instruction run was:
get_keyed_i_p_s ARGS I1=0, P20=004AAEF0, S0="I"
I'm betting this was caused by fetching a key that did not yet exist. :)