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
Xroar 0.22 & Ubuntu Jaunty
Re: Xroar 0.22 & Ubuntu Jaunty
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
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
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
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
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!
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
Thanks very much, the latest pre-release fixed the issue I was having.