jerryscript
jerryscript copied to clipboard
can't find property in ecma_lcache_invalidate()
I meet a bug, can't find the property in lcache, finally it accesses illegal memory, and null pointer dereference. Can you give me some suggestions on how to debug this?
the entry_p run off into invalid memory
Yes, it looks like the property is invalid, since it ends with 5, which is an unaligned address. The prop_p is read from somewhere, gdb write breakpoints can help to detect who stored the invalid value.