#1499: Null pointer dereference in imageio.pmc
----------------------+-----------------------------------------------------
 Reporter:  arnsholt  |       Owner:  plobsing
     Type:  bug       |      Status:  new     
 Priority:  normal    |   Milestone:          
Component:  none      |     Version:          
 Severity:  medium    |    Keywords:          
     Lang:  perl6     |       Patch:          
 Platform:  darwin    |  
----------------------+-----------------------------------------------------

Comment(by plobsing):

 Replying to [comment:8 plobsing]:
 >  * The intermittent-ness of this bug is what really bothers me. gc_ms is
 deterministic, freeze/thaw is deterministic, I certainly hope our math is
 deterministic, so where is the randomness coming from?

 I've found out where the randomness is comming from: hash seeding, which
 currently uses the current time.

 Unfortunately, setting the hash seed is broken in r44371; only fixed in
 r44718, where I can't get this bug to manifest. To get a parrot on which
 you can reliably reproduce this bug, you'll have to checkout r44371 and
 then merge the patch 44717:44718. Running this, I got the following
 results:

 {{{
 # fails to reproduce bug (0/20 runs)
 > parrot --hash-seed F00F perl6.pbc t/spec/S32-trig/sinh.t

 # probe for seeds that trigger this bug
 > parrot --hash-seed $(perl -e "printf qq{%x\n}, scalar time" | tee seed)
 perl6.pbc t/spec/S32-trig/sinh.t
 > cat seed

 # consistently reproduces bug (8/8 runs)
 > parrot --hash-seed 4b93fa3a perl6.pbc t/spec/S32-trig/sinh.t
 }}}

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1499#comment:9>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to