Re: Missing write barrier in MVM_sc_get_sc()

2013-12-30 Thread jonathan
Nicholas Clark wrote .. > I believe that a write barrier is missing in MVM_sc_get_sc(). Patch attached. > Agree with analysis and fix. Applied, thanks! > This was really really messy to figure out. The bug manifests as a SEGV in > process_worklist because a pointer to an object is 0x6. Clearly n

Missing write barrier in MVM_sc_get_sc()

2013-12-28 Thread Nicholas Clark
I believe that a write barrier is missing in MVM_sc_get_sc(). Patch attached. This was really really messy to figure out. The bug manifests as a SEGV in process_worklist because a pointer to an object is 0x6. Clearly not a pointer. The value 0x6 has come from the scs array of a MVMCompUnit. In tur