Bug 379497 - Okular crashed when closing
Summary: Okular crashed when closing
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.25.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2017-05-04 02:58 UTC by amamiyamima
Modified: 2018-10-28 03:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.58 KB, text/plain)
2017-09-23 22:28 UTC, Vladimir Dergachev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description amamiyamima 2017-05-04 02:58:59 UTC
Application: okular (0.25.0)
KDE Platform Version: 4.14.22
Qt Version: 4.8.7
Operating System: Linux 4.10.12-ram x86_64
Distribution: Ubuntu 16.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I closed the Okular app that I opened last night by clicking on the 'X' button on title bar. And then it crashed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Okular (okular), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fee985a7900 (LWP 6086))]

Thread 2 (Thread 0x7fee7dacd700 (LWP 6091)):
#0  0x00007fee95736b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fee91db438c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fee91db449c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fee96c3723e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fee96c0513f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fee96c054a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fee96af4549 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fee96be51d3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fee96af6e3c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fee928ed6ba in start_thread (arg=0x7fee7dacd700) at pthread_create.c:333
#10 0x00007fee9574282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fee985a7900 (LWP 6086)):
[KCrash Handler]
#6  0x00007fee95671428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fee9567302a in __GI_abort () at abort.c:89
#8  0x00007fee956b37ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fee957cc2e0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fee956bbe0a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fee957c90b2 "free(): invalid pointer", action=3) at malloc.c:5004
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3865
#11 0x00007fee956bf98c in __GI___libc_free (mem=<optimized out>) at malloc.c:2966
#12 0x00007fee96c1f221 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007fee95fa22a2 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007fee86878024 in ?? () from /usr/lib/kde4/okularpart.so
#15 0x00007fee86878169 in ?? () from /usr/lib/kde4/okularpart.so
#16 0x00007fee868101f8 in Okular::Part::~Part() () from /usr/lib/kde4/okularpart.so
#17 0x00007fee86810539 in Okular::Part::~Part() () from /usr/lib/kde4/okularpart.so
#18 0x00007fee96c1f221 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fee95fa22a2 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fee979d0b56 in KMainWindow::~KMainWindow() () from /usr/lib/libkdeui.so.5
#21 0x0000000000410256 in ?? ()
#22 0x0000000000410349 in ?? ()
#23 0x00007fee96c20d48 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007fee95fa2d3c in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007fee96387063 in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007fee97a108e9 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#27 0x00007fee95f4bfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fee95f52f16 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007fee9790b6ba in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00007fee96c068bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007fee96c0a376 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007fee96c370ae in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007fee91db4197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fee91db43f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fee91db449c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fee96c3721e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#37 0x00007fee95ff9616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007fee96c0513f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007fee96c054a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007fee963b0207 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007fee8687c0e2 in ?? () from /usr/lib/kde4/okularpart.so
#42 0x00007fee95fa28d0 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#43 0x00007fee9636c39e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#44 0x00007fee8687d7b6 in ?? () from /usr/lib/kde4/okularpart.so
#45 0x00007fee96c06a26 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007fee95f4bfbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007fee95f530d6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#48 0x00007fee9790b6ba in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#49 0x00007fee96c068bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00007fee95f526dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#51 0x00007fee95fd03f2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#52 0x00007fee95fcfc83 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#53 0x00007fee95ff9542 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#54 0x00007fee91db4197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007fee91db43f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007fee91db449c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007fee96c3721e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#58 0x00007fee95ff9616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#59 0x00007fee96c0513f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#60 0x00007fee96c054a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#61 0x00007fee96c0b469 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#62 0x0000000000409708 in ?? ()
#63 0x00007fee9565c830 in __libc_start_main (main=0x4092c0, argc=6, argv=0x7ffdc26f65b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdc26f65a8) at ../csu/libc-start.c:291
#64 0x000000000040b339 in _start ()

Possible duplicates by query: bug 375933.

Reported using DrKonqi
Comment 1 Vladimir Dergachev 2017-09-23 22:28:46 UTC
Created attachment 107983 [details]
New crash information added by DrKonqi

okular (0.26.1) on KDE Platform 4.14.26 using Qt 4.8.7

- What I was doing when the application crashed:
Clicked the button to close okular. The apps had some memory swapped out. Crash after a second or so.

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f77b6a7b3fa in __GI_abort () at abort.c:89
[...]
#9  0x00007f77b6abdf96 in malloc_printerr (action=3, str=0x7f77b6ba9938 "free(): invalid size", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5049
#10 0x00007f77b6abe7de in _int_free (av=0x7f77b6de0b00 <main_arena>, p=0x7fff3facf500, have_lock=0) at malloc.c:3905
#11 0x00007f77b758e894 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Comment 2 Albert Astals Cid 2017-09-24 17:47:06 UTC
Anyone can reproduce this in a modern version of okular, i.e. >= 1.0 ?
Comment 3 Andrew Crouthamel 2018-09-28 02:42: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 set the bug status 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 4 Andrew Crouthamel 2018-10-28 03:38:01 UTC
Dear Bug Submitter,

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!