Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash dump is being written to: erl_crash.dump...done #80

Open
Pezhvak opened this issue Jun 15, 2022 · 8 comments
Open

Crash dump is being written to: erl_crash.dump...done #80

Pezhvak opened this issue Jun 15, 2022 · 8 comments

Comments

@Pezhvak
Copy link

Pezhvak commented Jun 15, 2022

It seems the image has a problem in recent updates, neither of the proxies are working. can someone confirm this?

Exec: /opt/mtp_proxy/erts-10.3.5.19/bin/erlexec -noinput +Bd -boot /opt/mtp_proxy/releases/0.1.0/mtp_proxy -mode embedded -boot_var SYSTEM_LIB_DIR /opt/mtp_proxy/lib -config /opt/mtp_proxy/releases/0.1.0/sys.config -args_file /opt/mtp_proxy/releases/0.1.0/vm.args -- foreground -mtproto_proxy ports [#{name => mtproto_proxy, port => 2443, secret => <<"d0d6e111bada5511fcce9584deadbeef">>, tag => <<"dcbe8f1493fa4cd9ab300891c0b5b326">>}]
Root: /opt/mtp_proxy
/opt/mtp_proxy
{"Kernel pid terminated",application_controller,"{application_start_failure,mtproto_proxy,{bad_return,{{mtproto_proxy_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,mtp_config,{{badmatch,{error,{connection_failed,<0.601.0>,{downstream_handshake_timeout,-3,handshake_1}}}},[{mtp_config,'-update_downstreams/2-fun-2-',1,[{file,\"/build/mtproto_proxy/src/mtp_config.erl\"},{line,227}]},{lists,foreach,2,[{file,\"lists.erl\"},{line,1338}]},{mtp_config,update_config,1,[{file,\"/build/mtproto_proxy/src/mtp_config.erl\"},{line,193}]},{mtp_config,init,1,[{file,\"/build/mtproto_proxy/src/mtp_config.erl\"},{line,138}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,374}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,342}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]}}}}},[{mtproto_proxy_app,start,2,[{file,\"/build/mtproto_proxy/src/mtproto_proxy_app.erl\"},{line,34}]},{application_master,start_it_old,4,[{file,\"application_master.erl\"},{line,277}]}]}}}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,mtproto_proxy,{bad_return,{{mtproto_proxy_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,m

Crash dump is being written to: erl_crash.dump...done
@vitalypetrovisbest
Copy link

Same here

@rezabagh
Copy link

Proxy failed

Jun 21 16:33:38 centos7 systemd[1]: Stopped Starts the mtproto_proxy server.
Jun 21 16:33:38 centos7 systemd[1]: Started Starts the mtproto_proxy server.
Jun 21 16:33:38 centos7 mtp_proxy[4110]: Exec: /opt/mtp_proxy/erts-12.3.2.1/bin/erlexec -noinput +Bd -boot /opt/mtp_proxy/releases/0.1.0/start -mode embedded -boot_var SYSTEM_LIB_DIR /opt/mtp_proxy/lib -config /opt/mtp_proxy/releases/0.1.0/sys.config -args_file /opt/mtp_proxy/releases/0.1.0/vm.args -- foreground
Jun 21 16:33:38 centos7 mtp_proxy[4110]: Root: /opt/mtp_proxy
Jun 21 16:33:38 centos7 mtp_proxy[4110]: /opt/mtp_proxy
Jun 21 16:33:38 centos7 mtp_proxy[4144]: Starting up
Jun 21 16:33:49 centos7 mtp_proxy[4110]: {"Kernel pid terminated",application_controller,"{application_start_failure,mtproto_proxy,{bad_return,{{mtproto_proxy_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,mtp_config,{{badmatch,{error,{connection_failed,<0.653.0>,{downstream_handshake_timeout,-3,handshake_1}}}},[{mtp_config,'-update_downstreams/2-fun-2-',1,[{file,"/root/mtproto_proxy/src/mtp_config.erl"},{line,227}]},{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},{mtp_config,update_config,1,[{file,"/root/mtproto_proxy/src/mtp_config.erl"},{line,193}]},{mtp_config,init,1,[{file,"/root/mtproto_proxy/src/mtp_config.erl"},{line,138}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,423}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,390}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}}}}},[{mtproto_proxy_app,start,2,[{file,"/root/mtproto_proxy/src/mtproto_proxy_app.erl"},{line,34}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,293}]}]}}}}}"}
Jun 21 16:33:49 centos7 mtp_proxy[4110]: Kernel pid terminated (application_controller) ({application_start_failure,mtproto_proxy,{bad_return,{{mtproto_proxy_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,mtp_config,{{badmatch,{error,{connection_failed,<0.653.0>,{downstream_handshake_timeout,-3,handshake_1}}}},[{mtp_config,'-update_downstreams/2-fun-2-',1,[{file,"/root/mtproto_proxy/src/mtp_config.erl"},{line,227}]},{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},{mtp_config,update_config,1,[{file,"/root/mtproto_proxy/src/mtp_config.erl"},{line,193}]},{mtp_config,init,1,[{file,"/root/mtproto_proxy/src/mtp_config.erl"},{line,138}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,423}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,390}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}}}}},[{mtproto_proxy_app,start,2,[{file,"/root/mtproto_proxy/src/mtproto_proxy_app.erl"},{line,34}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,293}]}]}}}}})
Jun 21 16:33:49 centos7 systemd[1]: mtproto-proxy.service: main process exited, code=exited, status=1/FAILURE
Jun 21 16:33:49 centos7 mtp_proxy[4110]: Crash dump is being written to: erl_crash.dump...
Jun 21 16:33:49 centos7 systemd[1]: Unit mtproto-proxy.service entered failed state.
Jun 21 16:33:49 centos7 systemd[1]: mtproto-proxy.service failed.
Jun 21 16:33:49 centos7 systemd[1]: mtproto-proxy.service holdoff time over, scheduling restart.
Jun 21 16:33:49 centos7 systemd[1]: Stopped Starts the mtproto_proxy server.
Jun 21 16:33:49 centos7 systemd[1]: Started Starts the mtproto_proxy server.
Jun 21 16:33:49 centos7 mtp_proxy[4163]: Exec: /opt/mtp_proxy/erts-12.3.2.1/bin/erlexec -noinput +Bd -boot /opt/mtp_proxy/releases/0.1.0/start -mode embedded -boot_var SYSTEM_LIB_DIR /opt/mtp_proxy/lib -config /opt/mtp_proxy/releases/0.1.0/sys.config -args_file /opt/mtp_proxy/releases/0.1.0/vm.args -- foreground
Jun 21 16:33:49 centos7 mtp_proxy[4163]: Root: /opt/mtp_proxy
Jun 21 16:33:49 centos7 mtp_proxy[4163]: /opt/mtp_proxy

@alirezaimi
Copy link

same herer ,

Jun 25 10:31:56 imi mtp_proxy[1166080]: {"Kernel pid terminated",application_controller,"{application_start_failure,mtproto_proxy,{bad_return,{{mtprot
o_proxy_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,mtp_config,{{badmatch,{error,{failed_connect,[{to_address,{\
"core.telegram.org\",443}},{inet,[inet],timeout}]}}},[{mtp_config,http_get,1,[{file,\"/home/mtproto_proxy/src/mtp_config.erl\"},{line,273
}]},{mtp_config,update_key,1,[{file,\"/home/mtproto_proxy/src/mtp_config.erl\"},{line,186}]},{mtp_config,update,2,[{file,\"/home/git_
proj/mtproto_proxy/src/mtp_config.erl\"},{line,175}]},{mtp_config,init,1,[{file,\"/home/mtproto_proxy/src/mtp_config.erl\"},{line,138}]},
{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,417}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,385}]},{proc_lib,init_p_do_apply,
3,[{file,\"proc_lib.erl\"},{line,226}]}]}}}}},[{mtproto_proxy_app,start,2,[{file,\"/home/mtproto_proxy/src/mtproto_proxy_app.erl\"},{line
,34}]},{application_master,start_it_old,4,[{file,\"application_master.erl\"},{line,277}]}]}}}}}"}
Jun 25 10:31:56 imi mtp_proxy[1166080]: Kernel pid terminated (application_controller) ({application_start_failure,mtproto_proxy,{bad_return,{{mtproto
_proxy_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,m
Jun 25 10:31:56 imi mtp_proxy[1166080]:
Jun 25 10:31:56 imi mtp_proxy[1166080]: Crash dump is being written to: erl_crash.dump...
Jun 25 10:31:56 imi systemd[1]: mtproto-proxy.service: Main process exited, code=exited, status=1/FAILURE




Jun 25 10:31:57 imi mtp_proxy[1166181]: Exec: /opt/mtp_proxy/erts-11.1.8/bin/erlexec -noinput +Bd -boot /opt/mtp_proxy/releases/0.1.0/start -mode embedded -boot_var SYSTEM_LIB_DIR /opt/mtp_proxy/lib -config /opt/mtp_proxy/releases/0.1.0/sys.config -args_file /opt/mtp_proxy/releases/0.1.0/vm.args -- foreground

@Pezhvak
Copy link
Author

Pezhvak commented Jun 25, 2022

@seriyps sorry for mentioning, is it possible for you to take a look at this?

@rezabagh
Copy link

rezabagh commented Jul 4, 2022

@seriyps Any possible solution ?

@0xzxdx
Copy link

0xzxdx commented Aug 21, 2022

I also had the same problem.

@firebull
Copy link

firebull commented Sep 23, 2022

Same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@firebull @alirezaimi @Pezhvak @rezabagh @0xzxdx @vitalypetrovisbest and others