Skip to content

crash in fluid_sample_in_rom #369

@loki666

Description

@loki666

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions