In lib/signal.c: getskewedframe() there are many instanstances of the construct: if (v == -1 << X) where X is some constant number of bits to shift. Unfortunately, left shifting a negative number is undefined.