[okular] [Bug 414179] New: Okular crashes when a password protected PDF is opened.

Anoop Chargotra bugzilla_noreply at kde.org
Fri Nov 15 15:23:44 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=414179

            Bug ID: 414179
           Summary: Okular crashes when a password protected PDF is
                    opened.
           Product: okular
           Version: 1.7.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: Anoop.Chargotra at gmail.com
  Target Milestone: ---

Application: okular (1.7.3)

Qt Version: 5.12.5
Frameworks Version: 5.61.0
Operating System: Linux 5.3.11-300.fc31.x86_64 x86_64
Distribution: "Fedora release 31 (Thirty One)"

-- Information about the crash:
Okular crashes when a password protected PDF is opened. This issue is seen on
Fedora 31 (KDE Plasma Version: 5.16.5, KDE Framework Version: 5.61.0). On
previous versions it used to work fine. This issue is always reproducible.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9fa877bc80 (LWP 10551))]

Thread 4 (Thread 0x7f9f9153e700 (LWP 10556)):
#0  0x00007f9fab51bd45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f9f91bc506b in util_queue_thread_func () from
/usr/lib64/dri/i965_dri.so
#2  0x00007f9f91bc4c7b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f9fab5154e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9fabe09643 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9f99ae8700 (LWP 10554)):
#0  0x00007f9fabdfa3fc in read () from /lib64/libc.so.6
#1  0x00007f9faaaf646f in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f9faaaae2e7 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f9faaaae742 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#4  0x00007f9faaaae8d3 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#5  0x00007f9fac386cd3 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#6  0x00007f9fac330ceb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#7  0x00007f9fac189395 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f9fac602f4a in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
#9  0x00007f9fac18a4e6 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#10 0x00007f9fab5154e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f9fabe09643 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9f9b44c700 (LWP 10552)):
#0  0x00007f9fabdfea1f in poll () from /lib64/libc.so.6
#1  0x00007f9fab59b38a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f9fab59cfea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f9f9b655ac8 in QXcbEventQueue::run() () from
/lib64/libQt5XcbQpa.so.5
#4  0x00007f9fac18a4e6 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#5  0x00007f9fab5154e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9fabe09643 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9fa877bc80 (LWP 10551)):
[KCrash Handler]
#6  0x00007f9fabe69cb5 in __strlen_avx2 () from /lib64/libc.so.6
#7  0x00007f9fabd97f23 in strdup () from /lib64/libc.so.6
#8  0x00007f9f90a73371 in SignatureInfo::setSubjectDN(char const*) () from
/lib64/libpoppler.so.84
#9  0x00007f9f909d1b81 in FormFieldSignature::validateSignature(bool, bool,
long) () from /lib64/libpoppler.so.84
#10 0x00007f9f90c2edd9 in Poppler::FormFieldSignature::validate(int, QDateTime
const&) const () from /lib64/libpoppler-qt5.so.1
#11 0x00007f9f90c2f904 in
Poppler::FormFieldSignature::validate(Poppler::FormFieldSignature::ValidateOptions)
const () from /lib64/libpoppler-qt5.so.1
#12 0x00007f9f90c972f7 in
PopplerFormFieldSignature::PopplerFormFieldSignature(Poppler::FormFieldSignature*)
() from /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so
#13 0x00007f9f90c8f99d in PDFGenerator::addFormFields(Poppler::Page*,
Okular::Page*) () from
/usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so
#14 0x00007f9f90c8fc70 in PDFGenerator::loadPages(QVector<Okular::Page*>&, int,
bool) () from
/usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so
#15 0x00007f9f90c90033 in PDFGenerator::init(QVector<Okular::Page*>&, QString
const&) () from
/usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so
#16 0x00007f9f90c9023c in PDFGenerator::loadDocumentWithPassword(QString
const&, QVector<Okular::Page*>&, QString const&) () from
/usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so
#17 0x00007f9f9862c817 in
Okular::DocumentPrivate::openDocumentInternal(KPluginMetaData const&, bool,
QString const&, QByteArray const&, QString const&) () from
/lib64/libOkular5Core.so.9
#18 0x00007f9f9862ceab in Okular::Document::openDocument(QString const&, QUrl
const&, QMimeType const&, QString const&) () from /lib64/libOkular5Core.so.9
#19 0x00007f9f987739c4 in Okular::Part::doOpenFile(QMimeType const&, QString
const&, bool*) () from /usr/lib64/qt5/plugins/okularpart.so
#20 0x00007f9f98774119 in Okular::Part::openFile() () from
/usr/lib64/qt5/plugins/okularpart.so
#21 0x00007f9fada3b2f1 in KParts::ReadOnlyPartPrivate::openLocalFile() () from
/lib64/libKF5Parts.so.5
#22 0x00007f9fada3c28e in KParts::ReadOnlyPart::openUrl(QUrl const&) () from
/lib64/libKF5Parts.so.5
#23 0x00007f9f98764a6e in Okular::Part::openUrl(QUrl const&, bool) () from
/usr/lib64/qt5/plugins/okularpart.so
#24 0x00005599cc2b8d1b in Shell::openUrl(QUrl const&, QString const&) ()
#25 0x00005599cc2b8f97 in Shell::openDocument(QUrl const&, QString const&)
[clone .part.0] ()
#26 0x00005599cc2b1537 in Okular::main(QStringList const&, QString const&) ()
#27 0x00005599cc2b0c1b in main ()
[Inferior 1 (process 10551) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list