https://bugs.kde.org/show_bug.cgi?id=376548

            Bug ID: 376548
           Summary: discover cannot connect to internet for update
                    packages, crashes if a package "removal" is requested
                    and denied
           Product: Discover
           Version: 5.8.5
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: discover
          Assignee: aleix...@kde.org
          Reporter: mwinth...@comcast.net
  Target Milestone: ---

Application: plasma-discover (5.8.5)

Qt Version: 5.6.1
Frameworks Version: 5.28.0
Operating System: Linux 4.4.0-62-lowlatency x86_64
Distribution: Ubuntu 16.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Performing update per tray icon notification
- Unusual behavior I noticed:
discover reported it would remove some kxstudio package items. It offered the
choice to "remove" them or not. I selected "not" and discover crashed. Usually
discover will ask for "permissions" to install, and this is the first time it
asked first to "remove". It got no further. When discover asks for permissions,
it always fails because it claims the "internet is not available" (WiFi). I
intend to string an rj45 wire connectionto the internet and see if it still
fails. This bug report is using the WiFi connection that discover can never
use.

- Custom settings of the application:
Since installation, discover has never been able to install the updates it
identifies. It locates the updates, asks for sudo authority, and then reports
that is cannot find the internet connection (WiFi). This is absurd because it
found the updates via internet before it asked to install them. I have been
using "sudo apt-get update; sudo apt-get upgrade" in a terminal window since
discover showed this behaviour. 

Today, after the crash, I decided to see if there was a problem with
permissions:
root@dad314159:/home/dad/Desktop# ps -elf | grep iscover
0 S dad       4866  3803  1  80   0 - 337382 poll_s 08:43 ?       00:00:07
/usr/bin/plasma-discover --mode update
0 S root      5718  4963  0  80   0 -  3220 pipe_w 08:51 pts/0    00:00:00 grep
--color=auto iscover
root@dad314159:/home/dad/Desktop# ls -l /usr/bin/plasma-discover 
-rwxr-xr-x 1 root root 946520 Dec 29 14:08 /usr/bin/plasma-discover
root@dad314159:/home/dad/Desktop# sudo chmod 777 /usr/bin/plasma-discover 

I then ran discover again, and it did not crash, and instead closed when I
demurred about the kxstudio removals.

I repeat, discover has never been able to connect to the internet for updates.
I have tried ubuntu software center and had success on some occasions and
"failure to connect" on other occasions. synaptic always is successful. asp-get
always works.

The crash can be reproduced sometimes.

-- 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 0x7fae062188c0 (LWP 4866))]

Thread 9 (Thread 0x7fadcc866700 (LWP 4890)):
#0  0x00007fadffc94a94 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fadffc4ff2a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fadffc503f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fadffc5049c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fae036aa37b in QEventDispatcherGlib::processEvents
(this=0x7fadbc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007fae03652ffa in QEventLoop::exec (this=this@entry=0x7fadcc865d00,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fae0347b9e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:500
#7  0x00007fae03480808 in QThreadPrivate::start (arg=0x21ba7c0) at
thread/qthread_unix.cpp:341
#8  0x00007fae003bd6ba in start_thread (arg=0x7fadcc866700) at
pthread_create.c:333
#9  0x00007fae02a8582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fadcf18c700 (LWP 4881)):
#0  0x00007fadffc4f300 in g_main_context_acquire () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fadffc50245 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fadffc50712 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fadd4a049d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fadffc76bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fae003bd6ba in start_thread (arg=0x7fadcf18c700) at
pthread_create.c:333
#6  0x00007fae02a8582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fadcf98d700 (LWP 4880)):
#0  0x00007fadffc4d3e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fadffc4f8bb in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fadffc502bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fadffc5049c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fadffc504d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fadffc76bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fae003bd6ba in start_thread (arg=0x7fadcf98d700) at
pthread_create.c:333
#7  0x00007fae02a8582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fade357d700 (LWP 4874)):
#0  0x00007fadffc94a79 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fadffc50290 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fadffc5049c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fae036aa37b in QEventDispatcherGlib::processEvents
(this=0x7fadd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fae03652ffa in QEventLoop::exec (this=this@entry=0x7fade357cd00,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fae0347b9e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:500
#6  0x00007fae03480808 in QThreadPrivate::start (arg=0x7fadd8003650) at
thread/qthread_unix.cpp:341
#7  0x00007fae003bd6ba in start_thread (arg=0x7fade357d700) at
pthread_create.c:333
#8  0x00007fae02a8582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fade3d7e700 (LWP 4873)):
#0  0x00007fae02a79b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fadffc5038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fadffc5049c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fae036aa37b in QEventDispatcherGlib::processEvents
(this=0x7fadd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fae03652ffa in QEventLoop::exec (this=this@entry=0x7fade3d7dc90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fae0347b9e4 in QThread::exec (this=this@entry=0x1d8bc00) at
thread/qthread.cpp:500
#6  0x00007fae05abf7d6 in QQuickPixmapReader::run (this=0x1d8bc00) at
util/qquickpixmapcache.cpp:817
#7  0x00007fae03480808 in QThreadPrivate::start (arg=0x1d8bc00) at
thread/qthread_unix.cpp:341
#8  0x00007fae003bd6ba in start_thread (arg=0x7fade3d7e700) at
pthread_create.c:333
#9  0x00007fae02a8582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fadeb4ab700 (LWP 4869)):
#0  0x00007ffc6ab63caf in clock_gettime ()
#1  0x00007fae02a93c86 in __GI___clock_gettime (clock_id=1,
tp=tp@entry=0x7fadeb4aaa40) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fae0352c6c6 in qt_clock_gettime (ts=0x7fadeb4aaa40, clock=<optimized
out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007fae036a7f09 in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7faddc002cd0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007fae036a8475 in QTimerInfoList::timerWait (this=0x7faddc002cd0,
tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007fae036a985e in timerSourcePrepareHelper (timeout=0x7fadeb4aab14,
src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7fadeb4aab14) at
kernel/qeventdispatcher_glib.cpp:159
#9  0x00007fadffc4f91d in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fadffc502bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fadffc5049c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fae036aa37b in QEventDispatcherGlib::processEvents
(this=0x7faddc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007fae03652ffa in QEventLoop::exec (this=this@entry=0x7fadeb4aace0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007fae0347b9e4 in QThread::exec (this=this@entry=0x191a560) at
thread/qthread.cpp:500
#15 0x00007fae03e006b5 in QQmlThreadPrivate::run (this=0x191a560) at
qml/ftw/qqmlthread.cpp:141
#16 0x00007fae03480808 in QThreadPrivate::start (arg=0x191a560) at
thread/qthread_unix.cpp:341
#17 0x00007fae003bd6ba in start_thread (arg=0x7fadeb4ab700) at
pthread_create.c:333
#18 0x00007fae02a8582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fadec6bc700 (LWP 4868)):
#0  0x00007fae02a79b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fadffc5038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fadffc5049c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fae036aa37b in QEventDispatcherGlib::processEvents
(this=0x7fade40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fae03652ffa in QEventLoop::exec (this=this@entry=0x7fadec6bbcd0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fae0347b9e4 in QThread::exec (this=this@entry=0x7fae0637bd40
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:500
#6  0x00007fae06308515 in QDBusConnectionManager::run (this=0x7fae0637bd40
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:189
#7  0x00007fae03480808 in QThreadPrivate::start (arg=0x7fae0637bd40 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:341
#8  0x00007fae003bd6ba in start_thread (arg=0x7fadec6bc700) at
pthread_create.c:333
#9  0x00007fae02a8582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fadf4a69700 (LWP 4867)):
#0  0x00007fae02a79b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fadfdc47c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fadfdc498d7 in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fadf6fbfd29 in QXcbEventReader::run (this=0x18a0cd0) at
qxcbconnection.cpp:1325
#4  0x00007fae03480808 in QThreadPrivate::start (arg=0x18a0cd0) at
thread/qthread_unix.cpp:341
#5  0x00007fae003bd6ba in start_thread (arg=0x7fadf4a69700) at
pthread_create.c:333
#6  0x00007fae02a8582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fae062188c0 (LWP 4866)):
[KCrash Handler]
#6  QFlagPointer<QQmlAbstractBinding>::clearFlag (this=<optimized out>) at
../../include/QtQml/5.6.1/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:159
#7  QFlagPointer<QQmlAbstractBinding>::setFlagValue (v=false, this=<optimized
out>) at
../../include/QtQml/5.6.1/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:166
#8  QQmlAbstractBinding::setAddedToObject (v=false, this=<optimized out>) at
../../include/QtQml/5.6.1/QtQml/private/../../../../../src/qml/qml/qqmlabstractbinding_p.h:117
#9  QQmlData::destroyed (this=0x6ed7930, object=0x7091c20) at
qml/qqmlengine.cpp:1641
#10 0x00007fae0368912f in QObject::~QObject (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:922
#11 0x00007fae05b4f0ed in QQuickItem::~QQuickItem (this=0x7091c20,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2309
#12 0x00007fadea476274 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#13 0x00007fae03680053 in QObjectPrivate::deleteChildren
(this=this@entry=0x7279b50) at kernel/qobject.cpp:1963
#14 0x00007fae03689094 in QObject::~QObject (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1034
#15 0x00007fae05b4f0ed in QQuickItem::~QQuickItem (this=0x430c160,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2309
#16 0x00007fae05b691a6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement
(this=0x430c160, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#17 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x430c160,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#18 0x00007fae03682750 in QObject::event (this=this@entry=0x430c160,
e=e@entry=0x68840a0) at kernel/qobject.cpp:1247
#19 0x00007fae05b4d4ab in QQuickItem::event (this=0x430c160, ev=0x68840a0) at
items/qquickitem.cpp:7523
#20 0x00007fae04612afc in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x430c160, e=0x68840a0) at kernel/qapplication.cpp:3804
#21 0x00007fae04618036 in QApplication::notify (this=0x7ffc6ab2df70,
receiver=0x430c160, e=0x68840a0) at kernel/qapplication.cpp:3561
#22 0x00007fae036552a8 in QCoreApplication::notifyInternal2
(receiver=0x430c160, event=event@entry=0x68840a0) at
kernel/qcoreapplication.cpp:1015
#23 0x00007fae0365716a in QCoreApplication::sendEvent (event=0x68840a0,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x1882de0) at
kernel/qcoreapplication.cpp:1650
#25 0x00007fae03657628 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1508
#26 0x00007fae036a9f53 in postEventSourceDispatch (s=0x18d4090) at
kernel/qeventdispatcher_glib.cpp:270
#27 0x00007fadffc50197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fadffc503f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fadffc5049c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fae036aa35f in QEventDispatcherGlib::processEvents (this=0x18c74d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#31 0x00007fae03652ffa in QEventLoop::exec (this=this@entry=0x7ffc6ab2de90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#32 0x00007fae0365b6bc in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1285
#33 0x000000000040a2d5 in ?? ()
#34 0x00007fae0299f830 in __libc_start_main (main=0x409bc0, argc=3,
argv=0x7ffc6ab2e108, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc6ab2e0f8) at ../csu/libc-start.c:291
#35 0x000000000040a419 in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to