Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829785 - games-emulation/zsnes-1.51-r11: segfault when trying to open rom
Summary: games-emulation/zsnes-1.51-r11: segfault when trying to open rom
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-21 21:53 UTC by Raymond Jennings
Modified: 2021-12-22 18:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2021-12-21 21:53:50 UTC
When I try to load a rom either from the "quick list" on the left side, or by loading the open rom dialog, it crashes with a segfault.

Attempts to get a stack trace were unfruitful because it couldn't access the memory where the RIP was pointing.
Comment 1 Jonas Stein gentoo-dev 2021-12-22 01:34:05 UTC

*** This bug has been marked as a duplicate of bug 817395 ***
Comment 2 Ionen Wolkens gentoo-dev 2021-12-22 11:04:11 UTC
I am seeing segfaults but I don't think this is the same issue.

This is seems like something new.
Comment 3 Larry the Git Cow gentoo-dev 2021-12-22 18:15:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484cf796cfa38577842783be53a79346b65a8dcf

commit 484cf796cfa38577842783be53a79346b65a8dcf
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-12-22 10:53:17 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-12-22 18:12:26 +0000

    games-emulation/zsnes: add 2.0.9 (fork) with new dumbed down ebuild
    
    zsnes is very fragile, and supporting many configurations/flags
    doesn't seem worth it anymore. So this uses current upstream
    defaults for safety (no libao+debugger, and enable sdl+png+opengl).
    
    May possibly have some new issues / regressions to iron out, notably
    given doesn't use autoconf anymore which shifted many things around.
    
    Unsure if this fork will be maintained on the long term, if not
    then this package may be better off last-rited.
    
    bug 817395: fork uses FORTIFY_SOURCE=0 which combined with -U should
                ensure it's unused even if our gcc enables it by default
    (issue does exist still, was able to reproduce if letting it use it)
    bug 829785: cause is unknown but can't reproduce when using the fork
    
    Closes: https://bugs.gentoo.org/817395
    Closes: https://bugs.gentoo.org/829785
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/zsnes/Manifest                     |  1 +
 .../zsnes/files/zsnes-2.0.9-cc-quotes.patch        |  8 +++
 .../zsnes/files/zsnes-2.0.9-gentoo-zlib.patch      | 12 +++++
 games-emulation/zsnes/zsnes-2.0.9.ebuild           | 62 ++++++++++++++++++++++
 4 files changed, 83 insertions(+)