Skip to content

gateway crashes on Ubuntu 22.04 when started with -uid -gid arguments #63

@konrad-gajewski

Description

@konrad-gajewski

We have encountered a problem after migrating our ca-gateway from CentOS 7 to Ubuntu 22.04. We run Epics base 7.0.7 on both OSs.
When starting the gateway by root and using -uid and -gid arguments in the command line the gateway works properly but crashes always in the following scenario:
There are a number of PVs that are monitored (for example by running camonitor on the server side of the gateway) and one of the monitored PV becomes unavailable (for example by stopping the IOC). When running with -server argument the gateway restarts (as expected) but when running in the "normal" mode it just crashes. It' enough to monitor 2 PVs and make one of them unavailable to provoke the crash,

I have tested the gateway release 2.1.3 but have also tried the latest version of ca-gateway (887ded3) together with the latest version of PCAS (e075fd4) but got the same result.

The gateway doesn't crash when running it as root as well as running it directly from the account that we wanted to use when starting the program from root account. Other options (-no_cahe, -archive) do not have any influence on the crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions