Bug 354798 - Okular crashed on exit
Summary: Okular crashed on exit
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-03 17:17 UTC by Vadim A. Misbakh-Soloviov (mva)
Modified: 2015-11-03 21:35 UTC (History)
1 user (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 Vadim A. Misbakh-Soloviov (mva) 2015-11-03 17:17:04 UTC
Application: okular (1.0.0)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.2.1 x86_64
Distribution: "Sabayon Linux amd64 15.11"

-- Information about the crash:
Hi there!
Actually, bug is reproducing only when I closing Okular (by Ctrl+Q, for example)

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fcf5488e700 (LWP 698409)):
#0  0x00007fcf6584b58d in poll () from /lib64/libc.so.6
#1  0x00007fcf62297c6a in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007fcf6229a0cf in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fcf55dadf89 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fcf65ee7929 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fcf61e744bc in start_thread () from /lib64/libpthread.so.0
#6  0x00007fcf658551cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fcf561a9880 (LWP 698407)):
[KCrash Handler]
#6  0x000055f137259ea4 in Shell::setActiveTab(int) ()
#7  0x00007fcf660fc7f6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#8  0x00007fcf66b9c87b in QTabWidget::currentChanged(int) () from /usr/lib64/libQt5Widgets.so.5
#9  0x00007fcf66b9f9f7 in QTabWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007fcf660fcd71 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#11 0x00007fcf66b8c0fb in QTabBar::currentChanged(int) () from /usr/lib64/libQt5Widgets.so.5
#12 0x00007fcf66b96d08 in QTabBar::removeTab(int) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007fcf66b9e16c in QTabWidgetPrivate::_q_removeTab(int) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007fcf66b9f9df in QTabWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007fcf660fcd71 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#16 0x00007fcf66e0145e in QStackedWidget::widgetRemoved(int) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007fcf66e0154b in QStackedWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007fcf660fcd71 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#19 0x00007fcf66df66fb in QStackedLayout::widgetRemoved(int) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007fcf669d5619 in QStackedLayout::takeAt(int) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007fcf669cbcd0 in removeWidgetRecursively(QLayoutItem*, QWidget*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007fcf669a8123 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007fcf669adc22 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007fcf660ccd4d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#25 0x00007fcf661053e6 in QObjectPrivate::setParent_helper(QObject*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007fcf66105a98 in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#27 0x00007fcf669f37b6 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007fcf4e687ddf in Sidebar::~Sidebar() () from /usr/lib64/qt5/plugins/okularpart.so
#29 0x00007fcf686a4180 in KParts::Part::~Part() () from /usr/lib64/libKF5Parts.so.5
#30 0x00007fcf4e5e2309 in Okular::Part::~Part() () from /usr/lib64/qt5/plugins/okularpart.so
#31 0x00007fcf4e5e245f in Okular::Part::~Part() () from /usr/lib64/qt5/plugins/okularpart.so
#32 0x00007fcf660fdc1c in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#33 0x00007fcf669f3734 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007fcf68403576 in KMainWindow::~KMainWindow() () from /usr/lib64/libKF5XmlGui.so.5
#35 0x000055f13725fabc in Shell::~Shell() ()
#36 0x000055f13725fd1f in Shell::~Shell() ()
#37 0x00007fcf660fe068 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#38 0x00007fcf669f82e4 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007fcf66b3653b in QMainWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007fcf68403cba in KMainWindow::event(QEvent*) () from /usr/lib64/libKF5XmlGui.so.5
#41 0x00007fcf68442f08 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libKF5XmlGui.so.5
#42 0x00007fcf669a816c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#43 0x00007fcf669adc22 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#44 0x00007fcf660ccd4d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#45 0x00007fcf660d0503 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#46 0x00007fcf66127709 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#47 0x00007fcf616f543c in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#48 0x00007fcf616f5748 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fcf616f5851 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fcf661277bd in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#51 0x00007fcf660cb34b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#52 0x00007fcf660d39a6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#53 0x000055f1372569f9 in main ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2015-11-03 21:06:11 UTC
Don't use the unsupported frameworks branch :)

Anyway a bug is being discussed at https://git.reviewboard.kde.org/r/125890/ 

I'll close this since frameworks is unsupported as i said.
Comment 2 Vadim A. Misbakh-Soloviov (mva) 2015-11-03 21:19:22 UTC
Eerm... does "unsupported frameworks branch" means "KF5-based version"?
If so, does it mean, that it is only KDE4-based versions are supported?

And, by the way: doesn't that fix from reviewboard applied to the GIT HEAD yet? Because it marked as created 31 Oct, while I built okular about 3 Nov 01:00 UTC :-/

// And, also btw: what means "unsupported" in this case? :)
I just installed it fom git HEAD because there is no another KF5-based version of okular (to be able to drop kde4 pieces)
Also, I thought, that by installing "bleeding edge" versiona I kinda "working" like tester, reporting any problem I found in bleeding edge code before users will found them in released versions.
So terminology "unsupported" in that case is a bit unclear for my understanding :)
Comment 3 Albert Astals Cid 2015-11-03 21:28:12 UTC
> Eerm... does "unsupported frameworks branch" means "KF5-based version"?
in this case yes.

>If so, does it mean, that it is only KDE4-based versions are supported?
Correct, Okular only supports kdelibs4-based versions at this stage.

> And, by the way: doesn't that fix from reviewboard applied to the GIT HEAD yet? 
No since git head is based in kdelibs4 anyway

>I just installed it fom git HEAD because there is no another KF5-based version of okular (to be able to drop kde4 pieces)
Again git HEAD (aka master) is kdelibs4-version, so don't think you did that, you install the unsupported frameworks branch

>Also, I thought, that by installing "bleeding edge" versiona I kinda "working" like tester, reporting any problem I found in bleeding edge code before users will found them in released versions.
Yes, we encourage people to install the development version and report bugs, the development version is the master branch
Comment 4 Vadim A. Misbakh-Soloviov (mva) 2015-11-03 21:35:43 UTC
uhm... ok. Actually, I really don't looked which exactly branch I installed, sorry ;) I just installed scm version of package from kf5 distro repo, and didn't assumed it can be non-master branch. Shame on me, sorry :)