[Bug]: qt based packages failed to open with segmentation fault while using xserver xsdl.
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
What does "xserver xsdl" mean?
What does "xserver xsdl" mean?
i mean this app: https://play.google.com/store/apps/details?id=x.org.server
Any info on this?
@xu3s
Try:
export QT_QPA_PLATFORM=xcb
app-name
@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
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.
Thats weird, the bug still occur on my devices, i will try to look what setting that I've changed that was causing this
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.