Hello, I am attempting to use the Explorer package in our application and when attempting to deploy it in our production environment we are running into the following errors:
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
=SUPERVISOR REPORT==== 27-Apr-2023::21:22:42.387790 ===
supervisor: {local,kernel_sup}
errorContext: start_error
reason: {on_load_function_failed,'Elixir.Explorer.PolarsBackend.Native'}
offender: [{pid,undefined},
{id,kernel_safe_sup},
{mfargs,{supervisor,start_link,
[{local,kernel_safe_sup},kernel,safe]}},
{restart_type,permanent},
{significant,false},
{shutdown,infinity},
{child_type,supervisor}]
=CRASH REPORT==== 27-Apr-2023::21:22:42.387928 ===
crasher:
initial call: supervisor:kernel/1
pid: <0.4448.0>
registered_name: []
exception exit: {on_load_function_failed,
'Elixir.Explorer.PolarsBackend.Native'}
in function init:run_on_load_handlers/0
in call from kernel:init/1 (kernel.erl, line 189)
in call from supervisor:init/1 (supervisor.erl, line 330)
in call from gen_server:init_it/2 (gen_server.erl, line 423)
in call from gen_server:init_it/6 (gen_server.erl, line 390)
ancestors: [kernel_sup,<0.4422.0>]
message_queue_len: 0
messages: []
links: [<0.4424.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 29
reductions: 226
neighbours:
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,'Elixir.Explorer.PolarsBackend.Native'}}},{kernel,start,[normal,[]]}}})
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,'Elixir.Explorer.PolarsBackend.Native'}}},{kernel,start,[normal,[]]}}}"}
=CRASH REPORT==== 27-Apr-2023::21:22:43.404958 ===
crasher:
initial call: application_master:init/4
pid: <0.4421.0>
registered_name: []
exception exit: {{shutdown,
{failed_to_start_child,kernel_safe_sup,
{on_load_function_failed,
'Elixir.Explorer.PolarsBackend.Native'}}},
{kernel,start,[normal,[]]}}
in function application_master:init/4 (application_master.erl, line 142)
ancestors: [<0.4420.0>]
message_queue_len: 1
messages: [{'EXIT',<0.4422.0>,normal}]
links: [<0.4420.0>,<0.4419.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 29
reductions: 165
neighbours:
=INFO REPORT==== 27-Apr-2023::21:22:43.406357 ===
application: kernel
exited: {{shutdown,
{failed_to_start_child,kernel_safe_sup,
{on_load_function_failed,
'Elixir.Explorer.PolarsBackend.Native'}}},
{kernel,start,[normal,[]]}}
type: permanent
Crash dump is being written to: erl_crash.dump...done
We have been able to run the application successfully from OSX and Windows using WSL.
Our deployed environment is running the following versions:
# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.7 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.7 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.7
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.7"
# uname -r
4.15.0-209-generic
# elixir --version
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit]
Elixir 1.13.3 (compiled with Erlang/OTP 24)
# erl --version
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit]
Eshell V12.2.1
# rustc --version
rustc 1.69.0 (84c898d65 2023-04-16)
Example local working versions:
# sw_vers
ProductName: macOS
ProductVersion: 13.2.1
BuildVersion: 22D68
# elixir --version
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1]
Elixir 1.13.3 (compiled with Erlang/OTP 24)
# erl --version
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1]
Eshell V12.2.1
Any help would be greatly appreciated!