Here it is with the trace write placed directly before the crash line (sorry if some of the values I provide are irrelevant - I haven't had time to examine the code!):
Calling PQ::play() fill_audio(): len: 0, p: 9460744, s: 3281968, n: 0 *crash* Calling LSL3::play() fill_audio(): len: 0, p: 9460744, s: 3281968, n: 0 *crash* HTH, Alex. Christoph Reichenbach wrote: > Hi, > > > >>I'm getting an Access Violation from current CVS on Win32 in >>pcmout_sdl.c in fill_audio(). > > > Well, I'm not going to claim that the current SDL PCM driver works for me > (perhaps some issue related to threadsafeness)... > > >>[W] PAR: Overlapping block copy may produce unexpected results:... >> memcpy(0x4caa018, 0x25ea698, 159029856) > > > Well, that's a... large chunk of memory. It is divisable by four, though > ;-) > > [...] > >> n = mix_sound(BUFFER_SIZE) << 2; >> => memcpy (stream + p, buffer, n); > > > According to the function definition, mix_sound(x) <= BUFFER_SIZE for all > x. Could you add some debug code here, please? (n is 4096 here in all > cases). > > llap, > Christoph > > >
