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]: Chromium : Crash when entering the Google Login page #1182

Open
hansm629 opened this issue Sep 8, 2024 · 20 comments
Open

[Bug]: Chromium : Crash when entering the Google Login page #1182

hansm629 opened this issue Sep 8, 2024 · 20 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@hansm629
Copy link

hansm629 commented Sep 8, 2024

Problem description

When you enter the Google Login page
Chromium browser is crashed.

The interesting thing is that there is no problem if it is a guest mode.

llvmpipe, virpipe, zink, and kgsl all have the same symptoms.

Chromium Ver : 125.0.6422.141

What steps will reproduce the bug?

Symptoms occur when you enter the Google Login page.

The error below is coming out.

[0908/235131.128511:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0908/235131.128990:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0908/235131.130112:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0908/235131.130317:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0908/235131.131777:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0908/235131.131851:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0908/235131.132030:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Segmentation fault

What is the expected behavior?

No response

System information

termux-info:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=15600
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.qvq.net.cn/termux/termux-main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://mirrors.qvq.net.cn/termux/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.43.4
Android version:
14
Kernel build information:
Linux localhost 5.15.123-android13-8-28577532-abX916NKOS4BXG5 #1 SMP PREEMPT Thu Jul 11 04:25:20 UTC 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-X916N
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:14
com.termux.api versionCode:51
@hansm629 hansm629 added bug Something isn't working untriaged labels Sep 8, 2024
@licy183 licy183 added help wanted Extra attention is needed and removed untriaged labels Sep 9, 2024
@licy183
Copy link
Collaborator

licy183 commented Sep 9, 2024

I don't have enough time to debug chromium-related apps these days. I'll mark this as help wanted.

@hansm629
Copy link
Author

hansm629 commented Sep 9, 2024

@kcubeterm
Could you please help me?

@EDLLT
Copy link

EDLLT commented Sep 12, 2024

@kcubeterm
Could you please help me?

I faced a similar issue with chromium as well when I had applications dependent on the browser for logging in and redirecting back to the applicaton. The best solution in my case was to use Firefox instead

@jorbig
Copy link

jorbig commented Sep 14, 2024

Same problem here. The crash only doesn't occur on Google login pages when browsing as a Guest...

@hansm629
Copy link
Author

hansm629 commented Oct 1, 2024

@knyipab
Sir, hello. Could you possibly build the latest version of the Chromium browser?
I would appreciate it.

@knyipab
Copy link
Contributor

knyipab commented Oct 2, 2024

I'm not an expert at all to handle chromium-related issues provided its complexity. And more importantly, I use less chromium these days, as it's not working well with termux-x11 + gboard CJK IME, so unfortunately it's a low priority for me.

@hansm629
Copy link
Author

hansm629 commented Oct 3, 2024

@knyipab
Thank you for your response.
This may not be related to the current issue, but when do you expect the release of LibreOffice?

I'm personally looking forward to it.

@knyipab
Copy link
Contributor

knyipab commented Oct 3, 2024

Thanks for attention. It is recommended to comment on LibreOffice-related issue at PR #1217. In short, no progress made since first shown in PR #1217. It's because my computer/device setup restricts me from debugging and compiling large app efficiently. Hope that someone can continue the work. Unfortunately licy183 is probably too busy to offer help.

@shiumano
Copy link

shiumano commented Oct 4, 2024

The crash occurs on the Discord login page as well as on the Google login page.
This problem is probably a compatibility issue between Chromium itself and Termux.
I have tried running Chromium's deb package for Ubuntu and Thorium, and it crashes under the same conditions.

@shiumano
Copy link

shiumano commented Oct 4, 2024

I don't think it matters much, but I ran it in Wayland (Weston) just in case.
It crashed normally.

@licy183
Copy link
Collaborator

licy183 commented Oct 4, 2024

Chromium in Termux doesn't have feature libudev enabled, but accessing Google Login page in chromium checks HID Service which needs libudev to work properly.

In both Termux and Proot envs, libudev will not work properly because neither of them have systemd support. Maybe some wrappers of libudev (such as https://github.com/therealkenc/libudev-stub) will make chromium in proot work.

@licy183
Copy link
Collaborator

licy183 commented Oct 5, 2024

Should be fixed by termux-user-repository/chromium-builder#32.

It will take about a day to build chromium using GitHub Action...

@hansm629
Copy link
Author

@licy183
When will the pull request be completed~?

I’m anxiously waiting~ :)

@licy183
Copy link
Collaborator

licy183 commented Oct 14, 2024

Ahhh... My vacation is over and I am still doing my internship. I don’t have enough network traffic to download chromium's source code.

@jorbig
Copy link

jorbig commented Oct 14, 2024

Hope someone (else) will pull this off in the near future!

@hansm629
Copy link
Author

@licy183
Even if it takes some time, I’ll wait patiently.
Please fix it...😭

Firefox is great, but when watching videos on YouTube, llvmpipe, virgl, zink, and kgsl all show poor frame rates.

However, the Chromium browser, based on zink and kgsl, was able to smoothly decode YouTube videos up to 1440p@60fps and 4K@30fps. (Tested on Snapdragon 8 Gen2, Snapdragon 8 Gen3, and Exynos 2400)

@EDLLT
Copy link

EDLLT commented Oct 14, 2024

@hansm629

Question, why do you bother using chromium within termux rather than the native android apps?
Or if you want a browser with extension support, then kiwi browser(FOSS) is also an option

I personally only use the browsers within termux if some site is causing trouble on the native android apps

@hansm629
Copy link
Author

@EDLLT
A browser that runs in the Termux XFCE4 computing environment is what really matters; an Android browser itself doesn't have any significance.

Switching from using Termux XFCE4 back to the Android home screen to launch a browser? That doesn't fit usability at all.

@shiumano
Copy link

@EDLLT
If you have access to a keyboard and mouse, there's no better option than Termux:X11.
Also, wouldn't it be nice to have developer tools in a split or separate window?

@nscreated
Copy link

My reason for wanting Chromium is that saving webpages as PWAs is a pretty good substitute for having a more robust app repository on Termux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants