TASEmulators / desmume

DeSmuME is a Nintendo DS emulator
http://desmume.org
GNU General Public License v2.0
2.96k stars 542 forks source link

[Linux] FLATHUB build crashes when opening control panel #731

Open mstarongithub opened 1 year ago

mstarongithub commented 1 year ago

In the flathub version, when opening Config -> Edit Controls, it crashes. Output log of running in console:

Microphone successfully inited.
DeSmuME 0.9.14 git#0 x64-JIT SSE2
CPU mode: Interpreter
Using 12 threads for video filter.
SoftRasterizer: Running using 12 additional threads. (Multithreading enabled.)
*** buffer overflow detected ***: terminated
ofdx commented 9 months ago

Also seeing this. Crashes immediately upon clicking Edit Controls, same CLI output. Flathub release, running on debian trixie.

I built from source and could not reproduce the crash. I think that buffer overflow detected message can be generated by printf, so I tried to modify the call to g_strdup_printf to induce a crash (NULL arguments, large values and negative values into gdk_keyval_name to produce bad strings), but I couldn't break it. Maybe a library version mismatch in the flatpak?

macschaff commented 7 months ago

Having the same issue on Steam OS on the Steam Deck.

rofl0r commented 7 months ago

build from source with debug info, then provide a gdb backtrace from the crash.

zShxck720 commented 6 months ago

I'm having the same problem on Debian Bookworm

rofl0r commented 6 months ago

with flathub, too ? then maybe you should raise the issue with the flathub package maintainer.

zShxck720 commented 6 months ago

then maybe you should raise the issue with the flathub package maintainer

Yes with the flatpak. The problem is that on Flathub there is written to report an issue on this website. I don't know how to contact the flatpak manteiner

rofl0r commented 6 months ago

try the commands mentioned by the buildbot here: https://github.com/flathub/org.desmume.DeSmuME/pull/14 - that would also be the correct place to report issues with the flatpak.

intra0 commented 1 week ago

this issue no longer happens with the newest flatpak commit (the desmume commit version was recently update) need more people to confirm if this is still on the latest flatpak or not, but its fixed on my end (gnome fedora 40)