termux-app icon indicating copy to clipboard operation
termux-app copied to clipboard

[Bug]: Cannot ping domains with roman symbols?

Open 2096779623 opened this issue 2 years ago • 8 comments

Problem description

image

busybox:

image

This domain name belongs to @sqlsec .

Ⅻ.㋏ == xii.ltd

This domain name is registered in China and may be inaccessible now because the domain owner has no record filing under Chinese law,but can ping.

On Windows 10:

image

On Powershell:

image

Why can't I ping this domain name in termux?

Log:

Transcript

Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat:     https://gitter.im/termux/termux
IRC channel:     #termux on libera.chat

Working with packages:

 * Search packages:   pkg search <query>
 * Install a package: pkg install <package>
 * Upgrade packages:  pkg upgrade

Subscribing to additional repositories:

 * Root:     pkg install root-repo
 * X11:      pkg install x11-repo

Report issues at https://termux.com/issues

~ $ ping Ⅻ.㋏
ping: unknown host Ⅻ.㋏
~ $

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
APK_RELEASE: Github
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Termux APT Info

Subscribed Repositories

sources.list

deb https://termux.librehat.com/apt/termux-main/ stable main

Updatable Packages

apt/stable 2.3.15 i686 [upgradable from: 2.3.13-3]
bash/stable 5.1.16 i686 [upgradable from: 5.1.12-2]
command-not-found/stable 1.73 i686 [upgradable from: 1.71]
debianutils/stable 5.7 i686 [upgradable from: 5.5]
ed/stable 1.18 i686 [upgradable from: 1.17-4]
libexpat/stable 2.4.6 i686 [upgradable from: 2.4.2]
libgnutls/stable 3.7.3 i686 [upgradable from: 3.6.16-1]
libnghttp2/stable 1.47.0 i686 [upgradable from: 1.46.0]
libtirpc/stable 1.3.2-1 i686 [upgradable from: 1.3.2]
libunistring/stable 1.0 i686 [upgradable from: 0.9.10-5]
nano/stable 6.2 i686 [upgradable from: 6.0]
ncurses/stable 6.3 i686 [upgradable from: 6.2.20200725-6]
openssl/stable 1.1.1m-2 i686 [upgradable from: 1.1.1l]
termux-keyring/stable 3.0 all [upgradable from: 2.4]
termux-licenses/stable 2.0-2 all [upgradable from: 2.0-1]
termux-tools/stable 0.163 all [upgradable from: 0.155]

Termux Files Info

TERMUX_REQUIRED_FILES_DIR_PATH ($PREFIX): /data/data/com.termux/files
ANDROID_ASSIGNED_FILES_DIR_PATH: /data/user/0/com.termux/files

$ echo 'ls info:'
/system/bin/ls -lhdZ '/data/data' '/data/user/0' '/data/data/com.termux' '/data/user/0/com.termux' '/data/data/com.termux/files' '/data/user/0/com.termux/files' '/data/user/0/com.termux/files' '/data/user/com.termux/files' '/data/data/com.termux/files/usr-staging' '/data/data/com.termux/files/usr' '/data/data/com.termux/files/home' '/data/data/com.termux/files/usr/bin/login' 2>&1
echo; echo 'mount info:'
/system/bin/grep -E '( /data )|( /data/data )|( /data/user/[0-9]+ )' /proc/self/mountinfo 2>&1 | /system/bin/grep -v '/data_mirror' 2>&1

ls info:
ls: /data/user/com.termux/files: No such file or directory
ls: /data/data/com.termux/files/usr-staging: No such file or directory
drwxrwx--x 57 system system ? 4.0K 2022-02-25 12:13 /data/data
drwx------  6 u0_a42 u0_a42 ? 4.0K 2022-02-25 12:13 /data/data/com.termux
drwxrwx--x  4 u0_a42 u0_a42 ? 4.0K 2022-02-25 12:13 /data/data/com.termux/files
drwx------  3 u0_a42 u0_a42 ? 4.0K 2022-02-25 12:13 /data/data/com.termux/files/home
drwx------ 11 u0_a42 u0_a42 ? 4.0K 2022-02-25 12:13 /data/data/com.termux/files/usr
-rwx------  1 u0_a42 u0_a42 ? 1.4K 2022-02-25 12:13 /data/data/com.termux/files/usr/bin/login
lrwxrwxrwx  1 root   root   ?   10 2019-09-10 18:54 /data/user/0 -> /data/data
drwx------  6 u0_a42 u0_a42 ? 4.0K 2022-02-25 12:13 /data/user/0/com.termux
drwxrwx--x  4 u0_a42 u0_a42 ? 4.0K 2022-02-25 12:13 /data/user/0/com.termux/files
drwxrwx--x  4 u0_a42 u0_a42 ? 4.0K 2022-02-25 12:13 /data/user/0/com.termux/files

mount info:
1130 1087 8:19 / /data rw,nosuid,nodev,relatime master:15 - ext4 /dev/block/sdb3 rw,data=ordered

Logcat Dump

$ /system/bin/logcat -d -t 3000 2>&1
--------- beginning of main
02-25 12:13:32.333  4593  4593 I art     : Late-enabling -Xcheck:jni
02-25 12:13:32.334  4593  4593 W art     : Unexpected CPU variant for X86 using defaults: x86
02-25 12:13:32.386  4593  4593 W System  : ClassLoader referenced unknown path: 
02-25 12:13:32.386  4593  4593 D ApplicationLoaders: ignored Vulkan layer search path /data/app/com.termux-1/lib/x86:/data/app/com.termux-1/base.apk!/lib/x86 for namespace 0xc1c01090
02-25 12:13:32.403  4593  4593 W Termux:SharedProperties: Not loading properties since file is null
02-25 12:13:32.442  4593  4615 E WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found
02-25 12:13:32.454  4593  4617 I OMXClient: MuxOMX ctor
02-25 12:13:32.455  4593  4593 D         : HostConnection::get() New Host Connection established 0xb9bde5c0, tid 4593
02-25 12:13:32.455  4593  4593 W         : Process pipe failed
02-25 12:13:32.510  4593  4616 D         : HostConnection::get() New Host Connection established 0xa9437240, tid 4616
02-25 12:13:32.513  4593  4616 I OpenGLRenderer: Initialized EGL, version 1.4
02-25 12:13:32.513  4593  4616 D OpenGLRenderer: Swap behavior 1
02-25 12:13:32.513  4593  4616 E EGL_adreno: CreateContext rcMajorVersion:3, minorVersion:1
02-25 12:13:32.528  4593  4616 D EGL_adreno: eglCreateContext: 0xc2e45760: maj 3 min 1 rcv 3
02-25 12:13:32.554  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:13:32.554  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xc2675fa0, error=EGL_BAD_MATCH
02-25 12:13:32.559  4593  4625 I Termux:TermuxInstaller: Installing Termux bootstrap packages.
02-25 12:13:32.561  4593  4625 I Termux:TermuxInstaller: Extracting bootstrap zip to prefix staging directory "/data/data/com.termux/files/usr-staging".
02-25 12:13:32.655  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:13:32.655  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xb9b6df60, error=EGL_BAD_MATCH
02-25 12:13:34.405  4593  4625 I Termux:TermuxInstaller: Moving termux prefix staging to prefix directory.
02-25 12:13:34.405  4593  4625 I Termux:TermuxInstaller: Bootstrap packages installed successfully.
02-25 12:13:34.405  4593  4593 W Termux:SharedProperties: Not loading properties since file is null
02-25 12:13:34.451  4593  4593 W Termux:SharedProperties: Not loading properties since file is null
02-25 12:13:34.453  4593  4598 I art     : Do partial code cache collection, code=30KB, data=29KB
02-25 12:13:34.454  4593  4598 I art     : After code cache collection, code=24KB, data=25KB
02-25 12:13:34.454  4593  4598 I art     : Increasing code cache capacity to 128KB
02-25 12:13:34.456  4593  4593 W Termux:SharedProperties: Not loading properties since file is null
02-25 12:13:34.484  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:13:34.485  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa945f6e0, error=EGL_BAD_MATCH
02-25 12:16:53.830  4593  4598 I art     : Do partial code cache collection, code=52KB, data=48KB
02-25 12:16:53.830  4593  4598 I art     : After code cache collection, code=47KB, data=45KB
02-25 12:16:53.830  4593  4598 I art     : Increasing code cache capacity to 256KB
02-25 12:21:38.132  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:38.133  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa862f500, error=EGL_BAD_MATCH
02-25 12:21:38.171  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:38.171  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa862f540, error=EGL_BAD_MATCH
02-25 12:21:38.267  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:38.267  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa43ff080, error=EGL_BAD_MATCH
02-25 12:21:44.266  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:44.266  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa43ff660, error=EGL_BAD_MATCH
02-25 12:21:45.096  4593  4616 D OpenGLRenderer: endAllActiveAnimators on 0xa43df100 (RippleDrawable) with handle 0xa8608010
02-25 12:21:51.293  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:51.293  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa43fff00, error=EGL_BAD_MATCH
02-25 12:21:51.306  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:51.306  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa43fffc0, error=EGL_BAD_MATCH
02-25 12:21:51.386  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:51.386  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa4470060, error=EGL_BAD_MATCH
02-25 12:21:51.979  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:51.979  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xc2e29b20, error=EGL_BAD_MATCH
02-25 12:21:52.125  4593  4616 D OpenGLRenderer: endAllActiveAnimators on 0xa43f8300 (RippleDrawable) with handle 0xa86080d0
02-25 12:21:53.907  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:53.907  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa43fff20, error=EGL_BAD_MATCH
02-25 12:21:55.866  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:55.866  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa84fe1c0, error=EGL_BAD_MATCH
02-25 12:21:56.832  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:56.832  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa4366b20, error=EGL_BAD_MATCH
02-25 12:21:56.853  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:56.853  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa4366be0, error=EGL_BAD_MATCH
02-25 12:21:56.941  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:56.941  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa4366c60, error=EGL_BAD_MATCH
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: (1) APT Info Command:
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: Previous State: `Executed`
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: Current State: `Success`
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: 
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: Stdout:
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: ```
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: (truncated) gradable from: 5.1.12-2]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: command-not-found/stable 1.73 i686 [upgradable from: 1.71]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: debianutils/stable 5.7 i686 [upgradable from: 5.5]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: ed/stable 1.18 i686 [upgradable from: 1.17-4]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: libexpat/stable 2.4.6 i686 [upgradable from: 2.4.2]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: libgnutls/stable 3.7.3 i686 [upgradable from: 3.6.16-1]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: libnghttp2/stable 1.47.0 i686 [upgradable from: 1.46.0]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: libtirpc/stable 1.3.2-1 i686 [upgradable from: 1.3.2]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: libunistring/stable 1.0 i686 [upgradable from: 0.9.10-5]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: nano/stable 6.2 i686 [upgradable from: 6.0]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: ncurses/stable 6.3 i686 [upgradable from: 6.2.20200725-6]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: openssl/stable 1.1.1m-2 i686 [upgradable from: 1.1.1l]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: termux-keyring/stable 3.0 all [upgradable from: 2.4]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: termux-licenses/stable 2.0-2 all [upgradable from: 2.0-1]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: termux-tools/stable 0.163 all [upgradable from: 0.155]
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: ```
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: ##
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: 
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: 
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: 
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: ```
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: 
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: Stderr:
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: ```
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: find: ‘/data/data/com.termux/files/usr/etc/apt/sources.list.d’: No such file or directory
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: 
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: ```
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: 
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: Exit Code: `0`
02-25 12:21:57.145  4593  6003 E Termux:TermuxUtils: 
02-25 12:21:57.157  4593  4593 W art     : Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
02-25 12:21:57.275  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:21:57.275  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa3f1d640, error=EGL_BAD_MATCH
02-25 12:21:57.371  4593  4593 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
02-25 12:22:01.552  4593  4598 I art     : Do full code cache collection, code=124KB, data=103KB
02-25 12:22:01.553  4593  4598 I art     : Starting a blocking GC JitCodeCache
02-25 12:22:01.553  4593  4598 I art     : After code cache collection, code=105KB, data=77KB
02-25 12:22:07.376  4593  4593 W art     : Before Android 4.1, method int androidx.appcompat.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
02-25 12:22:07.377  4593  4593 W art     : Before Android 4.1, method int androidx.appcompat.widget.MenuPopupWindow$MenuDropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
02-25 12:22:07.414  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:07.414  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa43b5ac0, error=EGL_BAD_MATCH
02-25 12:22:07.421  4593  4598 I art     : Do partial code cache collection, code=122KB, data=95KB
02-25 12:22:07.421  4593  4598 I art     : After code cache collection, code=115KB, data=90KB
02-25 12:22:07.421  4593  4598 I art     : Increasing code cache capacity to 512KB
02-25 12:22:12.204  4593  6140 I OMXClient: MuxOMX ctor
02-25 12:22:12.253  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:12.253  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa43b5ac0, error=EGL_BAD_MATCH
02-25 12:22:19.774  4593  4593 W IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
02-25 12:22:19.775  4593  4593 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
02-25 12:22:20.422  4593  6183 I OMXClient: MuxOMX ctor
02-25 12:22:20.513  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:20.513  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa4468c20, error=EGL_BAD_MATCH
02-25 12:22:20.588  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:20.588  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa9210320, error=EGL_BAD_MATCH
02-25 12:22:30.314  4593  4593 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
02-25 12:22:30.314  4593  4593 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
02-25 12:22:30.314  4593  4593 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
02-25 12:22:30.314  4593  4593 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
02-25 12:22:30.341  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:30.341  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa9210ae0, error=EGL_BAD_MATCH
02-25 12:22:30.357  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:30.357  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa36ff540, error=EGL_BAD_MATCH
02-25 12:22:30.357  4593  4593 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
02-25 12:22:30.357  4593  4593 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
02-25 12:22:30.357  4593  4593 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
02-25 12:22:30.357  4593  4593 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
02-25 12:22:30.689  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:30.689  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa43ff1a0, error=EGL_BAD_MATCH
02-25 12:22:31.140  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:31.140  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa36ff560, error=EGL_BAD_MATCH
02-25 12:22:31.275  4593  4616 D OpenGLRenderer: endAllActiveAnimators on 0xa3634680 (RippleDrawable) with handle 0xa8640a80
02-25 12:22:32.670  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:32.670  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa36ff520, error=EGL_BAD_MATCH
02-25 12:22:33.726  4593  4616 E EGL_adreno: tid 4616: eglSurfaceAttrib(1582): error 0x3009 (EGL_BAD_MATCH)
02-25 12:22:33.726  4593  4616 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa36ffd00, error=EGL_BAD_MATCH
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: (1) APT Info Command:
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: Previous State: `Executed`
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: Current State: `Success`
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: 
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: Stdout:
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: ```
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: (truncated) gradable from: 5.1.12-2]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: command-not-found/stable 1.73 i686 [upgradable from: 1.71]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: debianutils/stable 5.7 i686 [upgradable from: 5.5]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: ed/stable 1.18 i686 [upgradable from: 1.17-4]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: libexpat/stable 2.4.6 i686 [upgradable from: 2.4.2]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: libgnutls/stable 3.7.3 i686 [upgradable from: 3.6.16-1]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: libnghttp2/stable 1.47.0 i686 [upgradable from: 1.46.0]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: libtirpc/stable 1.3.2-1 i686 [upgradable from: 1.3.2]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: libunistring/stable 1.0 i686 [upgradable from: 0.9.10-5]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: nano/stable 6.2 i686 [upgradable from: 6.0]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: ncurses/stable 6.3 i686 [upgradable from: 6.2.20200725-6]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: openssl/stable 1.1.1m-2 i686 [upgradable from: 1.1.1l]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: termux-keyring/stable 3.0 all [upgradable from: 2.4]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: termux-licenses/stable 2.0-2 all [upgradable from: 2.0-1]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: termux-tools/stable 0.163 all [upgradable from: 0.155]
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: ```
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: ##
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: 
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: 
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: 
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: ```
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: 
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: Stderr:
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: ```
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: find: ‘/data/data/com.termux/files/usr/etc/apt/sources.list.d’: No such file or directory
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: 
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: ```
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: 
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: Exit Code: `0`
02-25 12:22:35.116  4593  6236 E Termux:TermuxUtils: 

Steps to reproduce the behavior.

ping Ⅻ.㋏

What is the expected behavior?

PING x.sqlsec.com (121.196.37.183) 56(84) bytes of data. 64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=1 ttl=53 time=45.9 ms 64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=2 ttl=53 time=42.9 ms 64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=3 ttl=53 time=42.6 ms 64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=4 ttl=53 time=43.4 ms

--- x.sqlsec.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 7125ms rtt min/avg/max/mdev = 42.593/43.701/45.898/1.301 ms

System information

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
APK_RELEASE: Github
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Device Info

Software

OS_VERSION: 4.0.9
SDK_INT: 25
RELEASE: 7.1.2
ID: N2G48H
DISPLAY: OnePlus-user 7.1.2 20171130.276299 release-keys
INCREMENTAL: rel.se.infra.20200730.150525
SECURITY_PATCH: 2017-10-05
IS_DEBUGGABLE: 0
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: OnePlus
BRAND: OnePlus
MODEL: HD1910
PRODUCT: HD1910
BOARD: SM8150-AC
HARDWARE: intel
DEVICE: HD1910
SUPPORTED_ABIS: x86, armeabi-v7a, armeabi

2096779623 avatar Feb 25 '22 04:02 2096779623

which --all ping ?
including the version(s) :neckbeard:

ChiefMikeK avatar Feb 25 '22 05:02 ChiefMikeK

Cannot ping domains with roman symbols

I have written a new command called pinghelp which is a helper script made to help users out with ping in the Termux Android computer environment with and without PRoot; Can you test ping with this command, and share your results with this brand new pinghelp command after refreshing your system with setupTermuxArch re if you have TermuxArch installed please?

Screenshot_20220225-003542

00:32~$ ~/arch/usr/local/bin/pinghelp Ⅻ.㋏
/data/data/com.termux/files/usr/bin/ping

Running command '/system/bin/ping -c 2 -i 4 Ⅻ.㋏':
ping: unknown host Ⅻ.㋏
Signal received:  Continuing...

Running command '/data/data/com.termux/files/usr/bin/ping -c 2 -i 8 Ⅻ.㋏':
ping: unknown host Ⅻ.㋏
Signal received:  Continuing...

Running command '/bin/ping -c 2 -i 6 Ⅻ.㋏':
ping: unknown host Ⅻ.㋏
Signal received:  Continuing...

Running command '/usr/bin/ping -c 2 -i 7 Ⅻ.㋏':
ping: unknown host Ⅻ.㋏
Signal received:  Continuing...

Running command 'curl -I Ⅻ.㋏ 80':
curl: (6) Could not resolve host: Ⅻ.㋏
Signal received:  Continuing...

Running command 'dig Ⅻ.㋏':

; <<>> DiG 9.16.11 <<>> Ⅻ.㋏
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 51349
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;\226\133\171.\227\139\143.     IN      A

;; AUTHORITY SECTION:
.                       86400   IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2022022500 1800 900 604800 86400

;; Query time: 72 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Feb 25 00:32:43 EST 2022
;; MSG SIZE  rcvd: 111


Running command 'telnet Ⅻ.㋏ 79':
Server lookup failure:  Ⅻ.㋏:80, No address associated with hostname
Signal received:  Continuing...

The Termux packages 'dnsutils', 'lynx' and 'strace' can be helpful in diagnosing network issues.  The 'telnet' command can assist as well.
Command pinghelp Ⅻ.㋏ version 2.1.14: DONE 🏁
00:32~$ !st
00:32~$ startarch s user 'pinghelp Ⅻ.㋏'
/usr/bin/ping

Running command '/system/bin/ping -c 2 -i 5 Ⅻ.㋏':
ping: unknown host Ⅻ.㋏
Signal received:  Continuing...

Running command '/data/data/com.termux/files/usr/bin/ping -c 2 -i 2 Ⅻ.㋏':
ping: unknown host Ⅻ.㋏
Signal received:  Continuing...

Running command '/bin/ping -c 2 -i 8 Ⅻ.㋏':
PING x.sqlsec.com (121.196.37.183) 56(84) bytes of data.
64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=2 ttl=34 time=601 ms

--- x.sqlsec.com ping statistics ---
2 packets transmitted, 1 received, 50% packet loss, time 8075ms
rtt min/avg/max/mdev = 600.790/600.790/600.790/0.000 ms

Running command '/usr/bin/ping -c 2 -i 3 Ⅻ.㋏':
PING x.sqlsec.com (121.196.37.183) 56(84) bytes of data.
64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=2 ttl=34 time=481 ms

--- x.sqlsec.com ping statistics ---
2 packets transmitted, 1 received, 50% packet loss, time 3026ms
rtt min/avg/max/mdev = 481.294/481.294/481.294/0.000 ms

Running command 'curl -I Ⅻ.㋏ 80':
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 25 Feb 2022 05:34:07 GMT
Content-Type: text/html
Content-Length: 1090
Last-Modified: Thu, 24 Feb 2022 07:31:55 GMT
Connection: keep-alive
Vary: Accept-Encoding
ETag: "6217346b-442"
Strict-Transport-Security: max-age=31536000
Accept-Ranges: bytes


Running command 'dig Ⅻ.㋏':

; <<>> DiG 9.18.0 <<>> Ⅻ.㋏
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51683
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;xii.ltd.                       IN      A

;; ANSWER SECTION:
xii.ltd.                558     IN      CNAME   x.sqlsec.com.
x.sqlsec.com.           558     IN      A       121.196.37.183

;; Query time: 48 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Fri Feb 25 00:34:08 EST 2022
;; MSG SIZE  rcvd: 78


Running command 'telnet Ⅻ.㋏ 79':
/usr/local/bin/pinghelp: line 62: telnet: command not found
Signal received:  Continuing...

The Termux packages 'dnsutils', 'lynx' and 'strace' can be helpful in diagnosing network issues.  The 'telnet' command can assist as well.
Command pinghelp Ⅻ.㋏ version 2.1.14: DONE 🏁

@2096779623 installing Arch Linux in Termux PRoot is not necessary as the command setupTermuxArch bloom can deposit helper script pinghelp in $HOME/arch/usr/local/bin; limited dns help is touched upon at present.

SDRausty avatar Feb 25 '22 05:02 SDRausty

/data/data/com.termux/files/usr/bin/which: this version of which' is deprecated; use command -v' in scripts instead. /data/data/com.termux/files/usr/bin/ping

2096779623 avatar Feb 25 '22 06:02 2096779623

@2096779623 you should update your updatable packages too.

SDRausty avatar Feb 25 '22 06:02 SDRausty

'strace' can be helpful

$ startarch s user 'strace -c ping -c 4 Ⅻ.㋏'
proot warning: ptrace request 'PTRACE_???' not supported yet
PING x.sqlsec.com (121.196.37.183) 56(84) bytes of data.
64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=1 ttl=36 time=400 ms
64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=2 ttl=36 time=509 ms
64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=4 ttl=36 time=416 ms

--- x.sqlsec.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3038ms
rtt min/avg/max/mdev = 399.586/441.603/509.395/48.392 ms
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
  0.00    0.000000           0         8           ioctl
  0.00    0.000000           0         1         1 faccessat
  0.00    0.000000           0        36         9 openat
  0.00    0.000000           0        46           close
  0.00    0.000000           0         2           getdents64
  0.00    0.000000           0         4           lseek
  0.00    0.000000           0        44           read
  0.00    0.000000           0         8           write
  0.00    0.000000           0        27           ppoll
  0.00    0.000000           0        36           newfstatat
  0.00    0.000000           0         7           capget
  0.00    0.000000           0         1           capset
  0.00    0.000000           0         1           set_tid_address
  0.00    0.000000           0         4           futex
  0.00    0.000000           0         1           set_robust_list
  0.00    0.000000           0         1           setitimer
  0.00    0.000000           0        44           clock_gettime
  0.00    0.000000           0         3           rt_sigaction
  0.00    0.000000           0        19           rt_sigprocmask
  0.00    0.000000           0         1         1 rt_sigreturn
  0.00    0.000000           0         1           setuid
  0.00    0.000000           0         3           uname
  0.00    0.000000           0         8         3 prctl
  0.00    0.000000           0         4           gettimeofday
  0.00    0.000000           0         1           getpid
  0.00    0.000000           0         2           getuid
  0.00    0.000000           0        19           socket
  0.00    0.000000           0         6           bind
  0.00    0.000000           0        11         6 connect
  0.00    0.000000           0         7           getsockname
  0.00    0.000000           0        15           sendto
  0.00    0.000000           0         6           recvfrom
  0.00    0.000000           0        30         6 setsockopt
  0.00    0.000000           0        13           getsockopt
  0.00    0.000000           0        41         2 recvmsg
  0.00    0.000000           0         4           brk
  0.00    0.000000           0        26           munmap
  0.00    0.000000           0         1           execve
  0.00    0.000000           0        43           mmap
  0.00    0.000000           0        24           mprotect
  0.00    0.000000           0         1           prlimit64
  0.00    0.000000           0         1           sendmmsg
  0.00    0.000000           0         2           getrandom
  0.00    0.000000           0         1           rseq
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000           0       564        28 total

SDRausty avatar Feb 25 '22 06:02 SDRausty

@2096779623你也应该更新你的可更新包。

it doesn't help.

2096779623 avatar Feb 25 '22 08:02 2096779623

'strace' 可能会有所帮助

$ startarch s user 'strace -c ping -c 4 Ⅻ.㋏'
proot warning: ptrace request 'PTRACE_???' not supported yet
PING x.sqlsec.com (121.196.37.183) 56(84) bytes of data.
64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=1 ttl=36 time=400 ms
64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=2 ttl=36 time=509 ms
64 bytes from 121.196.37.183 (121.196.37.183): icmp_seq=4 ttl=36 time=416 ms

--- x.sqlsec.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3038ms
rtt min/avg/max/mdev = 399.586/441.603/509.395/48.392 ms
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
  0.00    0.000000           0         8           ioctl
  0.00    0.000000           0         1         1 faccessat
  0.00    0.000000           0        36         9 openat
  0.00    0.000000           0        46           close
  0.00    0.000000           0         2           getdents64
  0.00    0.000000           0         4           lseek
  0.00    0.000000           0        44           read
  0.00    0.000000           0         8           write
  0.00    0.000000           0        27           ppoll
  0.00    0.000000           0        36           newfstatat
  0.00    0.000000           0         7           capget
  0.00    0.000000           0         1           capset
  0.00    0.000000           0         1           set_tid_address
  0.00    0.000000           0         4           futex
  0.00    0.000000           0         1           set_robust_list
  0.00    0.000000           0         1           setitimer
  0.00    0.000000           0        44           clock_gettime
  0.00    0.000000           0         3           rt_sigaction
  0.00    0.000000           0        19           rt_sigprocmask
  0.00    0.000000           0         1         1 rt_sigreturn
  0.00    0.000000           0         1           setuid
  0.00    0.000000           0         3           uname
  0.00    0.000000           0         8         3 prctl
  0.00    0.000000           0         4           gettimeofday
  0.00    0.000000           0         1           getpid
  0.00    0.000000           0         2           getuid
  0.00    0.000000           0        19           socket
  0.00    0.000000           0         6           bind
  0.00    0.000000           0        11         6 connect
  0.00    0.000000           0         7           getsockname
  0.00    0.000000           0        15           sendto
  0.00    0.000000           0         6           recvfrom
  0.00    0.000000           0        30         6 setsockopt
  0.00    0.000000           0        13           getsockopt
  0.00    0.000000           0        41         2 recvmsg
  0.00    0.000000           0         4           brk
  0.00    0.000000           0        26           munmap
  0.00    0.000000           0         1           execve
  0.00    0.000000           0        43           mmap
  0.00    0.000000           0        24           mprotect
  0.00    0.000000           0         1           prlimit64
  0.00    0.000000           0         1           sendmmsg
  0.00    0.000000           0         2           getrandom
  0.00    0.000000           0         1           rseq
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000           0       564        28 total

I think it might only work in Proot Linux.

Execute strace using the Termux environment:

ping: unknown host Ⅻ.㋏
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- -------------------
 21.43    0.030000         129       231           mmap
 14.29    0.020000         139       143           munmap
 14.29    0.020000         129       155           prctl
  7.14    0.010000          89       112           mprotect
  7.14    0.010000       10000         1           getuid
  7.14    0.010000         169        59           read
  7.14    0.010000         129        77         6 newfstatat
  7.14    0.010000         769        13           readlinkat
  7.14    0.010000         333        30           fstat
  7.14    0.010000         285        35         2 openat
  0.00    0.000000           0         3           fcntl
  0.00    0.000000           0        11           fstatfs
  0.00    0.000000           0         9           faccessat
  0.00    0.000000           0        34           close
  0.00    0.000000           

2096779623 avatar Feb 25 '22 08:02 2096779623

~ $ startarch l user
user12:58~$ ping -c 2 -n Ⅻ.㋏
PING x.sqlsec.com (121.196.37.183) 56(84) bytes of data.
64 bytes from 121.196.37.183: icmp_seq=1 ttl=33 time=269 ms
64 bytes from 121.196.37.183: icmp_seq=2 ttl=33 time=303 ms

--- x.sqlsec.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 269.343/286.240/303.138/16.897 ms
user12:59~$ e
logout
~ $ proot-distro login alpine
localhost:~# ping -c 2 -n Ⅻ.㋏
ping: bad address 'Ⅻ.㋏'

SDRausty avatar Feb 25 '22 18:02 SDRausty