I got this report: https://github.com/ruby-gnome2/ruby-gnome2/issues/1159
from Debian's: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896596
Looks like poppler_document_new_from_stream() creates a PopplerInputStream with zero length even when _new_from_stream's length parameter is specified. That seems to cause some problems with PDFDoc's getLength() check:
There's a patch in https://github.com/ruby-gnome2/ruby-gnome2/issues/1159. I don't know if that needs a check for length == -1 (i.e. unknown)
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/414.