Xroar 0.22 & Ubuntu Jaunty

A place to discuss everything Dragon related that doesn't fall into the other categories.
Post Reply
ga5ket
Posts: 21
Joined: Mon May 04, 2009 4:14 pm
Location: Worksop

Xroar 0.22 & Ubuntu Jaunty

Post 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
sixxie
Posts: 1348
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: Xroar 0.22 & Ubuntu Jaunty

Post 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
ga5ket
Posts: 21
Joined: Mon May 04, 2009 4:14 pm
Location: Worksop

Re: Xroar 0.22 & Ubuntu Jaunty

Post 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
sixxie
Posts: 1348
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: Xroar 0.22 & Ubuntu Jaunty

Post 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!
ga5ket
Posts: 21
Joined: Mon May 04, 2009 4:14 pm
Location: Worksop

Re: Xroar 0.22 & Ubuntu Jaunty

Post by ga5ket »

Thanks very much, the latest pre-release fixed the issue I was having.
Post Reply