[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#642055: daisy-player: reports "corrupt daisy structure" and aborts while reading valid book



Samuel Thibault <sthibault@debian.org> wrote:
 
> Mmm, no begin should really stay at the beginning of the buffer. But if
> you need that to get things done I guess it's because p - begin becomes
> greater than 250?  That rather means that we have to increase the size
> of the buffer, as is already done in ebook-speaker. Could you try the
> attached patch?

I don't have the book anymore that was causing the bug, but the upstream
author of daisy-player was able to trigger more bugs by attempting to play
sample books published by the Daisy Consortium.

He expressed an intention to rewrite the code to use an XML parser instead of
the bug-prone implementation currently in place.

It might be best to hold the bug until this is done, but I'm certainly willing
to try the patch if I can find a book that triggers it.

I also agree with you about increasing the buffer size, as far as I can
remember the code, which is not well.





Reply to: