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

[Bug]: qt based packages failed to open with segmentation fault while using xserver xsdl.

Open xu3s opened this issue 3 years ago • 9 comments

Problem description

as the title said, when i try to open qt based packages when using xserver xsdl.it throws segmentation fault but somehow it work fine when opened using termux:x11.

while i would like to use termux:x11 mainly,but it keep crashing on me and sometimes it just doesn't work with my need. i have asked this on discord but got no answer.

gdb log : https://www.dropbox.com/s/gjy15lu5t6stptw/gdb.txt?dl=0

What steps will reproduce the bug?

open qterminal, otter-browser or any other qt based packages

What is the expected behavior?

the apps/packages just work just fine

System information

~ $ termux-info Application version: 0.118.0 Packages CPU architecture: aarch64 Subscribed repositories:

sources.list

deb https://termux.astra.in.ua/apt/termux-main/ stable main

x11-repo (sources.list.d/x11.list)

deb https://packages-cf.termux.org/apt/termux-x11 x11 main

sources.list.d/pointless.list

deb https://its-pointless.github.io/files/24 termux extras Updatable packages: All packages up to date Android version: 9 Kernel build information: Linux localhost 4.4.153-perf+ termux/x11-packages#1 SMP PREEMPT Thu Feb 20 17:26:22 CST 2020 aarch64 Android Device manufacturer: asus Device model: ASUS_X00TD

xu3s avatar Mar 28 '22 12:03 xu3s

What does "xserver xsdl" mean?

xtkoba avatar Mar 28 '22 14:03 xtkoba

What does "xserver xsdl" mean?

i mean this app: https://play.google.com/store/apps/details?id=x.org.server

xu3s avatar Mar 28 '22 14:03 xu3s

Any info on this?

xu3s avatar Mar 30 '22 00:03 xu3s

@xu3s

Try:

export QT_QPA_PLATFORM=xcb

app-name

JesusChapman avatar Apr 03 '22 22:04 JesusChapman

@xu3s

Try:

export QT_QPA_PLATFORM=xcb

app-name

sadly ,same result

~ $ export QT_QPA_PLATFORM=xcb
~ $ qterminal 
Using a variable-width font in the terminal.  This may cause performance degradation and display/alignment errors.
Using a variable-width font in the terminal.  This may cause performance degradation and display/alignment errors.
qt.qpa.xcb: QXcbConnection: XCB error: 146 (Unknown), sequence: 190, resource id: 0, major code: 139 (Unknown), minor code: 20
Segmentation fault

xu3s avatar Apr 03 '22 22:04 xu3s

Not reproducible on my environment (Android 8.1.0 aarch64 asus/WW_X01AD).

I installed "x.org.server" through Google Play and launched it, then

export DISPLAY=:0
otter-browser # or qterminal

and the Qt app just launches fine.

xtkoba avatar May 20 '22 14:05 xtkoba

Thats weird, the bug still occur on my devices, i will try to look what setting that I've changed that was causing this

xu3s avatar May 21 '22 16:05 xu3s

This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 05 '22 19:07 stale[bot]