FS#71369 - [zsnes] crashes with segmentation fault on startup
Attached to Project:
Community Packages
Opened by Melissa Loos (Kaiyazeera) - Sunday, 27 June 2021, 08:09 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 08 July 2021, 19:35 GMT
Opened by Melissa Loos (Kaiyazeera) - Sunday, 27 June 2021, 08:09 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 08 July 2021, 19:35 GMT
|
Details
Description:
zsnes crashes with segmentation fault on startup. ``` $ zsnes ZSNES v1.51, (c) 1997-2007, ZSNES Team Be sure to check http://www.zsnes.com/ for the latest version. ZSNES is written by the ZSNES Team (See AUTHORS.TXT) ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; please read 'LICENSE.TXT' thoroughly before doing so. Use ZSNES -? for command line definitions. Starting Mouse detection. Unable to poll /dev/input/event19. Make sure you have read permissions to it. Unable to poll /dev/input/event18. Make sure you have read permissions to it. Unable to poll /dev/input/event17. Make sure you have read permissions to it. Unable to poll /dev/input/event16. Make sure you have read permissions to it. Unable to poll /dev/input/event15. Make sure you have read permissions to it. Unable to poll /dev/input/event14. Make sure you have read permissions to it. Unable to poll /dev/input/event13. Make sure you have read permissions to it. Unable to poll /dev/input/event12. Make sure you have read permissions to it. Unable to poll /dev/input/event11. Make sure you have read permissions to it. Unable to poll /dev/input/event10. Make sure you have read permissions to it. Unable to poll /dev/input/event9. Make sure you have read permissions to it. Unable to poll /dev/input/event8. Make sure you have read permissions to it. Unable to poll /dev/input/event7. Make sure you have read permissions to it. Unable to poll /dev/input/event6. Make sure you have read permissions to it. Unable to poll /dev/input/event5. Make sure you have read permissions to it. Unable to poll /dev/input/event4. Make sure you have read permissions to it. Unable to poll /dev/input/event1. Make sure you have read permissions to it. Unable to poll /dev/input/event0. Make sure you have read permissions to it. ManyMouse: 0 mice detected. Segmentation fault (core dumped) ``` ``` $ sudo zsnes ZSNES v1.51, (c) 1997-2007, ZSNES Team Be sure to check http://www.zsnes.com/ for the latest version. ZSNES is written by the ZSNES Team (See AUTHORS.TXT) ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; please read 'LICENSE.TXT' thoroughly before doing so. Use ZSNES -? for command line definitions. Starting Mouse detection. ManyMouse: 1 mice detected. Segmentation fault ``` Additional info: * zsnes-1.51-22 * I already tried deleting the .cfg files in the ~/.zsnes/ directory * link to upstream bug report, if any Steps to reproduce: Open zsnes. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Thursday, 08 July 2021, 19:35 GMT
Reason for closing: Fixed
Additional comments about closing: Switched to a zsnes fork
Thursday, 08 July 2021, 19:35 GMT
Reason for closing: Fixed
Additional comments about closing: Switched to a zsnes fork
I believe the current zsnes package only supports X11. `gdb zsnes` and `r` shows a SIGSEGV:
"0xf76a33f0 in _XSend () from /usr/lib32/libX11.so.6"
I can reproduce the issue in Sway/Wayland.
Could you please try running Zsnes in ie. Xfce4 and see if the problem persists?
As a workaround, I switched to mednafen ;-/
The last release of Zsnes was 14 years and 5 months ago.
Zsnes might possibly be ready for AUR.
This might be audio-related, since `zsnes -m file.smc` (launch without GUI) also segfaults.
Zsnes has not had a release for >14 years, so any fork that accepts pull requests is an improvement, if we are to keep zsnes in [community], IMO.
I updated the package in [community] to use this fork.