https://bugs.kde.org/show_bug.cgi?id=388175
--- Comment #4 from Michael Weghorn ---
"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.
0x7fffc9f51d51 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
(gdb) bt
#0 0x7fffc9f51d51 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#1 0x7fffc9f51da9 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#2 0x7fffc9f520e9 in Poppler::ScreenAnnotation::~ScreenAnnotation() ()
from /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#3 0x7fffca1fdcb5 in disposeAnnotation (ann=0x565025b0) at
/home/michi/development/okular/generators/poppler/annots.cpp:42
#4 0x7fffd6c90d04 in Okular::Annotation::~Annotation (this=0x565025b0,
__in_chrg=) at
/home/michi/development/okular/core/annotations.cpp:522
#5 0x7fffd6c9fc16 in Okular::ScreenAnnotation::~ScreenAnnotation
(this=0x565025b0, __in_chrg=) at
/home/michi/development/okular/core/annotations.cpp:2857
#6 0x7fffd6c9fc32 in Okular::ScreenAnnotation::~ScreenAnnotation
(this=0x565025b0, __in_chrg=) at
/home/michi/development/okular/core/annotations.cpp:2859
#7 0x7fffd6d027a0 in Okular::Page::deleteAnnotations (this=0x562502d0)
at /home/michi/development/okular/core/page.cpp:813
#8 0x7fffd6cffe17 in Okular::Page::~Page (this=0x562502d0,
__in_chrg=) at /home/michi/development/okular/core/page.cpp:147
#9 0x7fffd6cc2f53 in Okular::Document::closeDocument (this=0x55894950)
at /home/michi/development/okular/core/document.cpp:2623
#10 0x7fffd7050d27 in Okular::Part::closeUrl (this=0x558461f0,
promptToSave=false) at /home/michi/development/okular/part.cpp:1815
#11 0x55567678 in Shell::~Shell (this=0x5584d2a0,
__in_chrg=, __vtt_parm=) at
/home/michi/development/okular/shell/shell.cpp:194
#12 0x555677da in Shell::~Shell (this=0x5584d2a0,
__in_chrg=, __vtt_parm=) at
/home/michi/development/okular/shell/shell.cpp:202
#13 0x7321d8e0 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x741d22a3 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x742e4eeb in QMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x76dd0377 in KMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#17 0x76e158a5 in KXmlGuiWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#18 0x7419359c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x7419ae64 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x731ee258 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x731f09cd in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x73247ac3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x7fffee241fa7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x7fffee2421e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x7fffee24226c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x732470ef in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x731ec2aa in
QEventLoop::exec(QFlags) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x731f5214 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x55561638 in main (argc=2, argv=0x7fffde28) 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.