Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error #119

Closed
trevor-td opened this issue Jul 26, 2022 · 4 comments
Closed

Fatal error #119

trevor-td opened this issue Jul 26, 2022 · 4 comments

Comments

@trevor-td
Copy link

Hi,

Apologies if this has already been addressed, but I have the following issue after the tdl client has been running for a while. This is from a little while ago and am in the process of trying to reproduce the error.
unknown

This error occurred while using Node 16. I had found a another reply on another forum where they had experienced a similar issue and resolved it by downgrading to Node 12. There is a requirement for me to use Node 16 however, is there any way around this?

Thanks in advance.

@eilvelia
Copy link
Owner

Hi! Thanks for reporting. Could you send the full stack trace?

This is related to nodejs/node#32463 and #80

@eilvelia
Copy link
Owner

I reproduced the error on Github Actions:

#
# Fatal error in , line 0
# Check failed: result.second.
#
#
#
#FailureMessage Object: 0x7ffdea674aa0
 1: 0xb7dd11  [node]
 2: 0x1c15754 V8_Fatal(char const*, ...) [node]
 3: 0x100cd11 v8::internal::GlobalBackingStoreRegistry::Register(std::shared_ptr<v8::internal::BackingStore>) [node]
 4: 0xd2[41](https://github.com/Bannerets/tdl/runs/7521391301?check_suite_focus=true#step:7:42)e8 v8::ArrayBuffer::GetBackingStore() [node]
 5: 0xacaf4c napi_get_arraybuffer_info [node]
 6: 0x7f5a94922870 td_client_receive(Napi::CallbackInfo const&) [/home/runner/work/tdl/tdl/packages/tdl-tdlib-addon/build/Release/td.node]
 7: 0x7f5a9492a22f Napi::details::CallbackData<void (*)(Napi::CallbackInfo const&), void>::Wrapper(napi_env__*, napi_callback_info__*) [/home/runner/work/tdl/tdl/packages/tdl-tdlib-addon/build/Release/td.node]
 8: 0xac220f  [node]
 9: 0xd6014b  [node]
10: 0xd615ec  [node]
11: 0xd61c66 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x160c699  [node]
Illegal instruction (core dumped)

@eilvelia
Copy link
Owner

This should be fixed in 61211ea. I've released tdl-tdlib-addon@1.1.0 with the fix. Thanks for reporting again.

@trevor-td
Copy link
Author

Thank you @Bannerets for all your efforts. Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants