Bug 391285 - KDE Daemon crashed after successfully creating CryFS Vault
Summary: KDE Daemon crashed after successfully creating CryFS Vault
Status: RESOLVED FIXED
Alias: None
Product: Plasma Vault
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2018-03-02 10:56 UTC by Øystein Steffensen-Alværvik
Modified: 2018-09-29 11:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Øystein Steffensen-Alværvik 2018-03-02 10:56:49 UTC
Application: kded5 (5.43.0)

Qt Version: 5.10.0
Frameworks Version: 5.43.0
Operating System: Linux 4.4.0-116-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
- What I was doing when the application crashed:
1) Clicked the Vault icon in systemtray
2) Chose Create new vault...
3) Chose CryFS 
4) Created
5) Entered password
6) Chose default mount point
7) Chose Create
8) Dr.Konqi complained about this crash, but vault was successfully created (it works as expected)

Neon 5.12.2
Frameworks 5.43
Qt 5.10.0
Kernel 4.4.0-116

The crash does not seem to be reproducible.

-- Backtrace:
Application: KDE Daemon (kded5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f55bca298c0 (LWP 16093))]

Thread 7 (Thread 0x7f556f7fe700 (LWP 16109)):
#0  0x00007f55b6873a79 in g_mutex_lock (mutex=mutex@entry=0x7f5560000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread-posix.c:1335
#1  0x00007f55b682edcc in g_main_context_check (context=context@entry=0x7f5560000990, max_priority=2147483647, fds=fds@entry=0x7f5560002e20, n_fds=n_fds@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3683
#2  0x00007f55b682f330 in g_main_context_iterate (context=context@entry=0x7f5560000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#3  0x00007f55b682f49c in g_main_context_iteration (context=0x7f5560000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f55ba0bf5cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f55600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f55ba06664a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f556f7fdd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f55b9e86554 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007f55b9e8b6eb in QThreadPrivate::start(void*) (arg=0xe67080) at thread/qthread_unix.cpp:376
#8  0x00007f55b98456ba in start_thread (arg=0x7f556f7fe700) at pthread_create.c:333
#9  0x00007f55bc3f341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f556ffff700 (LWP 16108)):
#0  0x00007f55b6873a94 in g_mutex_unlock (mutex=0x7f5568000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread-posix.c:1347
#1  0x00007f55b682e9a0 in g_main_context_prepare (context=context@entry=0x7f5568000990, priority=priority@entry=0x7f556fffeb80) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3507
#2  0x00007f55b682f2bb in g_main_context_iterate (context=context@entry=0x7f5568000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3820
#3  0x00007f55b682f49c in g_main_context_iteration (context=0x7f5568000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f55ba0bf5cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f55680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f55ba06664a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f556fffecc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f55b9e86554 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007f55770db517 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007f55b9e8b6eb in QThreadPrivate::start(void*) (arg=0xe66530) at thread/qthread_unix.cpp:376
#9  0x00007f55b98456ba in start_thread (arg=0x7f556ffff700) at pthread_create.c:333
#10 0x00007f55bc3f341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f558c95e700 (LWP 16106)):
#0  0x00007f55bc3e774d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f55b682f38c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f55700010c0, timeout=<optimized out>, context=0xe50d80) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007f55b682f38c in g_main_context_iterate (context=0xe50d80, 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  0x00007f55b682f712 in g_main_loop_run (loop=0xe50d10) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4034
#4  0x00007f558dd2b9d6 in gdbus_shared_thread_func (user_data=0xe50d50) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./gio/gdbusprivate.c:246
#5  0x00007f55b6855bb5 in g_thread_proxy (data=0xe520a0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#6  0x00007f55b98456ba in start_thread (arg=0x7f558c95e700) at pthread_create.c:333
#7  0x00007f55bc3f341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f558d15f700 (LWP 16105)):
#0  0x00007f55bc3e327d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f55b68726f0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7f558d15ec40, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007f55b68726f0 in g_wakeup_acknowledge (wakeup=0xe4e880) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007f55b682ee74 in g_main_context_check (context=context@entry=0xe50580, max_priority=2147483647, fds=fds@entry=0x7f557c0008c0, n_fds=n_fds@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007f55b682f330 in g_main_context_iterate (context=context@entry=0xe50580, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007f55b682f49c in g_main_context_iteration (context=0xe50580, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#6  0x00007f55b682f4d9 in glib_worker_main (data=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:5672
#7  0x00007f55b6855bb5 in g_thread_proxy (data=0xe52050) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#8  0x00007f55b98456ba in start_thread (arg=0x7f558d15f700) at pthread_create.c:333
#9  0x00007f55bc3f341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f55954f9700 (LWP 16104)):
#0  0x00007f55ba0bdd93 in QTimerInfoList::timerWait(timespec&) (t=<synthetic pointer>) at ../../include/QtCore/5.10.0/QtCore/private/../../../../../src/corelib/kernel/qcore_unix_p.h:116
#1  0x00007f55ba0bdd93 in QTimerInfoList::timerWait(timespec&) (t2=<synthetic pointer>, t1=...) at ../../include/QtCore/5.10.0/QtCore/private/../../../../../src/corelib/kernel/qcore_unix_p.h:145
#2  0x00007f55ba0bdd93 in QTimerInfoList::timerWait(timespec&) (this=0x7f55780030d0, tm=...) at kernel/qtimerinfo_unix.cpp:405
#3  0x00007f55ba0bf33e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f55954f8b34, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#4  0x00007f55ba0bf33e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7f55954f8b34) at kernel/qeventdispatcher_glib.cpp:165
#5  0x00007f55b682e91d in g_main_context_prepare (context=context@entry=0x7f5578000990, priority=priority@entry=0x7f55954f8bc0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3442
#6  0x00007f55b682f2bb in g_main_context_iterate (context=context@entry=0x7f5578000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3820
#7  0x00007f55b682f49c in g_main_context_iteration (context=0x7f5578000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#8  0x00007f55ba0bf5cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f55780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007f55ba06664a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f55954f8d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#10 0x00007f55b9e86554 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:522
#11 0x00007f55b9e8b6eb in QThreadPrivate::start(void*) (arg=0xd7d3c0) at thread/qthread_unix.cpp:376
#12 0x00007f55b98456ba in start_thread (arg=0x7f55954f9700) at pthread_create.c:333
#13 0x00007f55bc3f341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f55a0d9a700 (LWP 16098)):
#0  0x00007f55bc3e774d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f55b682f38c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f559c065cc0, timeout=<optimized out>, context=0x7f559c000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007f55b682f38c in g_main_context_iterate (context=context@entry=0x7f559c000990, 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  0x00007f55b682f49c in g_main_context_iteration (context=0x7f559c000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f55ba0bf5cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f559c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f55ba06664a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f55a0d99cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f55b9e86554 in QThread::exec() (this=this@entry=0x7f55bac46d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:522
#7  0x00007f55ba9d22c5 in QDBusConnectionManager::run() (this=0x7f55bac46d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f55b9e8b6eb in QThreadPrivate::start(void*) (arg=0x7f55bac46d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:376
#9  0x00007f55b98456ba in start_thread (arg=0x7f55a0d9a700) at pthread_create.c:333
#10 0x00007f55bc3f341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f55bca298c0 (LWP 16093)):
[KCrash Handler]
#6  0x00007f558f931549 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/plasmavault.so
#7  0x00007f558f92ee41 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/plasmavault.so
#8  0x00007f558f92b946 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/plasmavault.so
#9  0x00007f558f92bc19 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/plasmavault.so
#10 0x00007f55ba0957b6 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffc3946f8e0, r=0x1830c10, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#11 0x00007f55ba0957b6 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x1830c10, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3749
#12 0x00007f55b9e81a71 in QFutureWatcherBase::event(QEvent*) (this=<optimized out>, event=0x19bb700) at thread/qfuturewatcher.cpp:335
#13 0x00007f55bbbe8acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x1830c10, e=0x19bb700) at kernel/qapplication.cpp:3732
#14 0x00007f55bbbf0417 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc3946ff50, receiver=0x1830c10, e=0x19bb700) at kernel/qapplication.cpp:3491
#15 0x00007f55ba0683c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x1830c10, event=event@entry=0x19bb700) at kernel/qcoreapplication.cpp:1044
#16 0x00007f55ba06afcb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x19bb700, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#17 0x00007f55ba06afcb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xb7eef0) at kernel/qcoreapplication.cpp:1719
#18 0x00007f55ba06b438 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1573
#19 0x00007f55ba0bffa3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0xbd6d20) at kernel/qeventdispatcher_glib.cpp:276
#20 0x00007f55b682f197 in g_main_context_dispatch (context=0x7f55a80016f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#21 0x00007f55b682f197 in g_main_context_dispatch (context=context@entry=0x7f55a80016f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#22 0x00007f55b682f3f0 in g_main_context_iterate (context=context@entry=0x7f55a80016f0, 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
#23 0x00007f55b682f49c in g_main_context_iteration (context=0x7f55a80016f0, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#24 0x00007f55ba0bf5af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0xbd8610, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007f55b0ccf1a1 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xbd8610, flags=...) at qeventdispatcher_glib.cpp:69
#26 0x00007f55ba06664a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc3946fe50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#27 0x00007f55ba06f854 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1332
#28 0x00007f55bc6c20cc in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kded5.so
#29 0x00007f55bc30c830 in __libc_start_main (main=0x4006b0, argc=1, argv=0x7ffc39470108, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc394700f8) at ../csu/libc-start.c:291
#30 0x00000000004006e9 in _start ()

Reported using DrKonqi
Comment 1 Øystein Steffensen-Alværvik 2018-03-02 22:22:13 UTC
This was the first vault I ever created on the install, mind. I created others afterwards where dr.konqi did not popup and complain.
Comment 2 Ivan Čukić 2018-07-23 08:50:47 UTC
Can you retest with an empty user an Plasma 5.13?
Comment 3 Øystein Steffensen-Alværvik 2018-07-23 14:17:37 UTC
(In reply to Ivan Čukić from comment #2)
> Can you retest with an empty user an Plasma 5.13?

Unfortunately Neon 5.13 User is currently stuck with CryFS v. 0.9.7, which is incompatible with Vaults 5.13. I tried to compile CryFS from source, but I'm not adept at this and the compilation failed. To test this I'll have to wait till Neon rebases on Ubuntu 18.04, which has the required CryFS version.
Comment 4 Andrew Crouthamel 2018-09-28 03:19:35 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 5 Øystein Steffensen-Alværvik 2018-09-29 11:17:10 UTC
Ah, I forgot to add that I tested this on Kubuntu Cosmic (Plasma 5.13.5) and the crash has never occured there. So I'm marking this as RESOLVED FIXED