Skip to content

EPICSPVAChannelWrapper.cpp has uncaught simple error that terminates the application #5

Description

@sudilav

Recently we tried integrating the EPICSPVAOutput Datasource but it turned out to keep terminating our application. We don't want it to do this based on timeout because the EPICS PV data is as EPICS can be used for, purely for monitoring data. What I found is that our tag 1.5.1 didn't catch the error and for the newest tag, it had it commented out. When I uncommented:

/*catch (pvac::Timeout &ignored) {
                    REPORT_ERROR_STATIC(ErrorManagement::Warning, "Failed to get() channel: %s - %s", channelName.Buffer(), ignored.what());
                    ok = false;
                }*/

and recompiled, it stopped the issue and my application works again - can we uncomment this in a newer tag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions