Repository navigation
Closed
Description
version
* commit 8ec6b8569430166ec63268e780ee613c37910a2e (HEAD -> master, origin/master, origin/HEAD)
| Author: Jason Gauci <[email protected]>
| Date: Tue Jan 11 07:57:38 2022 -0600
env
$ uname -a
Linux han-NUC11ATKC4 5.13.0-35-generic #40~20.04.1-Ubuntu SMP Mon Mar 7 09:18:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
status
$ sudo systemctl status et.service
● et.service
Loaded: not-found (Reason: Unit et.service not found.)
Active: failed (Result: core-dump) since Sat 2022-03-19 19:21:57 CST; 1h 4min ago
Main PID: 5028 (code=dumped, signal=ABRT)
Mar 19 15:46:19 han-NUC11ATKC4 systemd[1]: Started Eternal Terminal.
Mar 19 19:21:57 han-NUC11ATKC4 systemd[1]: Stopping Eternal Terminal...
Mar 19 19:21:57 han-NUC11ATKC4 systemd[1]: et.service: Main process exited, code=dumped, status=6/ABRT
Mar 19 19:21:57 han-NUC11ATKC4 systemd[1]: et.service: Failed with result 'core-dump'.
Mar 19 19:21:57 han-NUC11ATKC4 systemd[1]: Stopped Eternal Terminal.
config
$ cat /etc/et.cfg
; et.cfg : Config file for Eternal Terminal
;
[Networking]
port = 2022
# bind_ip = 0.0.0.0
[Debug]
verbose = 0
silent = 0
logsize = 20971520
error log
$ tail -n 20 /tmp/etserver-2022-03-19_15-46.log
[INFO 2022-03-19 19:20:54,077 Bv6wTVeYKJ0hzCBm TerminalServer.cpp:330] Got keep alive
[INFO 2022-03-19 19:20:58,126 IjCTb4A3bs0ylVoO TerminalServer.cpp:330] Got keep alive
[INFO 2022-03-19 19:21:00,118 Bv6wTVeYKJ0hzCBm TerminalServer.cpp:330] Got keep alive
[INFO 2022-03-19 19:21:04,094 IjCTb4A3bs0ylVoO TerminalServer.cpp:330] Got keep alive
[INFO 2022-03-19 19:21:07,826 Bv6wTVeYKJ0hzCBm TerminalServer.cpp:278] Terminal session ended
[INFO 2022-03-19 19:21:07,826 Bv6wTVeYKJ0hzCBm Connection.cpp:145] Shutting down connection
[INFO 2022-03-19 19:21:07,937 server-clientHandler ServerConnection.cpp:67] Got client with id: Bv6wTVeYKJ0hzCBm
[INFO 2022-03-19 19:21:07,937 server-clientHandler ServerConnection.cpp:78] Got a client that we have no key for
[INFO 2022-03-19 19:21:10,060 IjCTb4A3bs0ylVoO TerminalServer.cpp:330] Got keep alive
[INFO 2022-03-19 19:21:13,870 IjCTb4A3bs0ylVoO TerminalServer.cpp:278] Terminal session ended
[INFO 2022-03-19 19:21:13,870 IjCTb4A3bs0ylVoO Connection.cpp:145] Shutting down connection
[INFO 2022-03-19 19:21:14,006 server-clientHandler ServerConnection.cpp:67] Got client with id: IjCTb4A3bs0ylVoO
[INFO 2022-03-19 19:21:14,006 server-clientHandler ServerConnection.cpp:78] Got a client that we have no key for
[FATAL 2022-03-19 19:21:57,740 etserver-main TerminalServer.cpp:61] Stack Trace:
[0] 0xc7992 et::TerminalServer::run()
[1] 0x8167a main
[2] 0x7fe7ca3f50b3 __libc_start_main
[3] 0x836ae _start
Error: (4): Interrupted system call
[WARNING 2022-03-19 19:21:57,740 etserver-main TerminalServer.cpp:61] Aborting application. Reason: Fatal log at [/build/et-0S6JQL/et-6.1.11/src/terminal/TerminalServer.cpp:61]
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]abort on ubuntu20.04[/-][+]core-dump on ubuntu20.04[/+]jwmcglynn commentedon Apr 30, 2022
The stack shows that the crash is on this line:
The error indicates that we've received a negative result from
select, and the resulting errno value isEINTR.It looks like this is normal behavior of
select, and EINTR should be ignored: https://www.hardening-consulting.com/en/posts/20210322-select-poll-and-eintr.htmlHandle EINTR exit codes from `select`
Handle EINTR exit codes from `select` (#516)