Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FluidSynth segfault when playing MIDI files #43

Closed
derselbst opened this issue May 26, 2010 · 2 comments
Closed

FluidSynth segfault when playing MIDI files #43

derselbst opened this issue May 26, 2010 · 2 comments

Comments

@derselbst
Copy link
Member

Reported by Irányossy Knoblauch Artúr on the mailing list:
http://lists.gnu.org/archive/html/fluid-dev/2009-05/msg00024.html

Confirmed crash.

Traceback:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff20ec950 (LWP 2789)]
fluid_dsp_float_interpolate_4th_order (voice=0x60d620) at fluid_dsp_float.c:288
288 short int *dsp_data = voice->sample->data;

(gdb) backtrace

#0 fluid_dsp_float_interpolate_4th_order (voice=0x60d620)

at fluid_dsp_float.c:288

#1 0x00007ffff7d84f3d in fluid_voice_write (voice=0x60d620,

dsp_left_buf=0x70a660, dsp_right_buf=0x70a770, dsp_reverb_buf=0x70a8c0,
dsp_chorus_buf=0x70aae0) at fluid_voice.c:602

#2 0x00007ffff7d7e5b8 in fluid_synth_one_block (synth=0x608c30,

do_not_mix_fx_to_out=0) at fluid_synth.c:1963

#3 0x00007ffff7d7ea7e in fluid_synth_write_float (synth=0x608c30, len=128,

Reported by: elementgreen

Original Ticket: fluidsynth/tickets/43

@derselbst
Copy link
Member Author

Original comment author: diwic

I'm currently completing a patch for this bug, by using the sequencer as a thread-safe buffer between the midi and audio thread, to avoid concurrency problems. I've been running the suggested test case for half an hour now and it has not crashed yet, so I'm optimistic.

Original comment by: elementgreen

@derselbst
Copy link
Member Author

  • status changed from new to closed
  • resolution set to fixed

Original comment by: elementgreen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants