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

[BUG] particular VMIX preset makes companion segfault #3282

Open
2 tasks done
BarbeRousseDeVicto opened this issue Feb 12, 2025 · 6 comments
Open
2 tasks done

[BUG] particular VMIX preset makes companion segfault #3282

BarbeRousseDeVicto opened this issue Feb 12, 2025 · 6 comments
Labels
BUG Something isn't working
Milestone

Comments

@BarbeRousseDeVicto
Copy link

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I have my VMIX loaded from a saved PRESET that seem to make companion crash randomly, it didn't happen with any other PRESET.
The issue is I can't see anywhere in the LOG what cause the issue.

So Randomly companion reset his config, like is I have some button in step 2, they will came back to step 1, like if I have close and reopen the companion app, but the companion app stay open, it only read the config and apply the layout.

In the webpage I get the "Houston we have problem" splash screen then 1-2 seconds later it came back to life itself.

There is nothing in VMIX log (vmix didn't crash at all) there is nothing in the Windows Event manager, and the Companion LOG reset like when it was turn on for the first time.

TVCBF-REGIE_2025-02-11-2302_companion-config.zip

Steps To Reproduce

This happen randomly, I can try all the button I have config for this VMIX PRESET but nothing will make it crash for sure. it happen randomly even if I didn't touch the computer.

Expected Behavior

No response

Environment (please complete the following information)

- OS: Windows 11
- Browser: Chrome 111
- Companion Version: v4.0.0+7836-main-88a6a1d0   but happen on the 3.4.3, 3.5.1 too

Additional context

I have attatch my log debug files if anyone can find where my issue could be.

Redo the VMIX PRESET isn't really something i want to do since there is a lot of configuration inside this TV SHOW

@BarbeRousseDeVicto BarbeRousseDeVicto added the BUG Something isn't working label Feb 12, 2025
@BarbeRousseDeVicto
Copy link
Author

BarbeRousseDeVicto commented Feb 12, 2025 via email

@thedist
Copy link
Member

thedist commented Feb 12, 2025

Looking at that exit code, and the errors you are getting, it doesn't appear to be vMix related, especially as modules themselves are isolated from Companion and run in their own processes and it's the Companion process that is cause a segfault not the vMix module.

Edit: The only vMix errors I'm seeing so far are related to invalid variables, which looks like it could be an encoding issue (are you using any non-ASCII symbols in your vMix production at all, like symbols, emoji, or anything like that?) but I don't believe that should cause an issue with Companion itself.

@Julusian
Copy link
Member

Yeah that looks to be a nasty crash. Unfortunately the log isn't indicating where it happened, so this isn't going to be trivial to diagnose..

@Julusian Julusian changed the title [BUG] particular VMIX preset seem to make companion "reset" [BUG] particular VMIX preset makes companion segfault Feb 13, 2025
@Julusian Julusian added this to the v3.5 milestone Feb 13, 2025
@Julusian Julusian moved this to Todo in Companion Plan Feb 13, 2025
@BarbeRousseDeVicto
Copy link
Author

I have this in my log now with V4

2025-02-18T23:36:59.437Z Application: Companion exited with code: 3221225477
2025-02-18T23:36:59.437Z Application: Restart Count: 1

What is this code related to ???

companion-2025-02-18.0.log

@BarbeRousseDeVicto
Copy link
Author

This morning with a fresh windows format and reinstall I still have: Companion exited with code: 3221225477

So this seem related to my VMIX profile 100% sure now. Or maybe some python automation I have here.

If anyone can help me to understard error 3221225477 it will be apreciated

@BarbeRousseDeVicto
Copy link
Author

After some search it seem related to the NODE.exe process new in V3

SegfaultHandler: The exception won't be logged into a file, unless 'segfault.log' exists.

PID
8720 received ACCESS_VIOLATION for address: 0x7ff7f60e6998
[node-napi-v9.node]: segfault::init
[node-napi-v9.node]: segfault::showCallstack
[node-napi-v9.node]: segfault::handleSignal
[KERNELBASE.dll]: UnhandledExceptionFilter
[ntdll.dll]: memset
[ntdll.dll]: _C_specific_handler
[ntdll.dll]: _chkstk
[ntdll.dll]: RtlRaiseException
[ntdll.dll]: KiUserExceptionDispatcher
[node.exe]: v8::base::MagicNumbersForDivision::operator==
[node.exe]: v8::Object::GetIsolate
[node.exe]: v8::Object::GetIsolate
[node.exe]: v8::Object::GetIsolate
[node.exe]: v8::SharedValueConveyor::SharedValueConveyor
[node.exe]: v8::SharedValueConveyor::SharedValueConveyor
2025-02-20T14:29:29.306Z Application: Companion exited with code: 3221225477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

3 participants