Changeset 232998 in webkit
- Timestamp:
- Jun 19, 2018 5:45:06 PM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r232983 r232998 1 2018-06-19 Michael Saboff <msaboff@apple.com> 2 3 Crash in sanitizeStackForVMImpl sometimes when switching threads with same VM 4 https://bugs.webkit.org/show_bug.cgi?id=186827 5 6 Reviewed by Saam Barati. 7 8 Need to set VM::lastStackTop before any possible calls to sanitizeStack(). 9 10 * runtime/JSLock.cpp: 11 (JSC::JSLock::didAcquireLock): 12 1 13 2018-06-19 Tadeu Zagallo <tzagallo@apple.com> 2 14 -
trunk/Source/JavaScriptCore/runtime/JSLock.cpp
r232482 r232998 135 135 ASSERT(m_entryAtomicStringTable); 136 136 137 m_vm->setLastStackTop(thread.savedLastStackTop()); 138 ASSERT(thread.stack().contains(m_vm->lastStackTop())); 139 137 140 if (m_vm->heap.hasAccess()) 138 141 m_shouldReleaseHeapAccess = false; … … 146 149 m_vm->setStackPointerAtVMEntry(p); 147 150 148 m_vm->setLastStackTop(thread.savedLastStackTop());149 ASSERT(thread.stack().contains(m_vm->lastStackTop()));150 151 151 m_vm->heap.machineThreads().addCurrentThread(); 152 152 #if ENABLE(WEBASSEMBLY)
Note: See TracChangeset
for help on using the changeset viewer.