Zsnes seg faults on Arch Linux

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Charadon
New Member
Posts: 4
Joined: Sun Jul 08, 2018 2:38 am

Zsnes seg faults on Arch Linux

Post by Charadon »

I'm having issues running zsnes on Arch Linux. It keeps seg faulting. I have a backtrace

Code: Select all

#0 0xf5f984e1 in pa_smoother_new ()
from /usr/lib32/pulseaudio/libpulsecommon-12.0.so
#1 0xf60029d4 in ?? () from /usr/lib32/libpulse.so.0
#2 0xf6219585 in pa_simple_new () from /usr/lib32/libpulse-simple.so.0
#3 0xf7ee31c5 in ?? () from /usr/lib32/libSDL-1.2.so.0
#4 0xf7eb5b63 in SDL_AudioInit () from /usr/lib32/libSDL-1.2.so.0
#5 0xf7eb47c1 in SDL_InitSubSystem () from /usr/lib32/libSDL-1.2.so.0
#6 0xf7eb58ef in SDL_OpenAudio () from /usr/lib32/libSDL-1.2.so.0
#7 0x5698595b in ?? ()
#8 0x5698907d in ?? ()
#9 0x56986334 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
It looks to be related to audio, but I don't know what i'd need to do to fix it.
Charadon
New Member
Posts: 4
Joined: Sun Jul 08, 2018 2:38 am

Re: Zsnes seg faults on Arch Linux

Post by Charadon »

Sorry for the double post, but I somewhat fixed it. Apparently the library libpulsecommon-12.1.so was causing the segmentation fault. So I put a .bakup at the end to kick it out of commission. However now I have no sound. This is really frustrating. Can anyone help?
yktor
New Member
Posts: 1
Joined: Mon Jul 23, 2018 10:32 pm

Re: Zsnes seg faults on Arch Linux

Post by yktor »

Hi, it's happened after last pulseaudio upgrade. As a temporary fix, you can get previous version of libpulse package from /var/cache/pacman and run zsnes using this libs.

Code: Select all

LD_LIBRARY_PATH=./lib32-libpulse-11.1-1-x86_64.pkg.tar/usr/lib32:./lib32-libpulse-11.1-1-x86_64.pkg.tar/usr/lib32/pulseaudio/ zsnes
I'm not yet figured out, how make it work with libpulse-12
Charadon
New Member
Posts: 4
Joined: Sun Jul 08, 2018 2:38 am

Re: Zsnes seg faults on Arch Linux

Post by Charadon »

THANK YOU! It never occurred to me to try an older version of libpulse, now I can play snes games without the annoying audio crackling issue of snes9x lol
gangelop
New Member
Posts: 1
Joined: Mon Aug 19, 2019 8:08 am

Re: Zsnes seg faults on Arch Linux

Post by gangelop »

There's a new crash now with lib32-libglvnd-1.0.0-1-x86_64 and later.

Code: Select all

#0 0x00000000f754eeeb __glDispatchCheckMultithreaded (libGLdispatch.so.0)
#1 0x00000000f770d9cf glXGetProcAddressARB (libGLX.so.0)
#2 0x00000000f7d6f6db n/a (libSDL-1.2.so.0)
#3 0x00000000f7d6fbfb n/a (libSDL-1.2.so.0)
#4 0x00000000f7d74e1a n/a (libSDL-1.2.so.0)
#5 0x00000000f7d753b2 n/a (libSDL-1.2.so.0)
#6 0x00000000f7d6350e SDL_SetVideoMode (libSDL-1.2.so.0)
#7 0x0000000056a794c7 n/a (zsnes)
#8 0x0000000056a7776b n/a (zsnes)
#9 0x0000000056a77d3d n/a (zsnes)
#10 0x0000000056a75334 n/a (zsnes)
The downstream Arch Linux bug report for both is here:
https://bugs.archlinux.org/index.php?do ... k_id=59249
Post Reply