grumpycoders / grumpycoders/pcsx-redux

SIGFPE running PCSX-Redux AppImage

Open
#714 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
994
Forks
151
Avg merge
1d 15h
Merged PRs (30d)
18

Description

### Describe the bug

I downloaded the AppImage and tried to run it on Fedora, running KDE on Wayland. I had some problems.

```
error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
```
This seems a known issue, e.g. [this bug](https://github.com/knapsu/plex-media-player-appimage/issues/13#issuecomment-394847157), so
```
sudo dnf --setopt=install_weak_deps=False install libnsl
```

Retry, now a window briefly appears but then
```
zsh: floating point exception (core dumped) ./PCSX-Redux-HEAD-x86_64.AppImage
```
but no core file appears and Fedora's `abrt bug reporter isn't triggered.

Running gdb after --app-image-mount, I get
```
#0 0x0000000000497e48 in ?? ()
#1 0x0000000000475590 in ?? ()
#2 0x00000000004960cb in ?? ()
#3 0x00000000005a725b in ?? ()
#4 0x000000000058e96b in ?? ()
#5 0x0000000000608d45 in ?? ()
#6 0x000000000060f6ba in ?? ()
#7 0x00007ffff5bc8560 in __libc_start_call_main (main=main@entry=0x60f680, argc=argc@entry=1,
argv=argv@entry=0x7fffffffcdc8) at ../sysdeps/nptl/libc_start_call_main.h:58
#8 0x00007ffff5bc860c in __libc_start_main_impl (main=0x60f680, argc=1, argv=0x7fffffffcdc8, init=,
fini=, rtld_fini=, stack_end=0x7fffffffcdb8) at ../csu/libc-start.c:409
#9 0x000000000044a01e in ?? ()
```
While trying to debug this further I got a similar warning loading shared library libglfw.so.3, so
```
% sudo dnf --setopt=install_weak_deps=False install glfw
```
but that didn't help.

### Expected behavior

Works or does not crash.

### Steps to reproduce the bug

1. Download PCSX-Redux-43164118-linux-x86_64.zip
2. unzip to ~/programs
3. `cd ~/programs`
4. `./PCSX-Redux-HEAD-x86_64.AppImage` (crashes)
5. `./PCSX-Redux-HEAD-x86_64.AppImage --appimage-mount`
6. `cd /tmp`
7. `gdb /tmp/.mount_PCSX-RB4tEE1/AppRun`

### Operating System

Fedora 35

### CPU model

4 × Intel® Core™ i5-6300U CPU @ 2.40GHz

### GPU model

Mesa Intel® HD Graphics 520

### BIOS version

haven't got that far

### CPU emulation mode

Interpreter

### Additional information

I never get to the menu bar. I tried both `--interpreter` and `--dynarec` command-line options and both crash with floating point exception.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.