Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: mate-session trapped without debugging error (moved from termux-x11). #22708

Open
mexsrc opened this issue Dec 29, 2024 · 3 comments
Open
Labels
bug report Something is not working properly x11 Issue is related to stuff requiring X11 environment or x11-packages

Comments

@mexsrc
Copy link

mexsrc commented Dec 29, 2024

Problem description

When i execute mate-session, it doesn't debugging it's error, but print this message in aterm (without alias):

Trap

If you're tell me decompiler that support Termux, i investigate into mate-session in this folder:

/data/data/com.termux/files/usr/bin

What steps will reproduce the bug?

Note

This HTML code is resulted in this section, because this is option to create Github in-section spin-off of those Discord post.


1. Install mate by executing this command: pacman -Syy $(pacman -Ssq mate | grep -F "mate" | tail -n +2) marco --noconfirm 2. Execute this command: dbus-launch --exit-with-session mate-session

What is the expected behavior?

Screenshot.

Screenshot_2024-12-29-13-47-35-08_84d3000e3f4017145260f7618db1d683

Screenshot_2024-12-29-13-29-08-72_00df01c412509efb9bd6450c382822af

System information

Termux Variables:                                             TERMUX_APP_PACKAGE_MANAGER=pacman                             TERMUX_APP__APK_FILE=/data/app/~~HiLWo4VvFCcbRpGjpDgMgg==/com.termux-nQu6BGEFgY-oZdIpb9DGUQ==/base.apk                      TERMUX_APP__APK_RELEASE=UNKNOWN                               TERMUX_APP__APP_VERSION_CODE=1020                             TERMUX_APP__APP_VERSION_NAME=0.119.0-b1+monet36+fluent1       TERMUX_APP__DATA_DIR=/data/user/0/com.termux                  TERMUX_APP__IS_DEBUGGABLE_BUILD=true                          TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false            TERMUX_APP__PACKAGE_NAME=com.termux                           TERMUX_APP__PID=14416                                         TERMUX_APP__TARGET_SDK=28                                     TERMUX_VERSION=0.119.0-b1+monet36+fluent1                     TERMUX__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c217,c257,c512,c768                                                     TERMUX__SE_INFO=default:targetSdkVersion=28:complete          TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c217,c257,c512,c768                                                      TERMUX__UID=10473                                             TERMUX__USER_ID=0                                             Packages CPU architecture:                                    aarch64                                                       Subscribed repositories:                                      # /data/data/com.termux/files/usr/etc/pacman.conf             [main]                                                        Usage = All                                                   Server = https://service.termux-pacman.dev/main/aarch64       Server = https://s3.amazonaws.com/termux-pacman.us/main/aarch64                                                             [x11]                                                         Usage = All                                                   Server = https://service.termux-pacman.dev/x11/aarch64        Server = https://s3.amazonaws.com/termux-pacman.us/x11/aarch64[root]                                                        Usage = All                                                   Server = https://service.termux-pacman.dev/root/aarch64       Server = https://s3.amazonaws.com/termux-pacman.us/root/aarch64                                                             [tur]                                                         Usage = All                                                   Server = https://service.termux-pacman.dev/tur/aarch64        Server = https://s3.amazonaws.com/termux-pacman.us/tur/aarch64[tur-continuous]                                              Usage = All                                                   Server = https://service.termux-pacman.dev/tur-continuous/aarch64                                                           Server = https://s3.amazonaws.com/termux-pacman.us/tur-continuous/aarch64                                                   [tur-multilib]                                                Usage = All                                                   Server = https://service.termux-pacman.dev/tur-multilib/aarch64                                                             Server = https://s3.amazonaws.com/termux-pacman.us/tur-multilib/aarch64                                                     [gpkg]                                                        Usage = All                                                   Server = https://service.termux-pacman.dev/gpkg/aarch64       Server = https://s3.amazonaws.com/termux-pacman.us/gpkg/aarch64                                                             Updatable packages:                                           command-not-found 2.4.0-55 -> 2.4.0-56                        termux-tools version:                                         1.44.6                                                        Android version:                                              14                                                            Kernel build information:                                     Linux localhost 5.4.254-qgki-g849401d39e56 #1 SMP PREEMPT Thu Oct 24 16:28:48 CST 2024 aarch64 Android                      Device manufacturer:                                          OPPO                                                          Device model:                                                 CPH2529                                                       LD Variables:                                                 LD_LIBRARY_PATH=                                              LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so                                                            Installed termux plugins:                                     com.termux.x11 versionCode:14                                 com.termux.nix versionCode:188036                             com.termux.gui versionCode:7                                  com.termux.styling versionCode:1000
@mexsrc mexsrc added bug report Something is not working properly untriaged labels Dec 29, 2024
@twaik
Copy link
Member

twaik commented Dec 29, 2024

Probably that happens because mate tries to connect wayland first. Which is not available with termux-x11...

@mexsrc
Copy link
Author

mexsrc commented Dec 29, 2024

Probably that happens because mate tries to connect wayland first. Which is not available with termux-x11...

@twaik I have xwayland variant of weston (Xweston) for compatibility, through it's same output unexpectedly.

I have to configure my mate launch script, if xwayland variant of weston is not supported by termux-x11 in turn of my problem.

@Biswa96 Biswa96 added x11 Issue is related to stuff requiring X11 environment or x11-packages and removed untriaged labels Dec 29, 2024
@Biswa96
Copy link
Member

Biswa96 commented Jan 2, 2025

I can not reproduce the install in my setup with clean installed mate packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly x11 Issue is related to stuff requiring X11 environment or x11-packages
Projects
None yet
Development

No branches or pull requests

3 participants