Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#914 - Zsnes crash
Attached to Project:
Arch Linux
Opened by Richard Wagler (Richie) - Sunday, 16 May 2004, 18:17 GMT
Last edited by arjan timmerman (blaasvis) - Thursday, 10 February 2005, 22:55 GMT
Opened by Richard Wagler (Richie) - Sunday, 16 May 2004, 18:17 GMT
Last edited by arjan timmerman (blaasvis) - Thursday, 10 February 2005, 22:55 GMT
|
DetailsZsnes crashes when using the Netplay-feature.
Error-Message: Fatal signal: Segmentation Fault (SDL Parachute Deployed |
This task depends upon
Closed by Aurelien Foret (aurelien.foret)
Tuesday, 07 June 2005, 21:02 GMT
Reason for closing: Works for me
Additional comments about closing: No data was provided to help understand the root cause of the issue faced by some people.
No data, no investigation!
A workaround is described in the comments.
Tuesday, 07 June 2005, 21:02 GMT
Reason for closing: Works for me
Additional comments about closing: No data was provided to help understand the root cause of the issue faced by some people.
No data, no investigation!
A workaround is described in the comments.
8925 open("/usr/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
8925 open("/usr/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
http://board.zsnes.com/phpBB2/viewtopic.php?t=1846
More generally, netplay feature seems not working properly :
http://board.zsnes.com/phpBB2/viewtopic.php?t=2202
Here is the Pkg I made: http://www.metroidx.com/zsnes-1.42-1.pkg.tar.gz (There is no bullshit in the Pkg... ;) )
I just commented out the function in the sourcecode, because I don't really know how to do this with shellscripting.
I isolated the "faulty" code (well, in fact not faulty for me), and run it in a small C program:
<snip foo.c>
#include <string.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
char blah[256];
char hostname[50] = "IP N/A";
int main(int arcg, char *argv[])
{
struct hostent* phe;
const char *test;
strcpy(hostname,"YOUR IP: ");
gethostname(blah,255);
phe = gethostbyname(blah);
test = inet_ntoa(*(struct in_addr*)phe->h_addr);
strcpy(blah, test);
strcat(hostname,blah);
return(0);
}
</snip>
To compile it, use "gcc -g -Wall foo.c -o foo".
Can you try it, and report if it works or not?
If not, can you provide me a core file, and the foo binary that triggered the core?
According to the thread on Zsnes forums, it seems this issue can occur on some system, whereas it will run fine on others...
As a consequence, I won't commit a fix disabling a function to the package before we can understand why it's occurring.