[okular] [Bug 388175] core dump while opening a specific PDF document

Michael Weghorn bugzilla_noreply at kde.org
Sat Dec 30 10:30:07 UTC 2017


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

--- Comment #4 from Michael Weghorn <m.weghorn at posteo.de> ---
"kts" has sent me the PDF file by email. Since it is a book, I am not sure
whether it might be copyrighted, so I don't feel confident of making it
available publicly.

I can reproduce the problem (with custom build of Okular's current master
branch, as of commit d150c10bce8b2e8b729fbae27a2072c31bcad9d3).

In fact, Okular does crash, there is a segfault when closing Okular (user might
not recognize, since they want to close application anyways).

gdb backtrace:

Thread 1 "okular" received signal SIGSEGV, Segmentation fault.
0x00007fffc9f51d51 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
(gdb) bt
#0  0x00007fffc9f51d51 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#1  0x00007fffc9f51da9 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#2  0x00007fffc9f520e9 in Poppler::ScreenAnnotation::~ScreenAnnotation() ()
from /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#3  0x00007fffca1fdcb5 in disposeAnnotation (ann=0x5555565025b0) at
/home/michi/development/okular/generators/poppler/annots.cpp:42
#4  0x00007fffd6c90d04 in Okular::Annotation::~Annotation (this=0x5555565025b0,
__in_chrg=<optimized out>) at
/home/michi/development/okular/core/annotations.cpp:522
#5  0x00007fffd6c9fc16 in Okular::ScreenAnnotation::~ScreenAnnotation
(this=0x5555565025b0, __in_chrg=<optimized out>) at
/home/michi/development/okular/core/annotations.cpp:2857
#6  0x00007fffd6c9fc32 in Okular::ScreenAnnotation::~ScreenAnnotation
(this=0x5555565025b0, __in_chrg=<optimized out>) at
/home/michi/development/okular/core/annotations.cpp:2859
#7  0x00007fffd6d027a0 in Okular::Page::deleteAnnotations (this=0x5555562502d0)
at /home/michi/development/okular/core/page.cpp:813
#8  0x00007fffd6cffe17 in Okular::Page::~Page (this=0x5555562502d0,
__in_chrg=<optimized out>) at /home/michi/development/okular/core/page.cpp:147
#9  0x00007fffd6cc2f53 in Okular::Document::closeDocument (this=0x555555894950)
at /home/michi/development/okular/core/document.cpp:2623
#10 0x00007fffd7050d27 in Okular::Part::closeUrl (this=0x5555558461f0,
promptToSave=false) at /home/michi/development/okular/part.cpp:1815
#11 0x0000555555567678 in Shell::~Shell (this=0x55555584d2a0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/home/michi/development/okular/shell/shell.cpp:194
#12 0x00005555555677da in Shell::~Shell (this=0x55555584d2a0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/home/michi/development/okular/shell/shell.cpp:202
#13 0x00007ffff321d8e0 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff41d22a3 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff42e4eeb in QMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff6dd0377 in KMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#17 0x00007ffff6e158a5 in KXmlGuiWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#18 0x00007ffff419359c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff419ae64 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff31ee258 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff31f09cd in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff3247ac3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fffee241fa7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fffee2421e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fffee24226c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff32470ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff31ec2aa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff31f5214 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x0000555555561638 in main (argc=2, argv=0x7fffffffde28) at
/home/michi/development/okular/shell/main.cpp:83
(gdb) 


In case anybody wants to have a look: Please let us know in case you need the
PDF file for testing or any further information.

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


More information about the Okular-devel mailing list