Bug 378602

Summary: Ark crashes opening .doc file from inside zip
Product: [Applications] calligrawords Reporter: ibukun
Component: okularpluginAssignee: Friedrich W. H. Kossebau <kossebau>
Status: RESOLVED WORKSFORME    
Severity: crash CC: luigi.toscano, rthomsen6
Priority: NOR Keywords: drkonqi
Version: 3.0.0   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description ibukun 2017-04-10 00:45:37 UTC
Application: ark (16.12.0)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.9.13-desktop-2.mga6 x86_64
Distribution: "Mageia 6"

-- Information about the crash:
- What I was doing when the application crashed:
Opened a zip file I downloaded from Gmail with three .doc attachments. When I try to open one of the files by double-clicking, it crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f366f948800 (LWP 21947))]

Thread 3 (Thread 0x7f3662de7700 (LWP 21949)):
#0  0x00007f367a6f2f9d in poll () at /lib64/libc.so.6
#1  0x00007f3676d2fa54 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f3676d2fb5c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f367affb95b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f367afa6f9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f367ade03bc in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f3678dc8615 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f367ade4ff9 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f367746966d in start_thread () at /lib64/libpthread.so.0
#9  0x00007f367a6feded in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f366ac3c700 (LWP 21948)):
#0  0x00007f367a6f2f9d in poll () at /lib64/libc.so.6
#1  0x00007f36747ef902 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f36747f1657 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f366d90eba9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f367ade4ff9 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f367746966d in start_thread () at /lib64/libpthread.so.0
#6  0x00007f367a6feded in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f366f948800 (LWP 21947)):
[KCrash Handler]
#6  0x00007f365a204e60 in KoPart::document() const () at /lib64/libkomain.so.15
#7  0x00007f365a72c204 in OkularOdtGenerator::loadDocument(QString const&, QVector<Okular::Page*>&) () at /lib64/libkookularGenerator_odt.so.15
#8  0x00007f365bd98926 in Okular::Generator::loadDocumentWithPassword(QString const&, QVector<Okular::Page*>&, QString const&) () at /lib64/libOkular5Core.so.7
#9  0x00007f365bd87c6e in Okular::DocumentPrivate::openDocumentInternal(KPluginMetaData const&, bool, QString const&, QByteArray const&, QString const&) () at /lib64/libOkular5Core.so.7
#10 0x00007f365bd880e9 in Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) () at /lib64/libOkular5Core.so.7
#11 0x00007f36602bc63e in Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) () at /usr/lib64/qt5/plugins/okularpart.so
#12 0x00007f36602bdb56 in Okular::Part::openFile() () at /usr/lib64/qt5/plugins/okularpart.so
#13 0x00007f367d6a32cd in KParts::ReadOnlyPartPrivate::openLocalFile() () at /lib64/libKF5Parts.so.5
#14 0x00007f367d6a3ff4 in KParts::ReadOnlyPart::openUrl(QUrl const&) () at /lib64/libKF5Parts.so.5
#15 0x00007f36602aff99 in Okular::Part::openUrl(QUrl const&) () at /usr/lib64/qt5/plugins/okularpart.so
#16 0x00007f36619665b0 in ArkViewer::viewInInternalViewer(QString const&, QMimeType const&) () at /usr/lib64/qt5/plugins/arkpart.so
#17 0x00007f3661968357 in ArkViewer::view(QString const&) () at /usr/lib64/qt5/plugins/arkpart.so
#18 0x00007f36619548ae in Ark::Part::slotPreviewExtractedEntry(KJob*) () at /usr/lib64/qt5/plugins/arkpart.so
#19 0x00007f367afd442c in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#20 0x00007f367be00732 in KJob::result(KJob*, KJob::QPrivateSignal) () at /lib64/libKF5CoreAddons.so.5
#21 0x00007f367be01ee1 in KJob::finishJob(bool) () at /lib64/libKF5CoreAddons.so.5
#22 0x00007f367db28082 in Kerfuffle::Job::onFinished(bool) () at /lib64/libkerfuffle.so.16
#23 0x00007f367afd442c in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#24 0x00007f367db5f542 in Kerfuffle::ReadOnlyArchiveInterface::finished(bool) () at /lib64/libkerfuffle.so.16
#25 0x00007f367db4d4af in Kerfuffle::CliInterface::extractProcessFinished(int, QProcess::ExitStatus) () at /lib64/libkerfuffle.so.16
#26 0x00007f367afd442c in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#27 0x00007f367aee384f in QProcess::finished(int, QProcess::ExitStatus) () at /lib64/libQt5Core.so.5
#28 0x00007f367aee6a13 in QProcessPrivate::_q_processDied() () at /lib64/libQt5Core.so.5
#29 0x00007f367aee6d69 in QProcess::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libQt5Core.so.5
#30 0x00007f367afd4379 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#31 0x00007f367b04b87e in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /lib64/libQt5Core.so.5
#32 0x00007f367afdfe3b in QSocketNotifier::event(QEvent*) () at /lib64/libQt5Core.so.5
#33 0x00007f367b8bbc4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#34 0x00007f367b8c0db6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#35 0x00007f367afa9118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#36 0x00007f367affbddd in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#37 0x00007f3676d2f887 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#38 0x00007f3676d2fab8 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#39 0x00007f3676d2fb5c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#40 0x00007f367affb936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#41 0x00007f367afa6f9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#42 0x00007f367afaf301 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#43 0x000000000040befc in main ()

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:28:24 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2021-01-01 04:36:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-01-16 04:35:41 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!