Aircloak / aircloak

This repository contains the Aircloak Air frontend as well as the code for our Cloak query and anonymization platform
2 stars 0 forks source link

Tzdata.EtsHolder crash #3700

Open sebastian opened 5 years ago

sebastian commented 5 years ago

I am seeing the following crash in my cloak logs when running of the latest release branch.

10:27:18.004 [error] GenServer Tzdata.EtsHolder terminating
** (MatchError) no match of right hand side value: {:error, :cannot_create_table}
    (tzdata) lib/tzdata/ets_holder.ex:59: Tzdata.EtsHolder.load_ets_table/1
    (tzdata) lib/tzdata/ets_holder.ex:52: Tzdata.EtsHolder.load_release/0
    (tzdata) lib/tzdata/ets_holder.ex:23: Tzdata.EtsHolder.handle_cast/2
    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:"$gen_cast", :new_release_has_been_downloaded}
State: "2018i"

There is an issue describing the problem here: https://github.com/lau/tzdata/issues/9

The proposed solution is to update tzdata, however we seem to run a version newer than the one they recommend.

Our dependency chain to tzdata is as follows: quantum > calendar > tzdata

edongashi commented 4 years ago

A common error is also GenServer :tzdata_release_updater terminating ** (ArgumentError) argument error as can be seen here