All right, so bq->maxlength and bq->write_index are way too high and l should never be less than zero. This could be a random memory overwrite but it also looks a bit suspicious that write_index and maxlength are about the same.
James, are you familiar with gdb? Or should I add more debug prints and ask for new logs from you? Assuming we both have the time to try to nail this bug down.
From James log (arnauds log does not show the error) :
( 600.740| 0.002) W: [alsa-sink] memblockq.c: Can_push: l = -2134034528, end = 12529, bq->read_index = 0, bq->write_index = 140542054157432, bq->maxlength = 140542062687863
All right, so bq->maxlength and bq->write_index are way too high and l should never be less than zero. This could be a random memory overwrite but it also looks a bit suspicious that write_index and maxlength are about the same.
James, are you familiar with gdb? Or should I add more debug prints and ask for new logs from you? Assuming we both have the time to try to nail this bug down.