Bug in Ubuntu 13.10
Bug in Ubuntu 13.10
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?)
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?)
-
- Snes9x White Belt
- Posts: 4
- Joined: Sun Feb 09, 2014 5:12 pm
Re: Bug in Ubuntu 13.10
I'm having the exact same problem. Has anyone had any luck with this?
Re: Bug in Ubuntu 13.10
Same here. Applying this patch to 1.53 fixes the issue for me:
https://gist.github.com/anonymous/8908390
https://gist.github.com/anonymous/8908390
-
- Snes9x White Belt
- Posts: 4
- Joined: Sun Feb 09, 2014 5:12 pm
Re: Bug in Ubuntu 13.10
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
Hi studiorion. You'll have to download the source code, apply the patch, and then compile. Try these commands:
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.
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
-
- Snes9x White Belt
- Posts: 4
- Joined: Sun Feb 09, 2014 5:12 pm
Re: Bug in Ubuntu 13.10
Awesome, you rock!
Re: Bug in Ubuntu 13.10
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?nx1101 wrote: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
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
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.
-
- Snes9x White Belt
- Posts: 4
- Joined: Sun Feb 09, 2014 5:12 pm
Re: Bug in Ubuntu 13.10
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
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?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?
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
The bug I'm running into is the APP MENU bug. The workaround is in terminal, go to the gtk directory and run:
Code: Select all
UBUNTU_MENUPROXY="" ./snes9x-gtk