You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error when launching erl.exe (or werl.exe) with OTP 26.2.3 on windows server 2k12 R2.
Can any one please help.
we want to use windows server 2k12 R2. Is it OS specific issue? how can I tackle it?
Error:
=ERROR REPORT==== 25-Apr-2024::02:14:22.347000 ===
** State machine user_drv terminating
** When server state = {undefined,undefined}
** Reason for termination = error:{badmatch,
{error,
{'SetConsoleMode',
'The parameter is incorrect.\r\n'}}}
** Callback modules = [user_drv]
** Callback mode = state_functions
** Stacktrace =
** [{prim_tty,init,1,[{file,"prim_tty.erl"},{line,221}]},
{user_drv,init,1,[{file,"user_drv.erl"},{line,174}]},
{gen_statem,init_it,6,[{file,"gen_statem.erl"},{line,984}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]
=CRASH REPORT==== 25-Apr-2024::02:14:22.347000 ===
crasher:
initial call: user_drv:init/1
pid: <0.65.0>
registered_name: []
exception error: no match of right hand side value
{error,
{'SetConsoleMode','The parameter is incorrect.\r\n'}}
in function prim_tty:init/1 (prim_tty.erl, line 221)
in call from user_drv:init/1 (user_drv.erl, line 174)
in call from gen_statem:init_it/6 (gen_statem.erl, line 984)
ancestors: [<0.64.0>,kernel_sup,<0.47.0>]
message_queue_len: 0
messages: []
links: []
dictionary: []
trap_exit: true
status: running
heap_size: 610
stack_size: 28
reductions: 414
neighbours:
....
Erlang/OTP 26 or later requires Windows 10 Threshold 2 (TH2), also known as the "November Update", which is version 1511 and has the build number 10586. This would be the same as Windows Server 2016 I think.
Since Windows 2012 R2 is not supported by Microsoft anymore I suggest you update your OS.
If you do need to continue running 2012 you have two options:
I am getting this error when launching erl.exe (or werl.exe) with OTP 26.2.3 on windows server 2k12 R2.
Can any one please help.
we want to use windows server 2k12 R2. Is it OS specific issue? how can I tackle it?
Error:
=ERROR REPORT==== 25-Apr-2024::02:14:22.347000 ===
** State machine user_drv terminating
** When server state = {undefined,undefined}
** Reason for termination = error:{badmatch,
{error,
{'SetConsoleMode',
'The parameter is incorrect.\r\n'}}}
** Callback modules = [user_drv]
** Callback mode = state_functions
** Stacktrace =
** [{prim_tty,init,1,[{file,"prim_tty.erl"},{line,221}]},
{user_drv,init,1,[{file,"user_drv.erl"},{line,174}]},
{gen_statem,init_it,6,[{file,"gen_statem.erl"},{line,984}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]
=CRASH REPORT==== 25-Apr-2024::02:14:22.347000 ===
crasher:
initial call: user_drv:init/1
pid: <0.65.0>
registered_name: []
exception error: no match of right hand side value
{error,
{'SetConsoleMode','The parameter is incorrect.\r\n'}}
in function prim_tty:init/1 (prim_tty.erl, line 221)
in call from user_drv:init/1 (user_drv.erl, line 174)
in call from gen_statem:init_it/6 (gen_statem.erl, line 984)
ancestors: [<0.64.0>,kernel_sup,<0.47.0>]
message_queue_len: 0
messages: []
links: []
dictionary: []
trap_exit: true
status: running
heap_size: 610
stack_size: 28
reductions: 414
neighbours:
....
crasher:
initial call: supervisor_bridge:user_sup/1
pid: <0.64.0>
registered_name: []
exception exit: nouser
in function gen_server:init_it/6 (gen_server.erl, line 961)
ancestors: [kernel_sup,<0.47.0>]
message_queue_len: 0
messages: []
links: [<0.49.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 28
reductions: 528
neighbours:
=SUPERVISOR REPORT==== 25-Apr-2024::02:14:34.957000 ===
supervisor: {local,kernel_sup}
errorContext: start_error
reason: nouser
offender: [{pid,undefined},
{id,user},
{mfargs,{user_sup,start,[]}},
{restart_type,temporary},
{significant,false},
{shutdown,2000},
{child_type,supervisor}]
=CRASH REPORT==== 25-Apr-2024::02:14:34.959000 ===
crasher:
initial call: application_master:init/4
pid: <0.46.0>
registered_name: []
exception exit: {{shutdown,{failed_to_start_child,user,nouser}},
{kernel,start,[normal,[]]}}
in function application_master:init/4 (application_master.erl, line 142)
ancestors: [<0.45.0>]
message_queue_len: 1
messages: [{'EXIT',<0.47.0>,normal}]
links: [<0.45.0>,<0.44.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 28
reductions: 192
neighbours:
=INFO REPORT==== 25-Apr-2024::02:14:34.959000 ===
application: kernel
exited: {{shutdown,{failed_to_start_child,user,nouser}},
{kernel,start,[normal,[]]}}
type: permanent
Kernel pid terminated (application_controller) ("{application_start_failure,kernel,{{shutdown,{failed_to_start_child,user,nouser}},{kernel,start,[normal,[]]}}}")
Crash dump is being written to: erl_crash.dump...done
The text was updated successfully, but these errors were encountered: