[Discover] [Bug 394262] New: KDE Discover breaks when installing snap

2018-05-14 Thread Borja José Celda Gonzalez
https://bugs.kde.org/show_bug.cgi?id=394262

Bug ID: 394262
   Summary: KDE Discover breaks when installing snap
   Product: Discover
   Version: 5.12.5
  Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: normal
  Priority: NOR
 Component: discover
  Assignee: aleix...@kde.org
  Reporter: dark.borja.1...@gmail.com
  Target Milestone: ---

Application: plasma-discover (5.12.5)

Qt Version: 5.10.0
Frameworks Version: 5.45.0
Operating System: Linux 4.16.7-1-default x86_64
Distribution: "openSUSE Tumbleweed"

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

Installing the snap package "Telegram Desktop" In Open SuSE Tumbleweed fully
upgraded at 2018-05-14.

It happens sometimes when installing snaps, Discover doesn't ask for root
password, shows a toast about access denied when writing, and then breaks

- Unusual behavior I noticed:

The crash can be reproduced sometimes.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f23d5b5a800 (LWP 4624))]

Thread 16 (Thread 0x7f235dff3700 (LWP 5152)):
#0  0x7f23cb59f34d in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x7f23cb5a1d52 in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#2  0x7f23cb5a23d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x7f23cb5a253c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x7f23d1a2aa2b in QEventDispatcherGlib::processEvents
(this=0x7f23a4010f30, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x7f23d19d195a in QEventLoop::exec (this=this@entry=0x7f235dff2dc0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x7f23d17f8baa in QThread::exec (this=) at
thread/qthread.cpp:522
#7  0x7f23d17fdba0 in QThreadPrivate::start (arg=0x556380ef2830) at
thread/qthread_unix.cpp:376
#8  0x7f23cd81159b in start_thread () from /lib64/libpthread.so.0
#9  0x7f23d10f6a1f in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f23637fe700 (LWP 5151)):
#0  0x7f23cd817899 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7f23d17fedc8 in QWaitConditionPrivate::wait_relative (time=3,
this=0x7f2384005910) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=3, this=0x7f2384005910) at
thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x7f23840056d0,
mutex=mutex@entry=0x7f2384005450, time=3) at
thread/qwaitcondition_unix.cpp:215
#4  0x7f23d17fb05e in QThreadPoolThread::run (this=0x7f23840056c0) at
thread/qthreadpool.cpp:146
#5  0x7f23d17fdba0 in QThreadPrivate::start (arg=0x7f23840056c0) at
thread/qthread_unix.cpp:376
#6  0x7f23cd81159b in start_thread () from /lib64/libpthread.so.0
#7  0x7f23d10f6a1f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f235f7f6700 (LWP 5150)):
#0  0x7f23d10e7bf4 in read () from /lib64/libc.so.6
#1  0x7f23cb5e6ab0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x7f23cb5a1f17 in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#3  0x7f23cb5a23d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x7f23cb5a253c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#5  0x7f23d1a2aa2b in QEventDispatcherGlib::processEvents
(this=0x7f2370659bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x7f23d19d195a in QEventLoop::exec (this=this@entry=0x7f235f7f5dc0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x7f23d17f8baa in QThread::exec (this=) at
thread/qthread.cpp:522
#8  0x7f23d17fdba0 in QThreadPrivate::start (arg=0x7f23a400a820) at
thread/qthread_unix.cpp:376
#9  0x7f23cd81159b in start_thread () from /lib64/libpthread.so.0
#10 0x7f23d10f6a1f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f2377fff700 (LWP 5017)):
#0  0x7f23cb5e7e29 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x7f23cb5a23ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x7f23cb5a253c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x7f23743e71cd in ?? () from /usr/lib64/gio/modules/libdconfsettings.so
#4  0x7f23cb5c9f65 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x7f23cd81159b in start_thread () from /lib64/libpthread.so.0
#6  0x7f23d10f6a1f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f237eed0700 (LWP 4853)):
#0  0x7f23cb5a23d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x7f23cb5a253c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#2  0x7f23d1a2aa2b in QEventDispatcherGlib::processEvents
(this=0x7f2378377050, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x7f23d19d195a in QEventLoop::exec (this=this@entry=0x7f237eecfdc0,
flags=..., flags@entry=...) at 

[Discover] [Bug 394218] New: Discover breaks when triying to install a snap package

2018-05-13 Thread Borja José Celda Gonzalez
https://bugs.kde.org/show_bug.cgi?id=394218

Bug ID: 394218
   Summary: Discover breaks when triying to install a snap package
   Product: Discover
   Version: 5.12.5
  Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: normal
  Priority: NOR
 Component: discover
  Assignee: aleix...@kde.org
  Reporter: dark.borja.1...@gmail.com
  Target Milestone: ---

Application: plasma-discover (5.12.5)

Qt Version: 5.10.0
Frameworks Version: 5.45.0
Operating System: Linux 4.16.7-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Discover breaks when triying to install a snap package (Visual Studio Code) On
OpenSuSE Tumbleweed fully upgraded ad today. It usually breaks when installing
snap packages, sometimes it doesn't ask for the root password and then breaks

The crash can be reproduced sometimes.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f960c2dc800 (LWP 2244))]

Thread 15 (Thread 0x7f95a0d74700 (LWP 2472)):
#0  0x7f9601d21300 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x7f9601d23d52 in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#2  0x7f9601d243d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x7f9601d2453c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x7f96081aca2b in QEventDispatcherGlib::processEvents
(this=0x7f95bc53dee0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x7f960815395a in QEventLoop::exec (this=this@entry=0x7f95a0d73dc0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x7f9607f7abaa in QThread::exec (this=) at
thread/qthread.cpp:522
#7  0x7f9607f7fba0 in QThreadPrivate::start (arg=0x56108538d490) at
thread/qthread_unix.cpp:376
#8  0x7f9603f9359b in start_thread () from /lib64/libpthread.so.0
#9  0x7f9607878a1f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f95a30f9700 (LWP 2470)):
#0  0x7f960c115760 in __tls_get_addr () from /lib64/ld-linux-x86-64.so.2
#1  0x7f9607f7eaa6 in get_thread_data () at thread/qthread_unix.cpp:193
#2  QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at
thread/qthread_unix.cpp:248
#3  0x7f96081acdd1 in postEventSourcePrepare (timeout=0x0,
s=0x7f95a4536d40) at kernel/qeventdispatcher_glib.cpp:252
#4  postEventSourceCheck (source=0x7f95a4536d40) at
kernel/qeventdispatcher_glib.cpp:269
#5  0x7f9601d23e41 in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#6  0x7f9601d243d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x7f9601d2453c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#8  0x7f96081aca2b in QEventDispatcherGlib::processEvents
(this=0x7f95a4524280, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x7f960815395a in QEventLoop::exec (this=this@entry=0x7f95a30f8dc0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#10 0x7f9607f7abaa in QThread::exec (this=) at
thread/qthread.cpp:522
#11 0x7f9607f7fba0 in QThreadPrivate::start (arg=0x7f95d8016a50) at
thread/qthread_unix.cpp:376
#12 0x7f9603f9359b in start_thread () from /lib64/libpthread.so.0
#13 0x7f9607878a1f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f95addee700 (LWP 2334)):
#0  0x7f960786e139 in poll () from /lib64/libc.so.6
#1  0x7f9601d24429 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x7f9601d2453c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x7f95a25801cd in ?? () from /usr/lib64/gio/modules/libdconfsettings.so
#4  0x7f9601d4bf65 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x7f9603f9359b in start_thread () from /lib64/libpthread.so.0
#6  0x7f9607878a1f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f95a38fa700 (LWP 2333)):
#0  0x7ffd4d556ad5 in clock_gettime ()
#1  0x7f96078864e6 in clock_gettime () from /lib64/libc.so.6
#2  0x7f96081ac441 in qt_clock_gettime (ts=0x7f95a38f9b70, clock=) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=, sec=) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x7f96081aad19 in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7f9594013220) at kernel/qtimerinfo_unix.cpp:91
#6  0x7f96081ab295 in QTimerInfoList::timerWait (this=0x7f9594013220,
tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x7f96081acd7c in timerSourcePrepareHelper (timeout=0x7f95a38f9c04,
src=) at kernel/qeventdispatcher_glib.cpp:132
#8  idleTimerSourcePrepare (source=, timeout=0x7f95a38f9c04) at
kernel/qeventdispatcher_glib.cpp:212
#9  0x7f9601d23988 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#10 0x7f9601d2435b in ?? () from /usr/lib64/libglib-2.0.so.0