On Mon, 2007-09-17 at 23:42 -0500, David Hilvert wrote: > On Mon, 17 Sep 2007 23:38:24 -0500 > David Hilvert <[EMAIL PROTECTED]> wrote: > > > ==26661== Thread 2: > > ==26661== Invalid read of size 4 > > ==26661== at 0x4078F14: fluid_synth_dither_s16 (fluid_synth.c:1824) > > ==26661== by 0x4056651: fluid_alsa_audio_run_s16 (fluid_alsa.c:558) > > ==26661== by 0x40F42D2: start_thread (in /lib/libpthread-2.6.1.so) > > ==26661== by 0x4BFE2FD: clone (in /lib/libc-2.6.1.so) > > ==26661== Address 0x5571C88 is not stack'd, malloc'd or (recently) free'd > > ==26661== > > ==26661== Invalid read of size 4 > > ==26661== at 0x4078F4B: fluid_synth_dither_s16 (fluid_synth.c:1828) > > ==26661== by 0x4056651: fluid_alsa_audio_run_s16 (fluid_alsa.c:558) > > ==26661== by 0x40F42D2: start_thread (in /lib/libpthread-2.6.1.so) > > ==26661== by 0x4BFE2FD: clone (in /lib/libc-2.6.1.so) > > ==26661== Address 0xC4BD8AE0 is not stack'd, malloc'd or (recently) free'd > > It seems as though, rather than dither_index being trampled on, the synth > pointer might be bad. Is the pointer value (and its initialization, etc.) > thread-safe?
That just occurred to me also, when looking at the 1824 address (the read of the dither_index parameter). When is the crash occurring? Does it crash always at a certain point (for example during initialization) or is it a crash that can occur after a period of time? Josh _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/fluid-dev