Page 1 of 1

Xroar 0.22 & Ubuntu Jaunty

Posted: Mon Sep 21, 2009 4:26 pm
by ga5ket
I've been using version 0.21 for a while now, and I thought it was about time to upgrade. I've successfully compiled it, but all I get when I run it is 'Segmentation fault'. It's initialised the SDL audio & joysticks successfully, but it just won't run. Anyone else had any luck with this?

Thanks in advance

Re: Xroar 0.22 & Ubuntu Jaunty

Posted: Mon Sep 21, 2009 5:55 pm
by sixxie
Can you say where it crashes? What's been printed to the console before it segfaults?

Also, does this pre-release version fix it?

http://www.6809.org.uk/tmp/xroar/xroar-0.23pre3.tar.gz

Re: Xroar 0.22 & Ubuntu Jaunty

Posted: Mon Sep 21, 2009 6:20 pm
by ga5ket
The prerelease fails in the same way. I get this in the console:

GTK+-2 file requester selected.
Initialising SDL OpenGL driver
get fences failed: -1
param: 6, val: 0
Initialising ALSA audio driver
8-bit unsigned, mono, 44100Hz
Initialising SDL joystick driver
PSX-USB PSX-USB Adaptor
Number of Axes: 4
Number of Buttons: 16
Dragon 32 selected
Loading DGN: ./d32.dgn
No DOS selected
Segmentation fault

Thanks

Re: Xroar 0.22 & Ubuntu Jaunty

Posted: Mon Sep 21, 2009 11:09 pm
by sixxie
Cheers for that, I've found the problem: my code for assigning and reading joystick mappings was somewhat sucky. Fixed in the darcs repository and here:

http://www.6809.org.uk/tmp/xroar/xroar-0.23pre4.tar.gz

Now I look at it with fresh eyes, that code is really quite ugly, so I'll probably fix it further. I'll test it this time though!

I must not have plugged my joystick in (actually also a playstation-USB adaptor) for a long time!

Re: Xroar 0.22 & Ubuntu Jaunty

Posted: Tue Sep 22, 2009 9:01 am
by ga5ket
Thanks very much, the latest pre-release fixed the issue I was having.