This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
forked from rogchap/v8go
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap snapshot creator + snapshot creation otherwise the destructor is
called and we lose the creator on return Latest error: ``` ==== C stack trace =============================== 0 v8go.test 0x000000000429d2b3 v8::base::debug::StackTrace::StackTrace() + 19 1 v8go.test 0x00000000042a55bb v8::platform::(anonymous namespace)::PrintStackTrace() + 59 2 v8go.test 0x00000000042904a1 V8_Fatal(char const*, int, char const*, ...) + 337 3 v8go.test 0x0000000004d4539a v8::internal::ReadOnlySerializer::SerializeReadOnlyRoots() + 282 4 v8go.test 0x0000000004d62fed v8::internal::Snapshot::Create(v8::internal::Isolate*, std::__1::vector<v8::internal::Context, std::__1::allocator<v8::internal::Context> >*, std::__1::vector<v8::SerializeInternalFieldsCallback, std::__1::allocator<v8::SerializeInternalFieldsCallback> > const&, v8::internal::CombinationAssertScope<v8::internal::PerThreadAssertScopeDebugOnly<(v8::internal::PerThreadAssertType)0, false>, v8::internal::PerThreadAssertScopeDebugOnly<(v8::internal::PerThreadAssertType)1, false> > const&, v8::base::Flags<v8::internal::Snapshot::SerializerFlag, int>) + 253 5 v8go.test 0x00000000042b7b23 v8::SnapshotCreator::CreateBlob(v8::SnapshotCreator::FunctionCodeHandling) + 3427 6 v8go.test 0x0000000004279c56 CreateSnapshot + 278 7 v8go.test 0x0000000004277cd1 _cgo_6c7faf9e9e5b_Cfunc_CreateSnapshot + 33 8 v8go.test 0x000000000406a850 runtime.asmcgocall.abi0 + 112 ```
- Loading branch information
1 parent
7d48015
commit 718b639
Showing
4 changed files
with
93 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters