hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
10.79k stars 2.12k forks source link

Stack smashing detected message while starting PPSSPP via flatpak on Debian 12 #19306

Open nikita-stepan0v opened 5 days ago

nikita-stepan0v commented 5 days ago

Game or games this happens in

none

What area of the game / PPSSPP

starting via flatpak

What should happen

it shouldn't crash

Logs

n@debian:~$ flatpak run org.ppsspp.PPSSPP

Обратите внимание, что каталоги

'/var/lib/flatpak/exports/share' '/home/n/.local/share/flatpak/exports/share'

не находятся по пути поиска, заданном переменной окружения XDG_DATA_DIRS, поэтому приложения, установленные Flatpak, могут не отображаться на рабочем столе, пока сеанс не будет перезапущен.

VulkanMayBeAvailable: Device allowed ('SDL:Linux') Vulkan library loaded ('libvulkan.so.1') VulkanMayBeAvailable: Enumerating instance extensions stack smashing detected : terminated

Platform

Linux / BSD

Mobile device model or graphics card (GPU)

gts 450

PPSSPP version affected

1.17.1

Last working version

No response

Graphics backend (3D API)

Other

Checklist

nikita-stepan0v commented 5 days ago

built ppsspp from the source and it runs

anr2me commented 5 days ago

You will probably need to solve this issue first (which doesn't seems to be related to PPSSPP):

Обратите внимание, что каталоги

'/var/lib/flatpak/exports/share' '/home/n/.local/share/flatpak/exports/share'

не находятся по пути поиска, заданном переменной окружения XDG_DATA_DIRS, поэтому приложения, установленные Flatpak, могут не отображаться на рабочем столе, пока сеанс не будет перезапущен.

The solution is probably here https://forum.elivelinux.org/t/flatpak-trouble/3227/4 flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Or changing the shell to bash, according to https://github.com/flatpak/flatpak/issues/3536#issuecomment-1079784270