seg fault when copying buffer to convolver input