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

Crash when trying to load the module in a debug build of Node.js #1

Closed
mmomtchev opened this issue Dec 18, 2023 · 1 comment · Fixed by #2
Closed

Crash when trying to load the module in a debug build of Node.js #1

mmomtchev opened this issue Dec 18, 2023 · 1 comment · Fixed by #2

Comments

@mmomtchev
Copy link
Owner

When using a debug build of Node.js, the module crashes on load:

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal
 1: 0x559e557609e5 node::DumpBacktrace(_IO_FILE*) [../node/node_g]
 2: 0x559e5588de9e node::Abort() [../node/node_g]
 3: 0x559e5588ef4e node::OOMErrorHandler(char const*, v8::OOMDetails const&) [../node/node_g]
 4: 0x559e55c2077e v8::Utils::ReportApiFailure(char const*, char const*) [../node/node_g]
 5: 0x559e557f0eb9 v8::MaybeLocal<v8::Function>::ToLocalChecked() [../node/node_g]
 6: 0x559e557e2a65 napi_define_class [../node/node_g]
 7: 0x7f0143e750ab  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
 8: 0x7f0143e5b021  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
 9: 0x7f0143e49411  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
10: 0x7f0143e414a2  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
11: 0x7f0143ddddab  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
12: 0x7f0143dd7564  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
13: 0x7f0143e38693  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
14: 0x7f0143e3d8db  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
15: 0x7f0143e38703  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
16: 0x7f0143dd74ab  [/home/mmom/src/node-avcpp/lib/binding/linux-x64/ffmpeg.node]
@mmomtchev
Copy link
Owner Author

Caused by registering class methods with the same name

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

Successfully merging a pull request may close this issue.

1 participant