Bug 395029 - Segmentation fault when changing opened PDF
Summary: Segmentation fault when changing opened PDF
Status: RESOLVED UNMAINTAINED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.25.0
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-04 14:58 UTC by krzmbrzl
Modified: 2018-06-04 22:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description krzmbrzl 2018-06-04 14:58:41 UTC
I am creating a document using LaTeX and while doing so I like having the created PDf opend in Okular in order to properly inspect it.
However after recompiling the LaTeX source and thus recreating the PDf file Okular tends to crash. This behaviour is rather new (I experienced it in the last couple of weeks but before everything worked well) and it doesn't occur always but pretty often.

I am experiencing this bug on Linux Mint 18.3 and here's the output of okular --version:
Qt: 4.8.7
KDE Development Platform: 4.14.22
Okular: 0.25.0

And this is the backtrace as created by the KDE bug-report manager:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:245
#7  0x00007ff4f1d31bcf in GooString::Set(char const*, int, char const*, int) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#8  0x00007ff4f1ce612c in Object::copy(Object*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#9  0x00007ff4f1c79d71 in Array::getString(int, GooString*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#10 0x00007ff4f1c7bfb1 in NameTree::Entry::Entry(Array*, int) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#11 0x00007ff4f1c7c58a in NameTree::parse(Object*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#12 0x00007ff4f1c7c626 in NameTree::parse(Object*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#13 0x00007ff4f1c7c626 in NameTree::parse(Object*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#14 0x00007ff4f1c7c64f in NameTree::init(XRef*, Object*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#15 0x00007ff4f1c7d87f in Catalog::getDestNameTree() () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#16 0x00007ff4f1c7d919 in Catalog::findDest(GooString*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.58
#17 0x00007ff4f204a648 in Poppler::LinkDestination::LinkDestination(Poppler::LinkDestinationData const&) () from /usr/lib/x86_64-linux-gnu/libpoppler-qt4.so.4
#18 0x00007ff4f2041897 in Poppler::Document::linkDestination(QString const&) () from /usr/lib/x86_64-linux-gnu/libpoppler-qt4.so.4
#19 0x00007ff4f22956c3 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so
#20 0x00007ff4f811c471 in Okular::Document::metaData(QString const&, QVariant const&) const () from /usr/lib/libokularcore.so.7
#21 0x00007ff4f849552f in ?? () from /usr/lib/kde4/okularpart.so
#22 0x00007ff4f84957a8 in ?? () from /usr/lib/kde4/okularpart.so
#23 0x00007ff4f849613e in ?? () from /usr/lib/kde4/okularpart.so
#24 0x00007ff4f8493c3e in TOC::notifySetup(QVector<Okular::Page*> const&, int) () from /usr/lib/kde4/okularpart.so
#25 0x00007ff4f8131e07 in Okular::Document::openDocument(QString const&, KUrl const&, KSharedPtr<KMimeType> const&, QString const&) () from /usr/lib/libokularcore.so.7
#26 0x00007ff4f840c43d in Okular::Part::doOpenFile(KSharedPtr<KMimeType> const&, QString const&, bool*) () from /usr/lib/kde4/okularpart.so
#27 0x00007ff4f840dce0 in Okular::Part::openFile() () from /usr/lib/kde4/okularpart.so
#28 0x00007ff509c4e674 in ?? () from /usr/lib/libkparts.so.4
#29 0x00007ff509c50f4d in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#30 0x00007ff4f8404906 in Okular::Part::slotDoFileDirty() () from /usr/lib/kde4/okularpart.so
#31 0x00007ff4f840f965 in ?? () from /usr/lib/kde4/okularpart.so
#32 0x00007ff50862bf80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007ff508631bf3 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007ff50795cfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007ff507963f16 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007ff50931c6ba in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#37 0x00007ff5086178bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007ff50864a6f0 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007ff508647899 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007ff5037c4197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007ff5037c43f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ff5037c449c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ff50864821e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007ff507a0a616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007ff50861613f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007ff5086164a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007ff50861c469 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x0000000000409708 in ?? ()
#49 0x00007ff50706c830 in __libc_start_main (main=0x4092c0, argc=6, argv=0x7ffee81a9328, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffee81a9318) at ../csu/libc-start.c:291
#50 0x000000000040b339 in _start ()
Comment 1 Albert Astals Cid 2018-06-04 22:52:47 UTC
You're using an Okular version that is more than two years old, sadly we can't really offer support for this.