[Bug]: vlc-qt is not working.
Problem description
After recent package update, vlc-qt is not working.
What steps will reproduce the bug?
~$ vlc
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
QStandardPaths: wrong permissions on runtime directory /data/data/com.termux/files/usr/tmp, 0777 instead of 0700
Segmentation fault
What is the expected behavior?
No response
System information
Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP__APK_FILE=/data/app/~~i5hMgdRAxtt_Zor-qZCGhA==/com.termux-qWNB2axqgKtwcSBxAGcixg==/base.apk
TERMUX_APP__APK_RELEASE=GITHUB
TERMUX_APP__APP_VERSION_CODE=1020
TERMUX_APP__APP_VERSION_NAME=0.119.0-beta.1
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=31403
TERMUX_APP__TARGET_SDK=28
TERMUX_VERSION=0.119.0-beta.1
TERMUX__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c222,c257,c512,c768
TERMUX__SE_INFO=default:targetSdkVersion=28:complete
TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c222,c257,c512,c768
TERMUX__UID=10478
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.in.sahilister.net/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://packages-cf.termux.dev/apt/termux-x11/ x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 5.15.153-android13-8-30958166-abX916NKOU5CYD9 #1 SMP PREEMPT Tue Apr 15 03:15:42 UTC 2025 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-X916N
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a,armeabi-v7a,armeabi
SUPPORTED_32_BIT_ABIS: armeabi-v7a,armeabi
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:15
com.termux.api versionCode:51
Probably you should be more precise. What exactly does not working mean? It may have different meanings.
@twaik
vlc-qt does not run.
Oh, segmentation fault. I did not see it on my phone screen. Sorry.
The error indicates incorrect permissions on the $TMPDIR ($TERMUX__PREFIX/tmp).
This should have permissions 0700, which is what it ships with out of the box on Termux.
You probably modified these permissions at some point.
You should be able to fix this by running chmod 0700 $TMPDIR.
I do not think segmentation fault happens because of incorrect permissions. It is a simple warning.
@hansm629 you can obtain crashlog from logcat command. Redirect it to a file and post it please.
@twaik I'll send you the logcat as soon as I finish what I'm currently doing! :)
I have been informed that this isn't a fatal warning. That wasn't obvious to me from the earlier comments.
@twaik Sorry for the late reply. I've been busy with work!
Here are the logcat results you requested.
@hansm629 if you have time to, just in case, do you think you could test the libtheora and vlc-qt artifacts together from my linked PR on your device, just to check whether that version can make the crash stop for you or not?
It probably will not, because unfortunately I have not been able to reproduce this crash, but it definitely fixes something wrong with vlc-qt, because vlc-qt was supposed to be rebuilt after the bump of taglib to 2.0 but it was not yet.
Is this the reason vlc-qt is now missing from the repos? Because in the past whenever i want to use vlc in termux, it launches in CLI mode, and dumb way of googling says VLC should launch in default interface (which is GUI in most linux distros) when i type vlc in terminal. I just realized apparently vlc-qt is the way for GUI version of vlc, but i can't find it on apt search command, just vlc and vlc-static.
Is this the reason vlc-qt is now missing from the repos? Because in the past whenever i want to use vlc in termux, it launches in CLI mode, and dumb way of googling says VLC should launch in default interface (which is GUI in most linux distros) when i type vlc in terminal. I just realized apparently vlc-qt is the way for GUI version of vlc, but i can't find it on apt search command, just vlc and vlc-static.
@OrchidLuna Have you tried these commands?
pkg install x11-repo
pkg install vlc-qt
That did the trick, thanks.
If you didn't already have x11-repo installed but you're trying to use the Termux GUI programs, you might not have the rest of the GUI installed fully yet and might not be able to see anything yet if you don't. Let me know if you end up needing help with that part also!