Title: Fatal error with ObjectWrap since 1.5.0 · Issue #372 · nodejs/node-addon-api · GitHub
Open Graph Title: Fatal error with ObjectWrap since 1.5.0 · Issue #372 · nodejs/node-addon-api
X Title: Fatal error with ObjectWrap since 1.5.0 · Issue #372 · nodejs/node-addon-api
Description: I update to node-addon-api 1.5.0 (from 1.4.0) and I got this error at runtime using gdb # # Fatal error in , line 0 # Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo(). # # # #FailureMessage Object: 0x7fffffffb220 T...
Open Graph Description: I update to node-addon-api 1.5.0 (from 1.4.0) and I got this error at runtime using gdb # # Fatal error in , line 0 # Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo(). # # # ...
X Description: I update to node-addon-api 1.5.0 (from 1.4.0) and I got this error at runtime using gdb # # Fatal error in , line 0 # Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo(). ...
Opengraph URL: https://github.com/nodejs/node-addon-api/issues/372
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fatal error with ObjectWrap since 1.5.0","articleBody":"I update to node-addon-api 1.5.0 (from 1.4.0) and I got this error at runtime using gdb\r\n```\r\n#\r\n# Fatal error in , line 0\r\n# Check failed: !value_obj-\u003eIsJSReceiver() || value_obj-\u003eIsTemplateInfo().\r\n#\r\n#\r\n#\r\n#FailureMessage Object: 0x7fffffffb220\r\nThread 1 \"node\" received signal SIGILL, Illegal instruction.\r\n0x00000000016abfa9 in v8::base::OS::Abort() ()\r\n```\r\nand this stack\r\n```\r\n#0 0x00000000016abfa9 in v8::base::OS::Abort() ()\r\n#1 0x00000000016a8a94 in V8_Fatal(char const*, int, char const*, ...) ()\r\n#2 0x0000000000b04353 in v8::Template::Set(v8::Local\u003cv8::Name\u003e, v8::Local\u003cv8::Data\u003e, v8::PropertyAttribute) ()\r\n#3 0x00000000008eac00 in napi_define_class ()\r\n#4 0x00007ffff406c218 in Napi::ObjectWrap\u003cgenepi::ClassWrapper\u003cTest\u003e \u003e::DefineClass(Napi::Env, char const*, unsigned long, napi_property_descriptor const*, void*) ()\r\nfrom /home/camaud/programming/genepi/build/Release/genepi.node\r\n#5 0x00007ffff406e10c in genepi::BindClass\u003cTest\u003e::initialize(Napi::Env\u0026, Napi::Object\u0026) const () from /home/camaud/programming/genepi/build/Release/genepi.node\r\n#6 0x00007ffff406f322 in initialize(Napi::Env, Napi::Object) () from /home/camaud/programming/genepi/build/Release/genepi.node\r\n#7 0x00007ffff406f4ac in __napi_initialize(napi_env__*, napi_value__*) () from /home/camaud/programming/genepi/build/Release/genepi.node\r\n#8 0x00000000008e14a1 in napi_module_register_by_symbol(v8::Local\u003cv8::Object\u003e, v8::Local\u003cv8::Value\u003e, v8::Local\u003cv8::Context\u003e, napi_value__* (*)(napi_env__*, napi_value__*)) ()\r\n#9 0x00000000008d3352 in node::DLOpen(v8::FunctionCallbackInfo\u003cv8::Value\u003e const\u0026) ()\r\n#10 0x0000000000b8b32f in v8::internal::MaybeHandle\u003cv8::internal::Object\u003e v8::internal::(anonymous namespace)::HandleApiCallHelper\u003cfalse\u003e(v8::internal::Isolate*, v8::internal::Handle\u003cv8::internal::HeapObject\u003e, v8::internal::Handle\u003cv8::internal::HeapObject\u003e, v8::internal::Handle\u003cv8::internal::FunctionTemplateInfo\u003e, v8::internal::Handle\u003cv8::internal::Object\u003e, v8::internal::BuiltinArguments) ()\r\n#11 0x0000000000b8be99 in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) ()\r\n```\r\n\r\nDo you have an idea why this crashes in 1.5.0 and not in 1.4.0? I had the same crash on several computers with several gcc and node versions. Any major changes in Napi::ObjectWrap\u003cT \u003e::DefineClass?\r\n\r\nThanks for your help!","author":{"url":"https://github.com/BotellaA","@type":"Person","name":"BotellaA"},"datePublished":"2018-10-19T06:37:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/372/node-addon-api/issues/372"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:945d3bfa-c83f-1ff6-8ab9-33a085a87cdb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF32:19730C:56DD87:75A716:6A51CAFB |
| html-safe-nonce | 27cf6354bb172c4502249ea01dfddef217927af9f23f807deadbd6acc30d253b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjMyOjE5NzMwQzo1NkREODc6NzVBNzE2OjZBNTFDQUZCIiwidmlzaXRvcl9pZCI6IjQzODUzMTE4NTc1NDU2OTM5NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e7d20ab93e088dc2f5bb3518aeef3466641899940e269e2152cc35181ef15df3 |
| hovercard-subject-tag | issue:371825058 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node-addon-api/372/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9575995a1611af643e6fddd9282140884fcd88411369d7ad097c7f45d95b0798/nodejs/node-addon-api/issues/372 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9575995a1611af643e6fddd9282140884fcd88411369d7ad097c7f45d95b0798/nodejs/node-addon-api/issues/372 |
| og:image:alt | I update to node-addon-api 1.5.0 (from 1.4.0) and I got this error at runtime using gdb # # Fatal error in , line 0 # Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo(). # # # ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BotellaA |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node-addon-api git https://github.com/nodejs/node-addon-api.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 81384578 |
| octolytics-dimension-repository_nwo | nodejs/node-addon-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81384578 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node-addon-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width