Bug 397585 - Discover crashes when configuring Snap permissions
Summary: Discover crashes when configuring Snap permissions
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Snap Backend (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
: 397294 402100 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-18 13:43 UTC by Øystein Steffensen-Alværvik
Modified: 2018-12-14 05:56 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Permissions dialog for Chromium snap (50.94 KB, image/png)
2018-08-18 13:44 UTC, Øystein Steffensen-Alværvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Øystein Steffensen-Alværvik 2018-08-18 13:43:42 UTC
Application: plasma-discover (5.13.4)

Qt Version: 5.11.1
Frameworks Version: 5.49.0
Operating System: Linux 4.4.0-133-generic x86_64
Distribution: KDE neon User Edition 5.13

-- Information about the crash:
- What I was doing when the application crashed:
– Opened Discover
– Searched for 'chromium' and selected the snap version (chromium is already installed)
– Pressed 'Configure permissions…'
– Checked one of the unchecked options ('mount-observe')
– Crash

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe37bb378c0 (LWP 13865))]

Thread 16 (Thread 0x7fe30a57c700 (LWP 13956)):
#0  0x00007fe376e0874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe371a4938c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fe2f000b150, timeout=<optimized out>, context=0x7fe2f0009670) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fe371a4938c in g_main_context_iterate (context=context@entry=0x7fe2f0009670, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fe371a4949c in g_main_context_iteration (context=0x7fe2f0009670, may_block=may_block@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fe377a290bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe2f000b000, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe3779d05ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe30a57bcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fe3778055e4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x2f907e0) at thread/qthread_unix.cpp:367
#8  0x00007fe3738ae6ba in start_thread (arg=0x7fe30a57c700) at pthread_create.c:333
#9  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7fe30957a700 (LWP 13896)):
#0  0x00007fe3738b4709 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x7fe3200087f0) at thread/qwaitcondition_unix.cpp:133
#2  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x7fe3200087f0) at thread/qwaitcondition_unix.cpp:141
#3  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x7fe3200083d0, mutex=mutex@entry=0x7fe320002b30, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007fe377806e8a in QThreadPoolThread::run() (this=0x7fe3200083c0) at thread/qthreadpool.cpp:146
#5  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x7fe3200083c0) at thread/qthread_unix.cpp:367
#6  0x00007fe3738ae6ba in start_thread (arg=0x7fe30957a700) at pthread_create.c:333
#7  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7fe31effe700 (LWP 13883)):
#0  0x00007fe3738b4709 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x612e9d0) at thread/qwaitcondition_unix.cpp:133
#2  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x612e9d0) at thread/qwaitcondition_unix.cpp:141
#3  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x612dd70, mutex=mutex@entry=0x2668750, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007fe377806e8a in QThreadPoolThread::run() (this=0x612dd60) at thread/qthreadpool.cpp:146
#5  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x612dd60) at thread/qthread_unix.cpp:367
#6  0x00007fe3738ae6ba in start_thread (arg=0x7fe31effe700) at pthread_create.c:333
#7  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7fe31f7ff700 (LWP 13882)):
#0  0x00007fe3738b4709 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x2a88560) at thread/qwaitcondition_unix.cpp:133
#2  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x2a88560) at thread/qwaitcondition_unix.cpp:141
#3  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x3199ac0, mutex=mutex@entry=0x2668750, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007fe377806e8a in QThreadPoolThread::run() (this=0x3199ab0) at thread/qthreadpool.cpp:146
#5  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x3199ab0) at thread/qthread_unix.cpp:367
#6  0x00007fe3738ae6ba in start_thread (arg=0x7fe31f7ff700) at pthread_create.c:333
#7  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7fe32c9bb700 (LWP 13880)):
#0  0x00007fe371a8da94 in g_mutex_unlock (mutex=0x7fe318000990) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gthread-posix.c:1347
#1  0x00007fe371a48910 in g_main_context_prepare (context=context@entry=0x7fe318000990, priority=priority@entry=0x7fe32c9babb0) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3440
#2  0x00007fe371a492bb in g_main_context_iterate (context=context@entry=0x7fe318000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3820
#3  0x00007fe371a4949c in g_main_context_iteration (context=0x7fe318000990, may_block=may_block@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fe377a290bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe3180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe3779d05ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe32c9bacf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fe3778055e4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x29bc7e0) at thread/qthread_unix.cpp:367
#8  0x00007fe3738ae6ba in start_thread (arg=0x7fe32c9bb700) at pthread_create.c:333
#9  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7fe32dc1b700 (LWP 13877)):
#0  0x00007fe3738b4709 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x7fe320003110) at thread/qwaitcondition_unix.cpp:133
#2  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x7fe320003110) at thread/qwaitcondition_unix.cpp:141
#3  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x7fe320002e20, mutex=mutex@entry=0x7fe320002b30, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007fe377806e8a in QThreadPoolThread::run() (this=0x7fe320002e10) at thread/qthreadpool.cpp:146
#5  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x7fe320002e10) at thread/qthread_unix.cpp:367
#6  0x00007fe3738ae6ba in start_thread (arg=0x7fe32dc1b700) at pthread_create.c:333
#7  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7fe32e41c700 (LWP 13876)):
#0  0x00007fe376e0874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe371a4938c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fe3200e2650, timeout=<optimized out>, context=0x7fe320000990) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fe371a4938c in g_main_context_iterate (context=context@entry=0x7fe320000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fe371a4949c in g_main_context_iteration (context=0x7fe320000990, may_block=may_block@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fe377a290bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe3200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe3779d05ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe32e41bcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fe3778055e4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x25b81d0) at thread/qthread_unix.cpp:367
#8  0x00007fe3738ae6ba in start_thread (arg=0x7fe32e41c700) at pthread_create.c:333
#9  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fe32ffff700 (LWP 13875)):
#0  0x00007fe3738b4709 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x255f740) at thread/qwaitcondition_unix.cpp:133
#2  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x255f740) at thread/qwaitcondition_unix.cpp:141
#3  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x255e750, mutex=mutex@entry=0x2668750, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007fe377806e8a in QThreadPoolThread::run() (this=0x255e740) at thread/qthreadpool.cpp:146
#5  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x255e740) at thread/qthread_unix.cpp:367
#6  0x00007fe3738ae6ba in start_thread (arg=0x7fe32ffff700) at pthread_create.c:333
#7  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fe33ca38700 (LWP 13874)):
#0  0x00007fe3738b4709 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x255eb50) at thread/qwaitcondition_unix.cpp:133
#2  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x255eb50) at thread/qwaitcondition_unix.cpp:141
#3  0x00007fe37781155f in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x2667830, mutex=mutex@entry=0x2668750, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007fe377806e8a in QThreadPoolThread::run() (this=0x2667820) at thread/qthreadpool.cpp:146
#5  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x2667820) at thread/qthread_unix.cpp:367
#6  0x00007fe3738ae6ba in start_thread (arg=0x7fe33ca38700) at pthread_create.c:333
#7  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fe33f7fe700 (LWP 13872)):
#0  0x00007fe376e220e4 in __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:63
#1  0x00007fe376e04272 in read () at ../sysdeps/unix/syscall-template.S:84
#2  0x00007fe371a8c6f0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fe33f7fdae0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  0x00007fe371a8c6f0 in g_wakeup_acknowledge (wakeup=0x178b550) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gwakeup.c:210
#4  0x00007fe371a48e74 in g_main_context_check (context=context@entry=0x7fe330000990, max_priority=2147483647, fds=fds@entry=0x7fe330002870, n_fds=n_fds@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3632
#5  0x00007fe371a49330 in g_main_context_iterate (context=context@entry=0x7fe330000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3837
#6  0x00007fe371a4949c in g_main_context_iteration (context=0x7fe330000990, may_block=may_block@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#7  0x00007fe377a290bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe3300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007fe3779d05ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe33f7fdcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#9  0x00007fe3778055e4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:525
#10 0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x1797100) at thread/qthread_unix.cpp:367
#11 0x00007fe3738ae6ba in start_thread (arg=0x7fe33f7fe700) at pthread_create.c:333
#12 0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fe33ffff700 (LWP 13871)):
#0  0x00007fe376e0874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe371a4938c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fe3380010c0, timeout=<optimized out>, context=0x17863b0) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fe371a4938c in g_main_context_iterate (context=0x17863b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fe371a49712 in g_main_loop_run (loop=0x1786340) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4034
#4  0x00007fe345ff19d6 in gdbus_shared_thread_func (user_data=0x1786380) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./gio/gdbusprivate.c:246
#5  0x00007fe371a6fbb5 in g_thread_proxy (data=0x175f8f0) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gthread.c:780
#6  0x00007fe3738ae6ba in start_thread (arg=0x7fe33ffff700) at pthread_create.c:333
#7  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fe344e1a700 (LWP 13870)):
#0  0x00007fe376e0427d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe371a8c6f0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fe344e19c40, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007fe371a8c6f0 in g_wakeup_acknowledge (wakeup=0x176f3a0) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007fe371a48e74 in g_main_context_check (context=context@entry=0x1785b90, max_priority=2147483647, fds=fds@entry=0x7fe3400008c0, n_fds=n_fds@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007fe371a49330 in g_main_context_iterate (context=context@entry=0x1785b90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007fe371a4949c in g_main_context_iteration (context=0x1785b90, may_block=may_block@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#6  0x00007fe371a494d9 in glib_worker_main (data=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:5672
#7  0x00007fe371a6fbb5 in g_thread_proxy (data=0x175f8a0) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gthread.c:780
#8  0x00007fe3738ae6ba in start_thread (arg=0x7fe344e1a700) at pthread_create.c:333
#9  0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fe34edc6700 (LWP 13869)):
#0  0x00007fe376e0874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe371a4938c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fe3480013c0, timeout=<optimized out>, context=0x7fe348000990) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fe371a4938c in g_main_context_iterate (context=context@entry=0x7fe348000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fe371a4949c in g_main_context_iteration (context=0x7fe348000990, may_block=may_block@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fe377a290bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe3480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe3779d05ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe34edc5c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fe3778055e4 in QThread::exec() (this=this@entry=0x15e0de0) at thread/qthread.cpp:525
#7  0x00007fe37ac54f86 in QQuickPixmapReader::run() (this=0x15e0de0) at util/qquickpixmapcache.cpp:934
#8  0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x15e0de0) at thread/qthread_unix.cpp:367
#9  0x00007fe3738ae6ba in start_thread (arg=0x7fe34edc6700) at pthread_create.c:333
#10 0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fe35ecb1700 (LWP 13868)):
#0  0x00007fe376e0427d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe371a8c6f0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fe35ecb0ac0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007fe371a8c6f0 in g_wakeup_acknowledge (wakeup=0x7fe3580025a0) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007fe371a48e74 in g_main_context_check (context=context@entry=0x7fe350000990, max_priority=2147483647, fds=fds@entry=0x7fe350002e70, n_fds=n_fds@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007fe371a49330 in g_main_context_iterate (context=context@entry=0x7fe350000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007fe371a4949c in g_main_context_iteration (context=0x7fe350000990, may_block=may_block@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#6  0x00007fe377a290bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe3500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fe3779d05ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe35ecb0cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#8  0x00007fe3778055e4 in QThread::exec() (this=this@entry=0x12b8190) at thread/qthread.cpp:525
#9  0x00007fe378390195 in QQmlThreadPrivate::run() (this=0x12b8190) at qml/ftw/qqmlthread.cpp:148
#10 0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x12b8190) at thread/qthread_unix.cpp:367
#11 0x00007fe3738ae6ba in start_thread (arg=0x7fe35ecb1700) at pthread_create.c:333
#12 0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fe35fec2700 (LWP 13867)):
#0  0x00007fe377a28fd5 in postEventSourcePrepare(GSource*, gint*) (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:219
#1  0x00007fe377a28fd5 in postEventSourcePrepare(GSource*, gint*) (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:213
#2  0x00007fe377a28fd5 in postEventSourcePrepare(GSource*, gint*) (this=0x124d7b0) at ../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:254
#3  0x00007fe377a28fd5 in postEventSourcePrepare(GSource*, gint*) (s=0x7fe3580012d0, timeout=timeout@entry=0x7fe35fec1af4) at kernel/qeventdispatcher_glib.cpp:259
#4  0x00007fe371a4891d in g_main_context_prepare (context=context@entry=0x7fe358000990, priority=priority@entry=0x7fe35fec1b80) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3442
#5  0x00007fe371a492bb in g_main_context_iterate (context=context@entry=0x7fe358000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3820
#6  0x00007fe371a4949c in g_main_context_iteration (context=0x7fe358000990, may_block=may_block@entry=1) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#7  0x00007fe377a290bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe3580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007fe3779d05ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe35fec1cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#9  0x00007fe3778055e4 in QThread::exec() (this=this@entry=0x7fe3799c4d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#10 0x00007fe37974bf35 in QDBusConnectionManager::run() (this=0x7fe3799c4d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#11 0x00007fe377810727 in QThreadPrivate::start(void*) (arg=0x7fe3799c4d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#12 0x00007fe3738ae6ba in start_thread (arg=0x7fe35fec2700) at pthread_create.c:333
#13 0x00007fe376e1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe37bb378c0 (LWP 13865)):
[KCrash Handler]
#6  0x00007fe345cee8e4 in g_type_check_instance_cast (type_instance=0x-7e76ab260cc5, iface_type=49684656) at /build/glib2.0-b4FPyK/glib2.0-2.48.2/./gobject/gtype.c:4060
#7  0x00007fe32f5e434d in QSnapdSnap::name() const () at /usr/lib/x86_64-linux-gnu/libsnapd-qt.so.1
#8  0x00007fe33c02e829 in PlugsModel::setData(QModelIndex const&, QVariant const&, int) (this=this@entry=0x65bc080, index=..., value=..., role=role@entry=10) at /workspace/build/libdiscover/backends/SnapBackend/SnapResource.cpp:307
#9  0x00007fe37818f870 in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) (value=..., role=10, this=0x66449e0) at util/qqmladaptormodel.cpp:430
#10 0x00007fe37818f870 in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) (this=0x66449e0, call=<optimized out>, id=<optimized out>, arguments=<optimized out>) at util/qqmladaptormodel.cpp:308
#11 0x00007fe3782f7e7c in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (this=this@entry=0x65d2bf8, target=target@entry=0x66449e0, value=value@entry=0x7ffcec9143e0, flags=...) at ../../include/QtQml/5.11.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:350
#12 0x00007fe3782f6e54 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) (object=object@entry=0x66449e0, property=..., value=..., context=0x6644b60, flags=..., flags@entry=...) at qml/qqmlproperty.cpp:1270
#13 0x00007fe3782ad726 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) (engine=engine@entry=0x12abb90, object=object@entry=0x66449e0, property=0x65d2bf8, value=...) at jsruntime/qv4qobjectwrapper.cpp:559
#14 0x00007fe3782ae290 in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (engine=0x12abb90, qmlContext=<optimized out>, object=0x66449e0, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:429
#15 0x00007fe3782ae38e in QV4::QObjectWrapper::put(QV4::Managed*, QV4::String*, QV4::Value const&) (m=0x7fe35e0723c0, name=0x7fe35e0723b8, value=...) at jsruntime/qv4qobjectwrapper.cpp:706
#16 0x00007fe3782c114d in QV4::Runtime::method_storeProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) (v=..., name=<optimized out>, this=<optimized out>) at jsruntime/qv4object_p.h:370
#17 0x00007fe3782c114d in QV4::Runtime::method_storeProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) (engine=0x12abb90, object=..., nameIndex=<optimized out>, value=...) at jsruntime/qv4runtime.cpp:549
#18 0x00007fe3782b8ea5 in QV4::Moth::VME::exec(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (fo=0x7fe35e072350, thisObject=0x3000000000001, argv=0x7fe32c1462c0, argc=2020402048) at jsruntime/qv4vme_moth.cpp:742
#19 0x00007fe3783709b9 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (context=<optimized out>, argc=<optimized out>, argv=0x7fe35e072350, thisObject=0x7fe35e072340, v4Function=0x65b06b0) at ../../include/QtQml/5.11.1/QtQml/private/../../../../../src/qml/jsruntime/qv4vme_moth_p.h:72
#20 0x00007fe3783709b9 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (context=<optimized out>, argc=<optimized out>, argv=0x7fe35e072350, thisObject=0x7fe35e072340, this=0x65b06b0) at ../../include/QtQml/5.11.1/QtQml/private/../../../../../src/qml/jsruntime/qv4function_p.h:72
#21 0x00007fe3783709b9 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x6645a20, callData=callData@entry=0x7fe35e072328, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:217
#22 0x00007fe378303119 in QQmlBoundSignalExpression::evaluate(void**) (this=this@entry=0x6645a20, a=a@entry=0x0) at qml/qqmlboundsignal.cpp:237
#23 0x00007fe3783046ab in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x66459a0, a=0x0) at qml/qqmlboundsignal.cpp:370
#24 0x00007fe37834aa77 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:106
#25 0x00007fe3782e5884 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x6644ce0, index=53, a=0x0) at qml/qqmlengine.cpp:861
#26 0x00007fe3779ff5e2 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x6644ce0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3649
#27 0x00007fe362e9a788 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) (this=0x6644da0, point=...) at qquickabstractbutton.cpp:179
#28 0x00007fe362eb1135 in QQuickControl::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, event=0x7ffcec916c40) at qquickcontrol.cpp:1508
#29 0x00007fe37ad18738 in QQuickItem::event(QEvent*) (this=0x6644ce0, ev=0x7ffcec916c40) at items/qquickitem.cpp:7994
#30 0x00007fe37902c39c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x6644ce0, e=0x7ffcec916c40) at kernel/qapplication.cpp:3727
#31 0x00007fe379033ab0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffcec916f90, receiver=0x6644ce0, e=0x7ffcec916c40) at kernel/qapplication.cpp:3486
#32 0x00007fe3779d2228 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x6644ce0, event=event@entry=0x7ffcec916c40) at kernel/qcoreapplication.cpp:1048
#33 0x00007fe37ad30b0b in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (event=0x7ffcec916c40, receiver=0x6644ce0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:234
#34 0x00007fe37ad30b0b in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x1427db0, pointerEvent=0x5c14bd0) at items/qquickwindow.cpp:1740
#35 0x00007fe37ad315bb in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=this@entry=0x1427db0, event=0x5c14bd0) at items/qquickwindow.cpp:2317
#36 0x00007fe37ad3218e in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) (this=0x1427db0, event=<optimized out>) at items/qquickwindow.cpp:2187
#37 0x00007fe37882da65 in QWindow::event(QEvent*) (this=this@entry=0x1427cd0, ev=ev@entry=0x7ffcec916c40) at kernel/qwindow.cpp:2334
#38 0x00007fe37ad33a15 in QQuickWindow::event(QEvent*) (this=0x1427cd0, e=0x7ffcec916c40) at items/qquickwindow.cpp:1634
#39 0x00007fe37902c39c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x1427cd0, e=0x7ffcec916c40) at kernel/qapplication.cpp:3727
#40 0x00007fe379033ab0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffcec916f90, receiver=0x1427cd0, e=0x7ffcec916c40) at kernel/qapplication.cpp:3486
#41 0x00007fe3779d2228 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x1427cd0, event=event@entry=0x7ffcec916c40) at kernel/qcoreapplication.cpp:1048
#42 0x00007fe3788213cf in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (event=0x7ffcec916c40, receiver=0x1427cd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#43 0x00007fe3788213cf in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x6b54fb0) at kernel/qguiapplication.cpp:2082
#44 0x00007fe378823415 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x6b54fb0) at kernel/qguiapplication.cpp:1817
#45 0x00007fe3787fde1b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#46 0x00007fe36b6b29ab in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1233b30, flags=...) at qeventdispatcher_glib.cpp:70
#47 0x00007fe3779d05ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcec916eb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#48 0x00007fe3779d96c4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1336
#49 0x00007fe378817f8c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1762
#50 0x00007fe37902c2f5 in QApplication::exec() () at kernel/qapplication.cpp:2901
#51 0x000000000041319f in main(int, char**) (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:156

Possible duplicates by query: bug 397294.

Reported using DrKonqi
Comment 1 Øystein Steffensen-Alværvik 2018-08-18 13:44:43 UTC
Created attachment 114476 [details]
Permissions dialog for Chromium snap
Comment 2 Nate Graham 2018-08-21 20:37:33 UTC
*** Bug 397294 has been marked as a duplicate of this bug. ***
Comment 3 Aleix Pol 2018-09-21 12:20:56 UTC
Git commit d563e8f5e6f31d2db50bba96e0ab3cbd2820b1d9 by Aleix Pol.
Committed on 21/09/2018 at 12:19.
Pushed by apol into branch 'Plasma/5.14'.

snap: fix crash when configuring permissions

M  +9    -7    libdiscover/backends/SnapBackend/SnapResource.cpp

https://commits.kde.org/discover/d563e8f5e6f31d2db50bba96e0ab3cbd2820b1d9
Comment 4 Aleix Pol 2018-12-14 05:56:10 UTC
*** Bug 402100 has been marked as a duplicate of this bug. ***