Bug 393478 - crash when I exit presentation mode and enter again
Summary: crash when I exit presentation mode and enter again
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 394226 394824 398720 401428 404078 419030 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-04-24 20:37 UTC by Patrick Silva
Modified: 2020-03-19 21:32 UTC (History)
9 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 Patrick Silva 2018-04-24 20:37:25 UTC
Reproducible on neon dev unstable, okular 1.4.70

open a pdf file
press ctrl+shift+p to enter presentention mode
press ESC to exit
click "view" menu, select "presentention"
crash

Thread 20 (Thread 0x7fffcd62e700 (LWP 9519)):
#0  0x00007ffff3cfb74d in poll ()
    at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffde47d861 in  ()
    at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fffde46ee11 in pa_mainloop_poll ()
    at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fffde46f4ae in pa_mainloop_iterate ()
    at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fffde46f560 in pa_mainloop_run ()
    at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fffde47d7a9 in  ()
    at /usr/lib/x86_64-linux-gnu/libpulse.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x00007fffddc08078 in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#7  0x00007ffff09c86ba in start_thread (arg=0x7fffcd62e700) at pthread_create.c:333
#8  0x00007ffff3d0741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffdc113700 (LWP 7107)):
#0  0x00007ffff3cfb74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee8d038c in g_main_context_iterate (priority=2147483647, n_fds=4, fds=0x7fffd4011670, timeout=<optimized out>, context=0x7fffd4000990)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fffee8d038c in g_main_context_iterate (context=context@entry=0x7fffd4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fffee8d049c in g_main_context_iteration (context=0x7fffd4000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007ffff462e5cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffd40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ffff45d564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffdc112cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007ffff43f5554 in QThread::exec() (this=this@entry=0x7ffff4cc5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:522
#7  0x00007ffff4a512c5 in QDBusConnectionManager::run() (this=0x7ffff4cc5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007ffff43fa6eb in QThreadPrivate::start(void*) (arg=0x7ffff4cc5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:376
---Type <return> to continue, or q <return> to quit---
#9  0x00007ffff09c86ba in start_thread (arg=0x7fffdc113700) at pthread_create.c:333
#10 0x00007ffff3d0741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffe5b27700 (LWP 6539)):
#0  0x00007ffff3cfb74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff0deac62 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff0dec8d7 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe828fce9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff43fa6eb in QThreadPrivate::start(void*) (arg=0x65c310) at thread/qthread_unix.cpp:376
#5  0x00007ffff09c86ba in start_thread (arg=0x7fffe5b27700) at pthread_create.c:333
#6  0x00007ffff3d0741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7f2d8c0 (LWP 6076)):
#0  0x00007ffff3cf72dd in write () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffddbd9fbb in pa_write () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#2  0x00007fffde46dd9a in pa_mainloop_wakeup () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fffddbf82c9 in pa_srbchannel_free ()
    at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#4  0x00007fffddbf54e2 in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#5  0x00007fffddbf714a in pa_pstream_unlink ()
    at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#6  0x00007fffde4590c6 in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007fffde459818 in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#8  0x00007fffc6594d9c in  () at /usr/lib/vlc/plugins/audio_output/libpulse_plugin.so
---Type <return> to continue, or q <return> to quit---
#9  0x00007fffc65929cd in  () at /usr/lib/vlc/plugins/audio_output/libpulse_plugin.so
#10 0x00007fffc7589e30 in vlc_module_unload () at /usr/lib/libvlccore.so.8
#11 0x00007fffc757ac0c in  () at /usr/lib/libvlccore.so.8
#12 0x00007fffc75570be in input_resource_Terminate () at /usr/lib/libvlccore.so.8
#13 0x00007fffc72f4b0b in libvlc_media_player_stop () at /usr/lib/libvlc.so.5
#14 0x00007fffcc092572 in  ()
    at /usr/lib/x86_64-linux-gnu/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#15 0x00007fffde8e660e in Phonon::MediaObject::setCurrentSource(Phonon::MediaSource const&) ()
    at /usr/lib/x86_64-linux-gnu/libphonon4qt5.so.4
#16 0x00007fffe458fe18 in  () at /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#17 0x00007fffe456b16c in  () at /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#18 0x00007fffe4567680 in KNotification::sendEvent() ()
    at /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#19 0x00007ffff46054c9 in QObject::event(QEvent*) (this=0xd8aad0, e=<optimized out>)
    at kernel/qobject.cpp:1246
#20 0x00007ffff5836acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff583e417 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff45d73c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xd8aad0, event=event@entry=0xd8b0c0) at kernel/qcoreapplication.cpp:1044
#23 0x00007ffff45d9fcb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0xd8b0c0, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
---Type <return> to continue, or q <return> to quit---
#24 0x00007ffff45d9fcb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x639150)
    at kernel/qcoreapplication.cpp:1719
#25 0x00007ffff45da438 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1573
#26 0x00007ffff462efa3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x6f9920)
    at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007fffee8d0197 in g_main_context_dispatch (context=0x7fffe00016f0)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#28 0x00007fffee8d0197 in g_main_context_dispatch (context=context@entry=0x7fffe00016f0)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#29 0x00007fffee8d03f0 in g_main_context_iterate (context=context@entry=0x7fffe00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#30 0x00007fffee8d049c in g_main_context_iteration (context=0x7fffe00016f0, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#31 0x00007ffff462e5af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6c7ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007fffe83121a1 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#33 0x00007ffff45d564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffd1a0, flags=...) at kernel/qeventloop.cpp:212
#34 0x00007ffff5a25627 in QDialog::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff690b5ca in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QM---Type <return> to continue, or q <return> to quit---
essageBox::Icon) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#36 0x00007ffff690c049 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#37 0x00007ffff690fbd0 in  () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#38 0x00007ffff690fdb1 in KMessageBox::information(QWidget*, QString const&, QString const&, QString const&, QFlags<KMessageBox::Option>) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#39 0x00007fffdac78f13 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#40 0x00007ffff4610de6 in QSingleShotTimer::timerEvent(QTimerEvent*) (a=0x7fffffffd6b0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#41 0x00007ffff4610de6 in QSingleShotTimer::timerEvent(QTimerEvent*) (this=0x1006060)
    at kernel/qtimer.cpp:318
#42 0x00007ffff4605483 in QObject::event(QEvent*) (this=0x1006060, e=<optimized out>)
    at kernel/qobject.cpp:1268
#43 0x00007ffff5836acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff583e417 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007ffff45d73c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x1006060, event=event@entry=0x7fffffffd970) at kernel/qcoreapplication.cpp:1044
#46 0x00007ffff462d97e in QTimerInfoList::activateTimers() (event=0x7fffffffd970, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#47 0x00007ffff462d97e in QTimerInfoList::activateTimers() (this=0x6f07b0)
    at kernel/qtimerinfo_unix.cpp:643
---Type <return> to continue, or q <return> to quit---
#48 0x00007ffff462e201 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#49 0x00007fffee8d0197 in g_main_context_dispatch (context=0x7fffe00016f0)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#50 0x00007fffee8d0197 in g_main_context_dispatch (context=context@entry=0x7fffe00016f0)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#51 0x00007fffee8d03f0 in g_main_context_iterate (context=context@entry=0x7fffe00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#52 0x00007fffee8d049c in g_main_context_iteration (context=0x7fffe00016f0, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#53 0x00007ffff462e5af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6c7ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#54 0x00007fffe83121a1 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#55 0x00007ffff45d564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffdbe0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#56 0x00007ffff45de854 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1332
#57 0x000000000040c2bd in  ()
#58 0x00007ffff3c20830 in __libc_start_main (main=
    0x40bc00, argc=1, argv=0x7fffffffde38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffde28) at ../csu/libc-start.c:291
#59 0x000000000040db79 in _start ()
Comment 1 Albert Astals Cid 2018-04-24 22:14:07 UTC
the backtrace is very strange.

Can you try running okular under valgrind

valgrind okular myfile.pdf

and attaching the output you get when doing the same steps?
Comment 2 Patrick Silva 2018-04-24 22:56:12 UTC
$ valgrind okular o_futuro_roubado_completo.pdf
==24308== Memcheck, a memory error detector
==24308== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==24308== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==24308== Command: okular o_futuro_roubado_completo.pdf
==24308== 
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5.45.0:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5.45.0:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5.45.0:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.10.0:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.10.0:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.10.0:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.3.0:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.3.0:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.3.0:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/qt5/plugins/phonon_platform/kde.so:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/qt5/plugins/phonon_platform/kde.so:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/qt5/plugins/phonon_platform/kde.so:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.2:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.2:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.2:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.2:
--24308-- Ignoring non-Dwarf2/3/4 block in .debug_info
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.2:
--24308-- Last block truncated in .debug_info; ignoring
--24308-- WARNING: Serious error when reading debug info
--24308-- When reading debug info from /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.2:
--24308-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
==24308== Syscall param writev(vector[...]) points to uninitialised byte(s)
==24308==    at 0x8D44FFD: ??? (syscall-template.S:84)
==24308==    by 0xBC18F28: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==24308==    by 0xBC1931C: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==24308==    by 0xBC19A76: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==24308==    by 0xBC19C43: xcb_flush (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==24308==    by 0x14AC3066: QXcbWindow::setCursor(unsigned int, bool) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.10.0)
==24308==    by 0x14ACF5A5: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.10.0)
==24308==    by 0x767264C: QWindowPrivate::applyCursor() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.10.0)
==24308==    by 0x767647B: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.10.0)
==24308==    by 0x6E5C228: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.10.0)
==24308==    by 0x6E66638: QWidget::setCursor(QCursor const&) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.10.0)
==24308==    by 0x614B855: ??? (in /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.45.0)
==24308==  Address 0x143380c6 is 4,582 bytes inside a block of size 21,152 alloc'd
==24308==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24308==    by 0xBC188DB: xcb_connect_to_fd (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==24308==    by 0xBC1C610: xcb_connect_to_display_with_auth_info (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==24308==    by 0x9C2E809: _XConnectXCB (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==24308==    by 0x9C1F391: XOpenDisplay (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==24308==    by 0x14AA9B40: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.10.0)
==24308==    by 0x14AAFD38: QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.10.0)
==24308==    by 0x1486432C: ??? (in /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so)
==24308==    by 0x76535AA: QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.10.0)
==24308==    by 0x7663120: QGuiApplicationPrivate::createPlatformIntegration() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.10.0)
==24308==    by 0x7663BEC: QGuiApplicationPrivate::createEventDispatcher() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.10.0)
==24308==    by 0x8469638: QCoreApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308== 
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
Invalid write to eventfd: Bad file descriptor
Code should not be reached at pulsecore/fdsem.c:199, function pa_fdsem_post(). Aborting.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = okular path = /usr/bin pid = 24308
KCrash: Arguments: /usr/bin/okular o_futuro_roubado_completo.pdf 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
==24308== Thread 3 QDBusConnectionManager:
==24308== Invalid read of size 2
==24308==    at 0x84B9479: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0xE0C4DC0: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0xE0C532F: g_main_context_iterate.isra.29 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0xE0C549B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0x84B95AE: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8460649: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8280553: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x7F612C4: QDBusConnectionManager::run() (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0x82856EA: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0xC03B6B9: start_thread (pthread_create.c:333)
==24308==    by 0x8D4F41C: clone (clone.S:109)
==24308==  Address 0x18e92cf6 is 6 bytes inside a block of size 16 free'd
==24308==    at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24308==    by 0x849B9A5: QSocketNotifier::setEnabled(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x84B9478: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0xE0C4DC0: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0xE0C532F: g_main_context_iterate.isra.29 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0xE0C549B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0x84B95AE: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8460649: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8280553: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x7F612C4: QDBusConnectionManager::run() (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0x82856EA: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0xC03B6B9: start_thread (pthread_create.c:333)
==24308==  Block was alloc'd at
==24308==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24308==    by 0x84BA0F1: QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x849B827: QSocketNotifier::QSocketNotifier(long long, QSocketNotifier::Type, QObject*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x7F6EE3C: qDBusAddWatch (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0xCFDED91: _dbus_watch_list_set_functions (in /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6)
==24308==    by 0xCFC506E: dbus_connection_set_watch_functions (in /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6)
==24308==    by 0x7F71560: QDBusConnectionPrivate::setConnection(DBusConnection*, QDBusErrorInternal const&) (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0x7F630C3: QDBusConnectionManager::executeConnectionRequest(QDBusConnectionManager::ConnectionRequestData*) (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0x84904C8: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x84623BA: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8464FCA: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x84B9FA2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308== 
==24308== Invalid read of size 2
==24308==    at 0x84B9404: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0xE0C4DC0: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0xE0C532F: g_main_context_iterate.isra.29 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0xE0C549B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0x84B95AE: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8460649: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8280553: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x7F612C4: QDBusConnectionManager::run() (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0x82856EA: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0xC03B6B9: start_thread (pthread_create.c:333)
==24308==    by 0x8D4F41C: clone (clone.S:109)
==24308==  Address 0x18e92cf4 is 4 bytes inside a block of size 16 free'd
==24308==    at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24308==    by 0x849B9A5: QSocketNotifier::setEnabled(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x84B9478: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0xE0C4DC0: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0xE0C532F: g_main_context_iterate.isra.29 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0xE0C549B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24308==    by 0x84B95AE: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8460649: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8280553: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x7F612C4: QDBusConnectionManager::run() (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0x82856EA: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0xC03B6B9: start_thread (pthread_create.c:333)
==24308==  Block was alloc'd at
==24308==    at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24308==    by 0x84BA0F1: QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x849B827: QSocketNotifier::QSocketNotifier(long long, QSocketNotifier::Type, QObject*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x7F6EE3C: qDBusAddWatch (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0xCFDED91: _dbus_watch_list_set_functions (in /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6)
==24308==    by 0xCFC506E: dbus_connection_set_watch_functions (in /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6)
==24308==    by 0x7F71560: QDBusConnectionPrivate::setConnection(DBusConnection*, QDBusErrorInternal const&) (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0x7F630C3: QDBusConnectionManager::executeConnectionRequest(QDBusConnectionManager::ConnectionRequestData*) (in /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.10.0)
==24308==    by 0x84904C8: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x84623BA: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x8464FCA: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308==    by 0x84B9FA2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.0)
==24308== 
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...

[1]+  Stopped                 valgrind okular o_futuro_roubado_completo.pdf
Comment 3 Albert Astals Cid 2018-04-25 07:36:55 UTC
Invalid write to eventfd: Bad file descriptor
Code should not be reached at pulsecore/fdsem.c:199, function pa_fdsem_post(). Aborting.

This tells me there's something wrong going with your pulseaudio. Which version are you using? Maybe you should try opening a pulseaudio bug?
Comment 4 Patrick Silva 2018-04-25 12:41:27 UTC
My neon dev unstable runs pulseaudio 8.0.

I can not reproduce the crash on Arch Linux running pulseaudio 11.1 and okular 1.4.0

I just noticed something: on neon okular shown a message when I changed to presentation mode talking about ways to exit (ESC key and a button). After I check "do not show again" I can not reproduce the crash anymore.
Okular does not show such message on Arch Linux.
Comment 5 Albert Astals Cid 2018-04-25 20:09:47 UTC
(In reply to Dr. Chapatin from comment #4)
> Okular does not show such message on Arch Linux.

I'm 99.99999% sure it does, it's probably that you already pressed "don't show again" before, no?
Comment 6 Patrick Silva 2018-04-25 20:17:30 UTC
(In reply to Albert Astals Cid from comment #5)
> (In reply to Dr. Chapatin from comment #4)
> > Okular does not show such message on Arch Linux.
> 
> I'm 99.99999% sure it does, it's probably that you already pressed "don't
> show again" before, no?

Maybe. However I do not remember it.
Comment 7 Christoph Feck 2018-05-16 22:03:22 UTC
Duplicate of bug 394226?
Comment 8 Albert Astals Cid 2018-05-16 22:36:54 UTC
Most probably
Comment 9 Sebastian 2018-09-16 14:34:14 UTC
*** Bug 398720 has been marked as a duplicate of this bug. ***
Comment 10 Sebastian 2018-09-16 14:37:32 UTC
I can also reproduce this bug

Kubuntu 18.04
Okular 1.3.3
Pulsaudio 11.1

Is there a big ID for Pulsaudio?
Comment 11 Tobias Deiminger 2018-09-16 21:50:13 UTC
I can reproduce the bug and will have a look into it. Someone closed libpulses eventfd(2), while libpulse continues to write to it. A write to the already closed fd in pa_fdsem_post then triggers assertion. I modified pulseaudio to get a bit more debug info:

$ strace -e close ./okular 2>&1 
[...]
close(19)                               = 0
close(15)                               = 0     # who is doing that? and why?
close(15)                               = 0
close(15)                               = 0
close(19)                               = 0
close(21)                               = 0
[...]
Invalid write to eventfd: fd=15, r=-1, errno=9  # pa_fdsem_post tried writing fd 15, too late, already closed

I think next thing to check is where the close happened. Could be okular, Qt, or pulseaudio itself.
Comment 12 Tobias Deiminger 2018-09-17 07:10:02 UTC
Ok, got it. It's this place in PresentationWidget::inhibitPowerManagement
  m_sleepInhibitCookie = reply.value().fileDescriptor();

We must not store QDBusUnixFileDescriptor::fileDescriptor, but clone it before. From http://doc.qt.io/qt-5/qdbusunixfiledescriptor.html#fileDescriptor
"It is ok to use it while this object is valid, but if one wants to store it for longer use, the file descriptor should be cloned using the Unix dup(2), dup2(2) or dup3(2) functions."

Changing the code to
  m_sleepInhibitCookie = dup( reply.value().fileDescriptor() );
avoids crashing.

Let me gather a bit more context to see if it's really that simple, then I'll send a patch at Phabricator. Maybe one can try and confirm the above code change in the meantime?
Comment 13 Albert Astals Cid 2018-09-19 18:07:15 UTC
Tobias fixed this, he forgot to use the correct syntax so it did not autoclose.

https://cgit.kde.org/okular.git/commit/?id=fa7a1b3d0674b234a61ac784dd879ad705a2f515
Comment 14 Nopeinger 2018-09-19 20:13:08 UTC
Thank you Tobias!
For me it worked :)
Comment 15 Albert Astals Cid 2018-09-19 21:01:50 UTC
*** Bug 394226 has been marked as a duplicate of this bug. ***
Comment 16 Tobias Deiminger 2018-11-11 11:37:12 UTC
*** Bug 394824 has been marked as a duplicate of this bug. ***
Comment 17 Albert Astals Cid 2018-11-26 23:19:08 UTC
*** Bug 401428 has been marked as a duplicate of this bug. ***
Comment 18 Albert Astals Cid 2019-02-13 23:16:52 UTC
*** Bug 404078 has been marked as a duplicate of this bug. ***
Comment 19 Albert Astals Cid 2020-03-19 21:32:09 UTC
*** Bug 419030 has been marked as a duplicate of this bug. ***