Project

General

Profile

Bug #25290

resint crashes if a udp:send fails

Added by Dennis Nicklaus 3 months ago.

Status:
Assigned
Priority:
Normal
Category:
UDP/CEC Driver
Target version:
-
Start date:
12/07/2020
Due date:
% Done:

0%

Estimated time:
Duration:

Description

the resint process (communications with resonance controller) crashes if a gen_udp:send fails (for instance, in this recent case, with {error,nxdomain}).
Right now, it just matches to ok. Apparently after this shutdown, the resonance control process wasn't running, so it's UDP port wasn't open, so that made the send() fail? The server is just set to the default localhost, so it shouldn't have been a network issue otherwise.

Anyway, it's an easy fix to catch the error case of the send and the code should add that protection.

Also available in: Atom PDF