• Rob Paveza's avatar
    SHA256 hash crash: GetScriptHash · c4d09aef
    Rob Paveza authored
    Initialization after reset + unnecessary use of handle scope appear to
    be the culprit here. Most of the other functions in debug::Script do not
    use HandleScope, so this reconciles these differences. Additionally,
    the call to obtain and initialize the hash within
    ActualScript::Initialize was inconsistent: all of the other fields were
    initialized prior to resetting the script and source.
    
    These reconciliations appear to fix this crash.
    
    Bug: chromium:1325036
    Change-Id: Ia86e83b6c99955a3ac80a4a8845c0df0172e991c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3648082
    Commit-Queue: Robert Paveza <Rob.Paveza@microsoft.com>
    Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
    Auto-Submit: Robert Paveza <Rob.Paveza@microsoft.com>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80760}
    c4d09aef
Name
Last commit
Last update
..
wasm/gdb-server Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
debug-coverage.cc Loading commit data...
debug-coverage.h Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-interface.cc Loading commit data...
debug-interface.h Loading commit data...
debug-property-iterator.cc Loading commit data...
debug-property-iterator.h Loading commit data...
debug-scope-iterator.cc Loading commit data...
debug-scope-iterator.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug-stack-trace-iterator.cc Loading commit data...
debug-stack-trace-iterator.h Loading commit data...
debug-type-profile.cc Loading commit data...
debug-type-profile.h Loading commit data...
debug-wasm-objects-inl.h Loading commit data...
debug-wasm-objects.cc Loading commit data...
debug-wasm-objects.h Loading commit data...
debug-wasm-objects.tq Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
interface-types.h Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...