Re: [LAU] Segfault using zita-j2a

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Fri Oct 26 2012 - 10:59:42 EEST

On Fri, Oct 26, 2012 at 07:37:42AM +0000, Fons Adriaensen wrote:
> On Thu, Oct 25, 2012 at 11:37:30PM +0200, Jannis Achstetter wrote:
>
> > Okay, the different classes explain the different behavoirs then because
> > zretune crashes instantly:
>
> If you install libzita-resampler from source, try this:
>
> int VResampler::process (void)
> {
> - unsigned int k, hl, np, in, nr, nz, i, n, c;
> + unsigned int k, np, in, nr, n, c;
> + int i, hl, nz;
> double ph, dp, dd;
> float a, b, *p1, *p2, *q1, *q2;
>
>
> In line 217 the index [i - hl] goes negative. If it is extended
> to 64 bit as unsigned that would explain the segfault.
>
> Ciao,

P.S. To make sure you replace the library installed by your
package manager, you need to change PREFIX at the top of the
Makefile to

PREFIX=/usr

Ciao,

-- 
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Oct 26 12:15:04 2012

This archive was generated by hypermail 2.1.8 : Fri Oct 26 2012 - 12:15:04 EEST