Bug 154777 - crash when opening encryted pdf
Summary: crash when opening encryted pdf
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.5.94
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 21:53 UTC by David Goller
Modified: 2008-01-14 22:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
password protected pdf (660.41 KB, application/pdf)
2007-12-28 23:14 UTC, David Goller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Goller 2007-12-28 21:53:43 UTC
Version:           0.5.94 (using KDE 3.97.1 (KDE 4.0 >= 20071214), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.20-15-generic

Okular chrashs, when trying to open a password protected pdf (PDF Version 1.6 - made with Acrobat Distiller 7.0.5)

Backtrace:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1236109616 (LWP 4101)]
[KCrash handler]
#6  0xb3081fc0 in Poppler::Document::load () from /usr/lib/libpoppler-qt4.so.1
#7  0xb30d78a7 in PDFGenerator::loadDocument (this=0x84e50a8, 
    filePath=@0xbf9c83b8, pagesVector=@0x812d04c)
    at /storage/tmp/kde4dev/kdegraphics/okular/generators/poppler/generator_pdf.cpp:349
#8  0xb4f16e30 in Okular::Document::openDocument (this=0x8117540, 
    docFile=@0xbf9c83b8, url=@0xbf9c834c, _mime=@0xbf9c83bc)
    at /storage/tmp/kde4dev/kdegraphics/okular/core/document.cpp:1191
#9  0xb4f8967b in Part::openFile (this=0x810c0a8)
    at /storage/tmp/kde4dev/kdegraphics/okular/part.cpp:743
#10 0xb765593a in KParts::ReadOnlyPart::openUrl (this=0x810c0a8, 
    url=@0xbf9c8574) at /storage/tmp/kde4dev/kdelibs/kparts/part.cpp:552
#11 0xb4f8aa18 in Part::openUrl (this=0x810c0a8, url=@0xbf9c8574)
    at /storage/tmp/kde4dev/kdegraphics/okular/part.cpp:815
#12 0x0804f999 in Shell::openUrl (this=0x80f2fd0, url=@0xbf9c8574, page=0)
    at /storage/tmp/kde4dev/kdegraphics/okular/shell/shell.cpp:133
#13 0x0804fce1 in Shell::fileOpen (this=0x80f2fd0)
    at /storage/tmp/kde4dev/kdegraphics/okular/shell/shell.cpp:256
#14 0x080501d5 in Shell::qt_metacall (this=0x80f2fd0, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9c8aec)
    at /storage/tmp/kde4dev/kdegraphics-build/okular/shell/shell.moc:87
#15 0xb7ec3bc0 in QMetaObject::activate ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#16 0xb7ec3dbc in QMetaObject::activate ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#17 0xb6baa10c in QAction::triggered ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#18 0xb6babe7a in QAction::activate ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#19 0xb6f9a7a5 in ?? ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#20 0x082fb898 in ?? ()
#21 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Pino Toscano 2007-12-28 22:02:51 UTC
Which Poppler version are you using? Could you attach the document, if possible?
Comment 2 David Goller 2007-12-28 23:14:17 UTC
Created attachment 22741 [details]
password protected pdf

okular crashes when opening this file
i'm using libpoppler1 (0.5.4-0ubuntu8.2)
Comment 3 Brad Hards 2007-12-29 02:07:34 UTC
Can you also provide the password?
Comment 4 David Goller 2007-12-29 12:08:22 UTC
the password for the pdf is "studigmt-p"
Comment 5 Albert Astals Cid 2007-12-29 17:16:25 UTC
Works here with poppler 0.6.3, is there any chance you can try with a newer poppler version?
Comment 6 Pino Toscano 2008-01-14 22:08:22 UTC
Thus the problem is not in Okular; we strongly suggest you updating to a more recent version of Poppler.
This is a known bug in Poppler-Qt4 0.5.4, and was fixed with the 0.6 serie.