trojanpanel / install-script

Multi-user web administration panel supporting Xray/Trojan-Go/Hysteria/NaiveProxy
https://trojanpanel.github.io
1.81k stars 466 forks source link

trojan-panel-core crash with CORE DUMP #337

Open netsupcloud opened 10 months ago

netsupcloud commented 10 months ago

hi,

i found some file about crash of trojan-panel-core's container in /var/lib/systemd/coredump and it is not related to xray based on core dumps

you can unzip and use lz4 to extract it and finally can debug with gdb core "core-file"

core.trojan-panel-co.0.b8b3be8888b44f349a2daab684a637f1.440671.1703321445000000.zip

there is my sensitive informations in it but is not important

netsupcloud commented 10 months ago

(gdb) core core.trojan-panel-co.0.fb2ca43a629f4f939be875a9fb2ca681.15385.1703072687000000 warning: Can't open file (null) during file-backed mapping note processing warning: Can't open file (null) during file-backed mapping note processing warning: Can't open file (null) during file-backed mapping note processing [New LWP 9] [New LWP 1] [New LWP 65] [New LWP 166] [New LWP 39] [New LWP 13] [New LWP 10] [New LWP 11] [New LWP 14] [New LWP 222] [New LWP 170] [New LWP 12] [New LWP 169] [New LWP 23] [New LWP 193] [New LWP 216] [New LWP 33] [New LWP 184] [New LWP 80] [New LWP 15] [New LWP 168] [New LWP 178] [New LWP 214] [New LWP 173] [New LWP 212] [New LWP 70] [New LWP 172] [New LWP 167] [New LWP 8] [New LWP 171] [New LWP 165] Core was generated by `./trojan-panel-core -host=127.0.0.1 -port=9507 -user=root -password=xxxxxxxx -d'. Program terminated with signal SIGSEGV, Segmentation fault.

0 0x0000000000443873 in ?? ()

[Current thread is 1 (LWP 9)] (gdb) list No symbol table is loaded. Use the "file" command. (gdb) file No executable file now. No symbol file now.

netsupcloud commented 10 months ago

these core dumps are not produced in every day crashes i removed all of them and they are not produced after containers crashes and resets every day they can happens when system is started to reboot middle of working of container and some memory is deleted.

netsupcloud commented 10 months ago

now i m sure that core dump is not related to reboot its done by crash because this time wasnt any reboot at crash time.

also trojan-panel-core is now in stall state it doesnt crash but cpu usage is high and status of all connections in panel in nodes are error but all of them work and only accounting doesnt work and all users can get connected freely until i restart trojan-panel-core

netsupcloud commented 10 months ago

this crash is obviously will happens more in rush times maybe if was one trojan-panel-core for each node was less crash or trojan panel core was out of container of nodes