[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Puzzle - Can you find the bug faster than I did?



>>>>> "RJK" == Ronald J Kimball <rjk@linguist.dartmouth.edu> writes:

RJK> I thought it was obvious even without the changed data.  :)

RJK> The big hint was that she kept getting "Part of same ID" every time.  This
RJK> suggests that there is a bug in comparing the current id to the previous id
RJK> -- and that is indeed the bug.

RJK> Having the code itself to look at was almost too much!  *grin*

I wouldn't call that a give-away. That could be caused by a buggy formerly
dead leg in the code becoming actived by the changed data.

I've done it a few times. Destroyed the key in a rarely executed code
path. Those are hard to find one _knows_ the code too well.

<chaim>
-- 
Chaim Frenkel					     Nonlinear Knowledge, Inc.
chaimf@pobox.com				               +1-718-236-0183

==== Want to unsubscribe from Fun With Perl?
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org