nrkno / sofie-atem-connection

Sofie ATEM Connection: A Part of the Sofie TV Studio Automation System
https://github.com/nrkno/Sofie-TV-automation/
MIT License
129 stars 36 forks source link

Napi::Error crash (in dependency?) #151

Closed hrueger closed 4 months ago

hrueger commented 1 year ago

Unfortunately, there's no strack trace and it also does not appear in Sentry, so I guess the complete process crashes somehow.

Now to my question: What libraries with native dependencies are you using which could cause that? Are you aware of any ways to debug this?

Thanks!

Julusian commented 1 year ago

The only one I am aware of is https://github.com/julusian/node-freetype2. Could you make a minimal reproduction with either that lib directly or this, so that I can debug through it to see what is happening?

hrueger commented 1 year ago

Sure, I'll try to.

hrueger commented 1 year ago

Hm, it looks like this is quite complicated to reproduce in a standalone project. Maybe there are several factors, or it it not that library. I'll keep thinking and trying.

Julusian commented 1 year ago

We use the native library for drawing multiviewer labels, for models released before the atem mini range. Maybe it is needed to do something with drawing a label to trigger it?

hrueger commented 1 year ago

I don't think so, it crashes before even connecting. I don't need an ATEM to make it crash, I just need to import and create the instance.

Julusian commented 4 months ago

Is this still a problem? Without a way to reproduce this, I don't know where to begin trying to figure out the cause

hrueger commented 4 months ago

Hi, I'm not sure. I'm no longer working for that client. Feel free to close 👍