Hello Adam,
Sorry for my late reply I didn't have Internet access.
I also use version DjVuLibre 3.5.25 (from DjView-4.9 Windows installer package).
It seems it is an issue with Windows side, because I tested it with different DjVu files.
> do you have a debug of DjVuLibre available? And do you know whether this
> happens on the first iteration through the loop within
> "DjVuPage::search"? Have you tried using a single instance of
> "ddjvu_context_t"? And locking on the single context instead of the
> invidiual documents?
As I said I didn't compile it by myself, just a release build is available (when I have more free time I'll try to compile it).
No, crash occurs on the second iteration.
I don't know how to apply your suggestion, would you provide a patch or a sudo-code?
But as a workaround I modify SearchTask to be a subclass of QRunnable (indeed copy-paste most of code from RenderTask) and for its thread pool I set max thread count to 1 then it searches documents one by one without crash.
Hello Adam,
Sorry for my late reply I didn't have Internet access.
I also use version DjVuLibre 3.5.25 (from DjView-4.9 Windows installer package).
It seems it is an issue with Windows side, because I tested it with different DjVu files.
> do you have a debug of DjVuLibre available? And do you know whether this
> happens on the first iteration through the loop within
> "DjVuPage::search"? Have you tried using a single instance of
> "ddjvu_context_t"? And locking on the single context instead of the
> invidiual documents?
As I said I didn't compile it by myself, just a release build is available (when I have more free time I'll try to compile it).
No, crash occurs on the second iteration.
I don't know how to apply your suggestion, would you provide a patch or a sudo-code?
But as a workaround I modify SearchTask to be a subclass of QRunnable (indeed copy-paste most of code from RenderTask) and for its thread pool I set max thread count to 1 then it searches documents one by one without crash.
Best Regards,
Razi.