Closed AndyFug closed 2 months ago
This is happening because the module is throwing a string rather than an error. https://github.com/bitfocus/companion-module-iiyama-prolite/blob/ecdfb68eb4a27413aaf3d01d63476d022b3bc348/src/prolite-api/protocols/LH42UHS.ts#L182 And I didn't think to test that...
Thank you. I meant to respond here to remark on my findings. After some debugging, I was concluding myself that it was something to do with that error handling.
I managed to stop the crash by commenting out this line, which I believe is causing the checkReply
method to be called twice.
checkReply
is already called in the readReply
method, which slices out some of the message, making it invalid on the second call of checkReply
.
I'll flag this on the module's repo.
I have fixed this on the companion side, it will be in the next beta
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
Hi.
We are getting a brief (3 secs or so) crash of Companion when we run the companion-module-iiyama-prolite module to control a Iiyama Prolite screen using the LHxx42UHS protocol.
The crash appears to happen when we trigger any of the module's actions, but for the purposes of this report, specifically when we run a
prolite: Change Input
action, setting the TV input toHDMI 1
.I have tried to run this on Companion versions
v3.2.0
,v3.2.2
and3.99.0+6806-develop-9ccb6d95
, and all versions behave exactly the same.I have submitted an issue on the module's repo: companion-module-iiyama-prolite/issues/6
Steps To Reproduce
prolite: Change Input
with input optionHDMI 1
Expected Behavior
No Companion server crash.
Environment (please complete the following information)
Additional context
Here are some log entries at the time of the crash from
~/Library/Application Support/companion/logs/companion-2024-04-04.0.log
: