manjaro linux elixir 记录器崩溃
Posted
技术标签:
【中文标题】manjaro linux elixir 记录器崩溃【英文标题】:manjaro linux elixir logger crash 【发布时间】:2018-12-20 18:33:42 【问题描述】:将manjaro的核心从4.16更新到4.17后,elixir 1.5 logger停止工作
elixir -v
=SUPERVISOR REPORT==== 12-Jul-2018::16:29:19.697604 ===
supervisor: local,'Elixir.Logger.Supervisor'
errorContext: start_error
reason: noproc
offender: [pid,undefined,
id,'Elixir.Logger.ErrorHandler',
mfargs,
'Elixir.Logger.Watcher',start_link,
[error_logger,'Elixir.Logger.ErrorHandler',
true,false,500],
restart_type,permanent,
shutdown,5000,
child_type,worker]
=CRASH REPORT==== 12-Jul-2018::16:29:19.702313 ===
crasher:
initial call: application_master:init/4
pid: <0.81.0>
registered_name: []
exception exit: shutdown,
failed_to_start_child,'Elixir.Logger.ErrorHandler',
noproc,
'Elixir.Logger.App',start,[normal,[]]
in function application_master:init/4 (application_master.erl, line 138)
ancestors: [<0.80.0>]
message_queue_len: 1
messages: ['EXIT',<0.82.0>,normal]
links: [<0.80.0>,<0.42.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 27
reductions: 193
neighbours:
=INFO REPORT==== 12-Jul-2018::16:29:19.703351 ===
application: logger
exited: shutdown,
failed_to_start_child,'Elixir.Logger.ErrorHandler',noproc,
'Elixir.Logger.App',start,[normal,[]]
type: temporary
Erlang/OTP 21 [erts-10.0.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Elixir 1.5.3
同时,1.6 版运行良好
elixir -v
Erlang/OTP 21 [erts-10.0.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Elixir 1.6.6 (compiled with OTP 19)
OS:
Linux mvalitov-pc 4.17.4-1-MANJARO #1 SMP PREEMPT Tue Jul 3 18:11:09 UTC 2018 x86_64 GNU/Linux
我使用 asdf 进行版本控制。
我尝试删除并重新安装 elixir,但无济于事 asdf 卸载长生不老药 1.5 asdf 安装 elixir 1.5
也许有人知道如何提供帮助?
【问题讨论】:
【参考方案1】:原因似乎是 OTP 21 尚未得到官方支持,如GitHub issue 中所述。
【讨论】:
以上是关于manjaro linux elixir 记录器崩溃的主要内容,如果未能解决你的问题,请参考以下文章