https://github.com/FluidSynth/fluidsynth/blob/master/src/sfloader/fluid_defsfont.c#L553
somehow fluid_inst_zone_get_sample(inst_zone) return a non NULL sample but when fluid_sample_in_rom(sample) try to deref the sample it SIGSEGV.
the symtoms are the midi file starts playing but crash after 1-2 seconds
now my particular usage of fluidsynth might be an issue.
I have a use case where I need to delete the synth and recreate it (it can happen multiple times in the process lifetime), and the crash seems to be linked to that use case.
this is the soundfont used ftp://ftp.lysator.liu.se/pub/awe32/soundfonts/5mbgmgs.zip
https://github.com/FluidSynth/fluidsynth/blob/master/src/sfloader/fluid_defsfont.c#L553
somehow
fluid_inst_zone_get_sample(inst_zone)return a non NULLsamplebut whenfluid_sample_in_rom(sample)try to deref thesampleit SIGSEGV.the symtoms are the midi file starts playing but crash after 1-2 seconds
now my particular usage of fluidsynth might be an issue.
I have a use case where I need to delete the synth and recreate it (it can happen multiple times in the process lifetime), and the crash seems to be linked to that use case.
this is the soundfont used ftp://ftp.lysator.liu.se/pub/awe32/soundfonts/5mbgmgs.zip