Jump to content
Not connected, Your IP: 52.14.123.245
Sign in to follow this  
cboettcher

eddie-ui crashing in Linux Mint 19.3 after "Collect information..."

Recommended Posts

Version: 2.18.9

Output of final lines from strace below. The openvpn process, presumably spawned by eddie-ui,  stays up after the crash.

To restart, I kill the openvpn process manually and remove the pid file from /tmp before running Eddie. This has been happening only recently (say within the last month).
 

  active    ZFS startup target
. 2020.05.26 02:16:40 -     anacron.timer                                                                                                     loaded active
  waiting   Trigger anacron every hour
. 2020.05.26 02:16:40 -     apt-daily-upgrade.timer                                                                                           loaded active
  waiting   Daily apt upgrade and clean activities
. 2020.05.26 02:16:40 -     apt-daily.timer                                                                                                   loaded active
  waiting   Daily apt download activities
. 2020.05.26 02:16:40 -     fstrim.timer                                                                                                      loaded active
  waiting   Discard unused blocks once a week
. 2020.05.26 02:16:40 -     motd-news.timer                                                                                                   loaded active
  waiting   Message of the Day
. 2020.05.26 02:16:40 -     phpsessionclean.timer                                                                                             loaded active
  waiting   Clean PHP session files every 30 mins
. 2020.05.26 02:16:40 -     systemd-tmpfiles-clean.timer                                                                                      loaded active
  waiting   Daily Cleanup of Temporary Directories
. 2020.05.26 02:16:40 -     ureadahead-stop.timer                                                                                             loaded active
  elapsed   Stop ureadahead data collection 45s after completed startup
. 2020.05.26 02:16:40 -     LOAD   = Reflects whether the unit definition was properly loaded.
. 2020.05.26 02:16:40 -     ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
. 2020.05.26 02:16:40 -     SUB    = The low-level unit activation state, values depend on unit type.
. 2020.05.26 02:16:40 -     303 loaded units listed. Pass --all to see loaded but inactive units, too.
. 2020.05.26 02:16:40 -     To show all installed unit files use 'systemctl list-unit-files'.
. 2020.05.26 02:16:40 - Elevated: __Shell, stderr:
I 2020.05.26 02:16:40 - Checking route IPv4
! 2020.05.26 02:16:40 - Connected.
. 2020.05.26 02:16:40 - OpenVPN > Initialization Sequence Completed
. 2020.05.26 02:46:20 - Collect information about AirVPN completed
. 2020.05.26 03:16:33 - Above log line repeated 1 times more
. 2020.05.26 03:16:33 - OpenVPN > TLS: soft reset sec=0 bytes=215665844/-1 pkts=284122/0
. 2020.05.26 03:16:33 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2020.05.26 03:16:33 - OpenVPN > VERIFY KU OK
. 2020.05.26 03:16:33 - OpenVPN > Validating certificate extended key usage
. 2020.05.26 03:16:33 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2020.05.26 03:16:33 - OpenVPN > VERIFY EKU OK
. 2020.05.26 03:16:33 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=<server-name-redacted>, emailAddress=info@airvpn.org
. 2020.05.26 03:16:33 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.05.26 03:16:33 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.05.26 03:16:33 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
0x7ffc86e039e0, 0, NULL)      = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
wait4(-1, 0x7ffc86e039e0, 0, NULL)      = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
wait4(-1, . 2020.05.26 03:46:28 - Collect information about AirVPN completed
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux (intptr,intptr,intptr&) <0x0006b>
  at System.Drawing.Graphics.FromXDrawable (intptr,intptr) <0x00027>
Main exception: Error writing to socket
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 12237
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f4ef7c52f20}, {sa_handler=0x55f478e85160, sa_mask=[], sa_flags=SA_R
ESTORER, sa_restorer=0x7f4ef7c52f20}, 8) = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2995, ...}) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2995
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 17), ...}) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "/usr/bin/eddie-ui: line 2: 12237"..., 166/usr/bin/eddie-ui: line 2: 12237 Segmentation fault      (core dumped) mono /usr/lib/eddie-ui/eddie-ui.exe
--path.resources=/usr/share/eddie-ui --path.exec="$0" "$@"
) = 166
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=12237, si_uid=1000, si_status=SIGSEGV, si_utime=28376, si_stime=3175} ---
wait4(-1, 0x7ffc86e03410, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn({mask=[]})                 = 0
read(255, " \n", 109)                   = 2
read(255, "", 109)                      = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(139)                         = ?
+++ exited with 139 +++


  

Share this post


Link to post

So, I ran eddie-ui with the --advanced.expert flag and got the following. Note the call to free and what seems to be an NPE:
 

. 2020.05.29 14:18:28 - Collect information about AirVPN completed
. 2020.05.29 15:17:55 - Above log line repeated 1 times more
. 2020.05.29 15:17:55 - OpenVPN > TLS: soft reset sec=0 bytes=62217108/-1 pkts=233806/0
. 2020.05.29 15:17:55 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2020.05.29 15:17:55 - OpenVPN > VERIFY KU OK
. 2020.05.29 15:17:55 - OpenVPN > Validating certificate extended key usage
. 2020.05.29 15:17:55 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2020.05.29 15:17:55 - OpenVPN > VERIFY EKU OK
. 2020.05.29 15:17:55 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Hercules, emailAddress=info@airvpn.org
. 2020.05.29 15:17:55 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.05.29 15:17:55 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.05.29 15:17:55 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2020.05.29 15:18:37 - Collect information about AirVPN completed
. 2020.05.29 16:17:55 - Above log line repeated 1 times more
. 2020.05.29 16:17:55 - OpenVPN > TLS: soft reset sec=0 bytes=60397041/-1 pkts=222580/0
. 2020.05.29 16:17:55 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2020.05.29 16:17:55 - OpenVPN > VERIFY KU OK
. 2020.05.29 16:17:55 - OpenVPN > Validating certificate extended key usage
. 2020.05.29 16:17:55 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2020.05.29 16:17:55 - OpenVPN > VERIFY EKU OK
. 2020.05.29 16:17:55 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Hercules, emailAddress=info@airvpn.org
. 2020.05.29 16:17:55 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.05.29 16:17:55 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.05.29 16:17:55 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2020.05.29 16:18:46 - Collect information about AirVPN completed
free(): invalid pointer
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.RuntimeType.getFullName (System.RuntimeType,bool,bool) <0x0006d>
  at System.RuntimeType.ToString () <0x00010>
free(): invalid pointer
/usr/bin/eddie-ui: line 2:  2986 Aborted                 (core dumped) mono /usr/lib/eddie-ui/eddie-ui.exe --path.resources=/usr/share/eddie-ui --path.exec="$0" "$@"
[2020-05-29  17:17   Screenshots]$ Main exception: Error writing to socket
 
$ uname -r
4.15.0-101-generic
...
. 2020.05.29 07:17:10 - Shell(8) done in 9 ms, exit: 1, out: 'OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019
. 2020.05.29 07:17:10 -     library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
...
. 20.05.29 07:17:10 - Shell(9) of '/usr/bin/ssh', 1 args: '-V';
. 2020.05.29 07:17:10 - Shell(9) done in 6 ms, exit: 0, err: 'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017'
. 2020.05.29 07:17:10 - Shell(10) of '/usr/bin/stunnel4', 1 args: '-version'
. 2020.05.29 07:17:10 - Shell(10) done in 9 ms, exit: 0, err: 'stunnel 5.44 on x86_64-pc-linux-gnu platform
. 2020.05.29 07:17:10 -     Compiled with OpenSSL 1.1.0g  2 Nov 2017
. 2020.05.29 07:17:10 -     Running  with OpenSSL 1.1.1  11 Sep 2018
. 2020.05.29 07:17:10 -     Update OpenSSL shared libraries or rebuild stunnel
. 2020.05.29 07:17:10 -     Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
...
. 2020.05.29 07:17:10 - Shell(11) of '/usr/bin/curl', 1 args: '--version';
. 2020.05.29 07:17:10 - Shell(11) done in 11 ms, exit: 0, out: 'curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
. 2020.05.29 07:17:10 -     Release-Date: 2018-01-24
...

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...