Skip to content

SIGABRT #33

@cisaacson

Description

@cisaacson

I have a test that implements 2 transactions in sequence, each with a Tuple key (of buffers) and a Value that is a buffer. Each transaction only does a set. The first transaction succeeds, and the second fails with the trace below. The trace only shows up when we try and debug the code, otherwise it just hangs on the second transaction. It seems as if the commit is not occurring, yet that should be automatic. We are running Node 10.16.0, Typescript 3.6, compiling to es5. Any ideas what could cause this? What is odd is that I have other tests that do multiple writes and they all work fine.

I tried this with tn.set inside the transaction, and also with await db.set as the convenience method. Both hang in the same way.

Any help appreciated.

/usr/local/opt/node@10/bin/node[92513]: ../src/callback_scope.cc:110:void node::InternalCallbackScope::Close(): Assertion `(env_->execution_async_id()) == (0)' failed.
1: 0x10003b540 node::Abort() [/usr/local/opt/node@10/bin/node]
2: 0x10003a638 node::AddEnvironmentCleanupHook(v8::Isolate*, void ()(void), void*) [/usr/local/opt/node@10/bin/node]
3: 0x100012820 node::InternalCallbackScope::Close() [/usr/local/opt/node@10/bin/node]
4: 0x1000122f0 node::InternalCallbackScope::~InternalCallbackScope() [/usr/local/opt/node@10/bin/node]
5: 0x1000a50fa node::PerIsolatePlatformData::RunForegroundTask(std::__1::unique_ptr<v8::Task, std::__1::default_deletev8::Task >) [/usr/local/opt/node@10/bin/node]
6: 0x1000a46f3 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/usr/local/opt/node@10/bin/node]
7: 0x1000a553f node::NodePlatform::FlushForegroundTasks(v8::Isolate*) [/usr/local/opt/node@10/bin/node]
8: 0x1000eeda2 node::inspector::NodeInspectorClient::runMessageLoop() [/usr/local/opt/node@10/bin/node]
9: 0x10014f9b4 v8_inspector::V8Debugger::handleProgramBreak(v8::Localv8::Context, v8::Localv8::Value, std::__1::vector<int, std::__1::allocator > const&, bool, bool) [/usr/local/opt/node@10/bin/node]
10: 0x1003afc36 v8::internal::Debug::OnDebugBreak(v8::internal::Handlev8::internal::FixedArray) [/usr/local/opt/node@10/bin/node]
11: 0x1003af3c6 v8::internal::Debug::Break(v8::internal::JavaScriptFrame*, v8::internal::Handlev8::internal::JSFunction) [/usr/local/opt/node@10/bin/node]
12: 0x1005cf440 v8::internal::Runtime_DebugBreakOnBytecode(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/opt/node@10/bin/node]
13: 0xd20a74dc69d
14: 0xd20a74e1de5
15: 0xd20a74918d5
16: 0xd20a79bf1f2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions