Subject: [Okular-devel] [Bug 294514] New: Okular stalls with 100% CPU when trying to print/preview a document with filled forms https://bugs.kde.org/show_bug.cgi?id=294514 Summary: Okular stalls with 100% CPU when trying to print/preview a document with filled forms Product: okular Version: unspecified Platform: Ubuntu Packages OS/Version: Linux Status: NEW Severity: normal Priority: NOR Component: general AssignedTo: okular-devel@xxxxxxx ReportedBy: drf@xxxxxxx Version: unspecified (using KDE 4.8.0) OS: Linux This bug can be easily reproduced by filling the new eV expense form. When trying to print or preview print, Okular goes 100% CPU and stalls forever. Looking at the backtraces, it seems to be related to some issues with poppler and fonts. This is one of the most easy to find: #0 0x00007ffff516d6ea in _IO_fread (buf=<optimized out>, size=1, count=<optimized out>, fp=<optimized out>) at iofread.c:47 #1 0x00007fffe38b26af in FileStream::fillBuf() () from /usr/lib/libpoppler.so.13 #2 0x00007fffe38b6d0d in FileStream::getChar() () from /usr/lib/libpoppler.so.13 #3 0x00007fffe38b51a3 in FlateStream::readSome() () from /usr/lib/libpoppler.so.13 #4 0x00007fffe38b553a in FlateStream::getChars(int, unsigned char*) () from /usr/lib/libpoppler.so.13 #5 0x00007fffe387ac87 in GfxFont::readEmbFontFile(XRef*, int*) () from /usr/lib/libpoppler.so.13 #6 0x00007fffe387be2f in Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref, GooString*, GfxFontType, Dict*) () from /usr/lib/libpoppler.so.13 #7 0x00007fffe387e1fc in GfxFont::makeFont(XRef*, char*, Ref, Dict*) () from /usr/lib/libpoppler.so.13 #8 0x00007fffe387e48f in GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*) () from /usr/lib/libpoppler.so.13 #9 0x00007fffe38ca4ce in PSOutputDev::setupFonts(Dict*) () from /usr/lib/libpoppler.so.13 #10 0x00007fffe38ca569 in PSOutputDev::setupResources(Dict*) () from /usr/lib/libpoppler.so.13 Although, all of them seem to originate from "Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref, GooString*, GfxFontType, Dict*) () from /usr/lib/libpoppler.so.13" Reproducible: Didn't try Steps to Reproduce: Download http://ev.kde.org/resources/expense-iban.pdf , fill some forms, try to print it or to preview print. Actual Results: Okular stalls at 100% CPU Expected Results: Prints successfully -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Okular-devel mailing list Okular-devel@xxxxxxx https://mail.kde.org/mailman/listinfo/okular-devel |