Summary: | games-emulation/zsnes-1.51-r2 crashes due to fortify issues when compiled with gcc 4.3.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefano Carignano <scary.moo> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kanelxake, please.no.spam.here |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=817395 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 259417 | ||
Attachments: | Fix from rpmfusion |
Description
Stefano Carignano
2009-02-06 23:41:34 UTC
Output of 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/event3. Make sure you have read permissions to it. Unable to poll /dev/input/event2. 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. *** buffer overflow detected ***: zsnes terminated ======= Backtrace: ========= /lib32/libc.so.6(__fortify_fail+0x48)[0x45e85398] /lib32/libc.so.6[0x45e833e0] zsnes[0x8059223] zsnes[0x80595fc] zsnes[0x80535d7] zsnes[0x80678e2] /lib32/libc.so.6(__libc_start_main+0xe5)[0x45db5725] zsnes[0x804d971] ======= Memory map: ======== [ --- Removed ---] zsh: abort zsnes ---------- Fixed in CVS. Revbump not needed U_FORTIFY_SOURCE added, not a real fix. I'll attach a patch it took me about five seconds to grub for. Created attachment 183156 [details, diff]
Fix from rpmfusion
Allegedly fixes this problem. Please test.
Peter's fix works for me, thanks! Reassigning to games@gentoo.org as per metadata.xml. Note that drizzt has announced his retirement back in April. This bugis blocking the FORTIFY_SOURCE gcc bug #259417 in portage. thanks for the bug report. |