Page 1 of 1
Bug in Ubuntu 13.10
Posted: Wed Jan 29, 2014 1:15 am
by anonimo1w
Hello,
for some odd reason in Ubuntu 13.10, everytime i try to open a menu (like preferences or open a rom from file>open)
the program crash/freezes.
That's it. Anyway to fix this (maybe a conflict between unity and the gtk version?)
Re: Bug in Ubuntu 13.10
Posted: Sun Feb 09, 2014 5:13 pm
by studiorion
I'm having the exact same problem. Has anyone had any luck with this?
Re: Bug in Ubuntu 13.10
Posted: Mon Feb 10, 2014 12:50 am
by nx1101
Same here. Applying this patch to 1.53 fixes the issue for me:
https://gist.github.com/anonymous/8908390
Re: Bug in Ubuntu 13.10
Posted: Mon Feb 10, 2014 1:19 am
by studiorion
I'm very excited to see a possible solution, but I'll admit that I'm a linux hobbyist at best and I have no idea what to do with that code. Any chance you can elaborate a bit?
Re: Bug in Ubuntu 13.10
Posted: Mon Feb 10, 2014 4:27 am
by nx1101
Hi studiorion. You'll have to download the source code, apply the patch, and then compile. Try these commands:
Code: Select all
$ wget https://sites.google.com/site/bearoso/snes9x/snes9x-1.53-src.tar.bz2
$ tar xvjf snes9x-1.53-src.tar.bz2
$ cd snes9x-1.53-src/
$ wget -qO- https://gist.github.com/anonymous/8908390/raw/5a6cd340fd4876cd14d0c84e027768eca2f9f746/gistfile1.diff | patch -p1
$ cd gtk/
$ ./configure && make
If all goes well, you'll have a snes9x-gtk binary in the gtk directory at the end. If you run into trouble, msg me your email address and I'll send you the compiled 64-bit binary. It might work for you.
Re: Bug in Ubuntu 13.10
Posted: Mon Feb 10, 2014 4:58 am
by studiorion
Awesome, you rock!
Re: Bug in Ubuntu 13.10
Posted: Mon Feb 10, 2014 9:38 am
by BearOso
Not sure why this fixes the problem. The current folder shouldn't be returning NULL unless ubuntu screwed around with gtk. Is there a difference compiling for gtk 3.0 vs gtk 2.0 with the latest git version?
Re: Bug in Ubuntu 13.10
Posted: Mon Feb 10, 2014 4:40 pm
by nx1101
I think I figured it out. Maybe studiorion or someone else can confirm. If you select a ROM from "Recently Used", which is the default on my system, then `gtk_file_chooser_get_current_folder` returns NULL (probably because "Recently Used" is not a real directory). If I navigate into the file system and choose a ROM that way, it works as expected.
Re: Bug in Ubuntu 13.10
Posted: Mon Feb 10, 2014 10:32 pm
by BearOso
Ok. That makes sense. I've never actually seen ROM images show up in the recently used section (probably because the recent menu clears them on stock GTK+). I've committed a fix, and I'll update the PPA.
Re: Bug in Ubuntu 13.10
Posted: Tue Feb 11, 2014 3:05 am
by studiorion
Thank you all so much for the help. After much dependency chasing I got the above commands to execute properly and unfortunately the same problem still persists. Anyone have any ideas at this point?
Re: Bug in Ubuntu 13.10
Posted: Tue Feb 11, 2014 9:04 am
by BearOso
studiorion wrote:Thank you all so much for the help. After much dependency chasing I got the above commands to execute properly and unfortunately the same problem still persists. Anyone have any ideas at this point?
Are you using the "Recently Used" section like nx1101? Are you actually using the binary you compiled and not accidentally the system copy? Have you tried the PPA?
Could you list the all steps you use to launch the program and select a game before the program freezes?
Re: Bug in Ubuntu 13.10
Posted: Mon Mar 31, 2014 3:48 pm
by Raid
The bug I'm running into is the APP MENU bug. The workaround is in terminal, go to the gtk directory and run: