TelegramMessenger / MTProxy

5.01k stars 830 forks source link

segmentation fault #468

Open user9931 opened 2 years ago

user9931 commented 2 years ago

Trying to run mtproxy with low container with 100mb of ram available and and gives following error (build on pc, checked that it runs successfully and copied to container)

./mtproto-proxy -u nobody -p 8888 -H 1443 proxy-multi.conf -M 1
Segmentation fault

dont know how to debug it... but strace shows

strace mtproto-proxy
execve("/usr/local/mtproto-proxy", ["mtproto-proxy"], 0x7fff69687450 /* 25 vars */) = -1 ENOMEM (Cannot allocate memory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=NULL} ---
+++ killed by SIGSEGV +++
Segmentation fault

Any suggestions how to understand whats going on? On pc it using around 10mb, so maybe it not about low ram (100 mb should be enough, right?)