[poppler] poppler really slow when reading some documents
Albert Astals Cid
aacid at kde.org
Tue Jan 3 12:03:02 PST 2006
A Dimarts 03 Gener 2006 18:52, Christian Krause va escriure:
> > > Sure. No difference. It is too slow to show the document:
> > Not with evince. Can you try with the test applications inside poppler
> > (especially qt4/tests/test-poppler-qt4 )?
> 1st test
> qt/test-poppler-qt /tmp/serialata10a.pdf
> the first page ist displayed within a second, switching to other pages
> is fast, too
> 2nd test
> Sorry, but I can't run the QT4 tests, because I haven't qt4 installed
> yet and it is not available for my distribution.
> 3rd test
> glib/test-poppler-glib /tmp/serialata10a.pdf
> nothing is displayed, 100% CPU usage
> > Can you try with KPDF from KDE 3.5?
> Yes, it doesn't work. But this depends on the fact, that kdegraphics
> 3.5.0 has only "theoretical" poppler support. Something is linked
> against poppler, but the xpdf stuff and the goo lib is built as well
> (even if the project is configured --with-poppler) and used (as seen
> in gdb).
kpdf does not use poppler because our copy of xpdf is somewhat better, but the
fact that we share 99% of the code is real.
The backtrace you attach seem to imply the problem is in too large document
table of contents.
I'll have a look later on.
> > It does seem to be a problem with the glib test app. Maybe it could be in
> > the glib bindings?
> The glib test app works in the poppler 0.4.3, but eats 100% CPU in CVS
> version (during the print_index function, which isn't in the 0.4.3):
> (gdb) bt
> #0 0xa797611c in memcpy () from /lib/libc.so.6
> #1 0xa7f4310d in GooString::append () from poppler/.libs/libpoppler.so.0
> #2 0xa7f0c16d in Lexer::getObj () from poppler/.libs/libpoppler.so.0
> #3 0xa7f161da in Parser::shift () from poppler/.libs/libpoppler.so.0
> #4 0xa7f16689 in Parser::getObj () from poppler/.libs/libpoppler.so.0
> #5 0xa7f2133e in XRef::fetch () from poppler/.libs/libpoppler.so.0
> #6 0xa7f119ef in Object::fetch () from poppler/.libs/libpoppler.so.0
> #7 0xa7f1261d in OutlineItem::readItemList ()
> from poppler/.libs/libpoppler.so.0
> #8 0xa7f12938 in OutlineItem::open () from poppler/.libs/libpoppler.so.0
> #9 0xa7e6bdb9 in poppler_index_iter_get_child ()
> from glib/.libs/libpoppler-glib.so.0
> #10 0x080491f8 in print_index ()
> #11 0x08049211 in print_index ()
> #12 0x08049211 in print_index ()
> #13 0x080495da in main ()
> Best regards,
> poppler mailing list
> poppler at lists.freedesktop.org
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
More information about the poppler