devtools-x icon indicating copy to clipboard operation
devtools-x copied to clipboard

App Crash on ping in linux

Open vnt-83 opened this issue 1 year ago • 2 comments

When I open the application, select Utilities -> Ping and press the Ping button (githib.com), the application freezes and closes. Launching from the console showed the log.

$ RUST_BACKTRACE=full devtools-x
thread 'tokio-runtime-worker' panicked at src/commands/ping.rs:151:38:
couldnn't get ttl
stack backtrace:
   0:     0x71566acd7109 - <unknown>
   1:     0x71566a8eb1f3 - <unknown>
   2:     0x71566ac9f822 - <unknown>
   3:     0x71566acd82d2 - <unknown>
   4:     0x71566acd8127 - <unknown>
   5:     0x71566acd87fc - <unknown>
   6:     0x71566acd83a8 - <unknown>
   7:     0x71566acd8309 - <unknown>
   8:     0x71566acd82fc - <unknown>
   9:     0x71566a6f745f - <unknown>
  10:     0x71566a6f792a - <unknown>
  11:     0x71566a7bdcc2 - <unknown>
  12:     0x71566a8461e4 - <unknown>
  13:     0x71566ad3aa6d - <unknown>
  14:     0x71566ad396d3 - <unknown>
  15:     0x71566ad42041 - <unknown>
  16:     0x71566ad38ba9 - <unknown>
  17:     0x71566ad3877e - <unknown>
  18:     0x71566ad3d87e - <unknown>
  19:     0x71566acda45b - <unknown>
  20:     0x715662ca370a - <unknown>
  21:     0x715662d27aac - <unknown>
  22:                0x0 - <unknown>
Aborted (core dumped)
$

My system: OS: EndeavourOS x86_64 Host: ASUS TUF Gaming F17 FX706HE_FX706HE (1.0) Kernel: Linux 6.13.3-arch1-1 Shell: bash 5.2.37 DE: KDE Plasma 6.3.1 WM: KWin (Wayland) CPU: 11th Gen Intel(R) Core(TM) i7-11800H (16) @ 4.60 GHz

vnt-83 avatar Feb 24 '25 08:02 vnt-83

Thanks for the report. I will test on a VM this weekend and fix accordingly.

which domain you were trying to ping can you provide details? I am suspecting it could be network/dns issue? can you ping the same domain with cli?

Sparkenstein avatar Feb 27 '25 06:02 Sparkenstein

I do have the same issue on Ubuntu 24.10 with a slightly different error.

Vorgang nicht zulässig (DE) => Process not permitted (EN)

RUST_BACKTRACE=full devtools-x
thread 'tokio-runtime-worker' panicked at src/commands/ping.rs:132:39:
called `Result::unwrap()` on an `Err` value: Os { code: 1, kind: PermissionDenied, message: "Vorgang nicht zulässig" }
stack backtrace:
   0:     0x769f492d7109 - <unknown>
   1:     0x769f48eeb1f3 - <unknown>
   2:     0x769f4929f822 - <unknown>
   3:     0x769f492d82d2 - <unknown>
   4:     0x769f492d8127 - <unknown>
   5:     0x769f492d87fc - <unknown>
   6:     0x769f492d83a8 - <unknown>
   7:     0x769f492d8309 - <unknown>
   8:     0x769f492d82fc - <unknown>
   9:     0x769f48cf745f - <unknown>
  10:     0x769f48cf7835 - <unknown>
  11:     0x769f48dbdd0a - <unknown>
  12:     0x769f48e461e4 - <unknown>
  13:     0x769f4933aa6d - <unknown>
  14:     0x769f493396d3 - <unknown>
  15:     0x769f49342041 - <unknown>
  16:     0x769f49338ba9 - <unknown>
  17:     0x769f4933877e - <unknown>
  18:     0x769f4933d87e - <unknown>
  19:     0x769f492da45b - <unknown>
  20:     0x769f410a1e2e - <unknown>
  21:     0x769f41133a4c - <unknown>
  22:                0x0 - <unknown>
[1]    212060 IOT instruction (core dumped)  RUST_BACKTRACE=full devtools-x

Manual ping is possible to the same domain:

ping github.com
PING github.com (140.82.121.4) 56(84) bytes of data.
64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=1 ttl=55 time=31.4 ms
64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=2 ttl=55 time=31.6 ms
64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=3 ttl=55 time=32.2 ms
64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=4 ttl=55 time=31.5 ms
64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=5 ttl=55 time=30.7 ms
^C
--- github.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 30.744/31.485/32.201/0.468 ms

Rhadros avatar Mar 30 '25 09:03 Rhadros