Bug 376936 - Crash starting Okular
Summary: Crash starting Okular
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-02-26 01:28 UTC by lbickley
Modified: 2017-02-27 23:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
File Okular was attempting to read when it crashed... (2.44 MB, application/vnd.ms-htmlhelp)
2017-02-26 01:31 UTC, lbickley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lbickley 2017-02-26 01:28:01 UTC
Application: okular (0.26.1)
KDE Platform Version: 4.14.25
Qt Version: 4.8.6
Operating System: Linux 4.4.46-11-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed: Attempted to read CHM format file. Crashed immediately - repeatable - tried several times...

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f4c9d9bc700 (LWP 28277)):
#0  0x00007f4cb36f251d in read () at /lib64/libc.so.6
#1  0x00007f4cb0899670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f4cb0858e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f4cb08592a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f4cb085942c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f4cb4174fce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f4cb4146d3f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#7  0x00007f4cb4147035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#8  0x00007f4cb404449f in QThread::exec() () at /usr/lib64/libQtCore.so.4
#9  0x00007f4cb4128643 in  () at /usr/lib64/libQtCore.so.4
#10 0x00007f4cb4046b7f in  () at /usr/lib64/libQtCore.so.4
#11 0x00007f4cb1d95734 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f4cb36fed3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f4c9e6d4700 (LWP 28272)):
#0  0x00007f4cb36f649d in poll () at /lib64/libc.so.6
#1  0x00007f4cb0859314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f4cb085942c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f4cb4174fce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f4cb4146d3f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f4cb4147035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f4cb404449f in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f4cb4128643 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f4cb4046b7f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f4cb1d95734 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f4cb36fed3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f4cb675f880 (LWP 28271)):
[KCrash Handler]
#6  0x00007f4cb36498d7 in raise () at /lib64/libc.so.6
#7  0x00007f4cb364acaa in abort () at /lib64/libc.so.6
#8  0x00007f4cb403c694 in qt_message_output(QtMsgType, char const*) () at /usr/lib64/libQtCore.so.4
#9  0x00007f4cb403c819 in  () at /usr/lib64/libQtCore.so.4
#10 0x00007f4cb403d024 in qFatal(char const*, ...) () at /usr/lib64/libQtCore.so.4
#11 0x00007f4c9c3afd70 in  () at /usr/lib64/kde4/okularGenerator_chmlib.so
#12 0x00007f4c9c3b945c in  () at /usr/lib64/kde4/okularGenerator_chmlib.so
#13 0x00007f4c9c3bf0a7 in  () at /usr/lib64/kde4/okularGenerator_chmlib.so
#14 0x00007f4ca4112f1a in Okular::Generator::loadDocumentWithPassword(QString const&, QVector<Okular::Page*>&, QString const&) () at /usr/lib64/libokularcore.so.7
#15 0x00007f4ca4107245 in  () at /usr/lib64/libokularcore.so.7
#16 0x00007f4ca410779c in Okular::Document::openDocument(QString const&, KUrl const&, KSharedPtr<KMimeType> const&, QString const&) () at /usr/lib64/libokularcore.so.7
#17 0x00007f4ca43ea313 in Okular::Part::doOpenFile(KSharedPtr<KMimeType> const&, QString const&, bool*) () at /usr/lib64/kde4/okularpart.so
#18 0x00007f4ca43eb61d in Okular::Part::openFile() () at /usr/lib64/kde4/okularpart.so
#19 0x00007f4cb638bf67 in  () at /usr/lib64/libkparts.so.4
#20 0x00007f4cb638d54e in KParts::ReadOnlyPart::openUrl(KUrl const&) () at /usr/lib64/libkparts.so.4
#21 0x00007f4ca43e03db in Okular::Part::openUrl(KUrl const&) () at /usr/lib64/kde4/okularpart.so
#22 0x000000000040fe84 in  ()
#23 0x0000000000410e49 in  ()
#24 0x000000000040c3d5 in  ()
#25 0x00007f4cb415c0ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#26 0x00007f4cb4b545b2 in QAction::triggered(bool) () at /usr/lib64/libQtGui.so.4
#27 0x00007f4cb4b55f63 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQtGui.so.4
#28 0x00007f4cb4f7f2d9 in  () at /usr/lib64/libQtGui.so.4
#29 0x00007f4cb4f83829 in  () at /usr/lib64/libQtGui.so.4
#30 0x00007f4cb5927fa5 in KMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libkdeui.so.5
#31 0x00007f4cb4ba9bba in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#32 0x00007f4cb4f8767b in QMenu::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#33 0x00007f4cb4b5a6fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#34 0x00007f4cb4b60d7a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#35 0x00007f4cb5871e3a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#36 0x00007f4cb414817d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#37 0x00007f4cb4b60573 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#38 0x00007f4cb4bd1f7c in  () at /usr/lib64/libQtGui.so.4
#39 0x00007f4cb4bd06bc in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#40 0x00007f4cb4bf7552 in  () at /usr/lib64/libQtGui.so.4
#41 0x00007f4cb0859134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#42 0x00007f4cb0859388 in  () at /usr/lib64/libglib-2.0.so.0
#43 0x00007f4cb085942c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#44 0x00007f4cb4174fce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#45 0x00007f4cb4bf7606 in  () at /usr/lib64/libQtGui.so.4
#46 0x00007f4cb4146d3f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#47 0x00007f4cb4147035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#48 0x00007f4cb414c489 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#49 0x000000000040a735 in  ()
#50 0x00007f4cb36356e5 in __libc_start_main () at /lib64/libc.so.6
#51 0x000000000040c0a9 in _start ()

Reported using DrKonqi
Comment 1 lbickley 2017-02-26 01:31:34 UTC
Created attachment 104226 [details]
File Okular was attempting to read when it crashed...
Comment 2 Albert Astals Cid 2017-02-27 23:26:11 UTC
Git commit 6874317c8ac7606adca5f8f73ad12653f898ca28 by Albert Astals Cid.
Committed on 27/02/2017 at 23:25.
Pushed by aacid into branch 'Applications/16.12'.

Fix crash on CHM files that use "plain English" LCID

M  +1    -1    generators/chm/lib/libchmtextencoding.cpp

https://commits.kde.org/okular/6874317c8ac7606adca5f8f73ad12653f898ca28