Does it also crash with other SoundFont files?
Yes.
If it is specific to that SoundFont, if you could send me it off list, that
would be great.
It's not SoundFont specific, I've tried this with many soundfonts,
with the same result. The segfault occures using the
VintageDreamsWaves-v2.sf2 wich is boundled with the source code, but
it seems that the error happens not as frequently as with other
SoundFonts, like this one:
ikartur.atw.hu/emuaps8.sf2
Another thing that might help is if you could run the following commands in
gdb, once it crashes (assuming it crashes at the same line
fluid_dsp_float.c:288):
p voice->sample
p voice->sample->data
Both FluidSynth version 1.0.9 and the latest SVN version crashes on
the same line.
The result is always the following, regardless the SoundFont I use:
(gdb) p voice->sample
$1 = (fluid_sample_t *) 0x0
(gdb) p voice->sample->data
Cannot access memory at address 0x40
I know that there have been issues with 64 bit AMD systems and FluidSynth
before, but I think they are fixed. There could still be some problem
specific to that platform though.
I'm not sure that this problem is AMD64 specific.
This problem is easily reproducable on my system playing back the
following MIDI file:
ikartur.atw.hu/01.mid.gz
If you try to play back this file with the following command,
FluidSynth should crash whitin a few minutes:
while true; do aplaymidi -p 130 01.mid ; done