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

            Bug ID: 398464
           Summary: Discover crashes when I try to launch it
           Product: Discover
           Version: 5.13.5
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: discover
          Assignee: aleix...@kde.org
          Reporter: j.l.vanderz...@gmail.com
  Target Milestone: ---

Application: plasma-discover (5.13.5)

Qt Version: 5.11.1
Frameworks Version: 5.50.0
Operating System: Linux 4.15.0-33-generic x86_64
Distribution: KDE neon Developer Edition

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

Doing web-development. As a result, I was editing some code with VSCode,
browsing the internet Firefox 62 and, Chromium was open for testing a webpage
being developed. Desktop clients for Slack and Telegram were also running in
the background, as well as Dropbox and Redshift-GTK. Nothing else (that was
directly visible to me as a user).

(Running KDE Neon, so I guess that makes it an Ubuntu derivative?)

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7fcf57d96700 (LWP 12352)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fcf975edfa4 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0,
val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:92
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> >
(expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:107
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593,
curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:221
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=1, u=...) at
thread/qsemaphore.cpp:264
#5  QSemaphore::acquire (this=this@entry=0x7fcf57d94100, n=n@entry=1) at
thread/qsemaphore.cpp:328
#6  0x00007fcf977e91b6 in QMetaObject::activate (sender=0x2dc4610,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3739
#7  0x00007fcf94abf378 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#8  0x00007fcf94b60d3d in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#9  0x00007fcf977e8f79 in QMetaObject::activate (sender=0x7fcf50002860,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3771
#10 0x00007fcf94ab4c02 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#11 0x00007fcf94ab54cd in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#12 0x00007fcf977e8f79 in QMetaObject::activate (sender=0x7fcf50002f00,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3771
#13 0x00007fcf94b5ad77 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#14 0x00007fcf94b570db in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#15 0x00007fcf94b57ac6 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#16 0x00007fcf94b3a8d1 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#17 0x00007fcf977e8f79 in QMetaObject::activate (sender=0x7fcf500042d0,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3771
#18 0x00007fcf94b05973 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#19 0x00007fcf94b05a2c in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#20 0x00007fcf94b19371 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#21 0x00007fcf98e1639c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x7fcf50005730, e=0x7fcf57d95a90) at
kernel/qapplication.cpp:3727
#22 0x00007fcf98e1dab0 in QApplication::notify (this=0x7ffeba9e17d0,
receiver=0x7fcf50005730, e=0x7fcf57d95a90) at kernel/qapplication.cpp:3486
#23 0x00007fcf977bc228 in QCoreApplication::notifyInternal2
(receiver=0x7fcf50005730, event=event@entry=0x7fcf57d95a90) at
kernel/qcoreapplication.cpp:1048
#24 0x00007fcf97813d1d in QCoreApplication::sendEvent (event=0x7fcf57d95a90,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#25 socketNotifierSourceDispatch (source=0x7fcf500013a0) at
kernel/qeventdispatcher_glib.cpp:106
#26 0x00007fcf91757197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fcf917573f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fcf9175749c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fcf978130bb in QEventDispatcherGlib::processEvents
(this=0x7fcf500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#30 0x00007fcf977ba5ba in QEventLoop::exec (this=this@entry=0x7fcf57d95cb0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#31 0x00007fcf975ef5e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:525
#32 0x00007fcf975fa727 in QThreadPrivate::start (arg=0x2dc1ce0) at
thread/qthread_unix.cpp:367
#33 0x00007fcf9368c6ba in start_thread (arg=0x7fcf57d96700) at
pthread_create.c:333
#34 0x00007fcf96bf441d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fcf65cb7700 (LWP 12350)):
#0  0x00007fcf96be874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcf9175738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf9175749c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf978130bb in QEventDispatcherGlib::processEvents
(this=0x7fcf5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fcf977ba5ba in QEventLoop::exec (this=this@entry=0x7fcf65cb6cb0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fcf975ef5e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:525
#6  0x00007fcf975fa727 in QThreadPrivate::start (arg=0x205eeb0) at
thread/qthread_unix.cpp:367
#7  0x00007fcf9368c6ba in start_thread (arg=0x7fcf65cb7700) at
pthread_create.c:333
#8  0x00007fcf96bf441d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fcf664b8700 (LWP 12349)):
#0  0x00007fcf96be427d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcf905f3073 in ?? () from
/usr/lib/nvidia-384/tls/libnvidia-tls.so.384.130
#2  0x00007fcf9179a6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf91756e74 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcf91757330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcf91757712 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fcf680ab9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007fcf9177dbb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fcf9368c6ba in start_thread (arg=0x7fcf664b8700) at
pthread_create.c:333
#9  0x00007fcf96bf441d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fcf66cb9700 (LWP 12348)):
#0  0x00007fcf96be874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcf9175738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf9175749c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf917574d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcf9177dbb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcf9368c6ba in start_thread (arg=0x7fcf66cb9700) at
pthread_create.c:333
#6  0x00007fcf96bf441d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fcf74ef7700 (LWP 12347)):
#0  __GI___clock_gettime (clock_id=clock_id@entry=1,
tp=tp@entry=0x7fcf74ef69a0) at ../sysdeps/unix/clock_gettime.c:93
#1  0x00007fcf978129d1 in qt_clock_gettime (ts=0x7fcf74ef69a0, clock=<optimized
out>) at kernel/qelapsedtimer_unix.cpp:111
#2  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#3  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#4  0x00007fcf978111c9 in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7fcf6c002ed0) at kernel/qtimerinfo_unix.cpp:91
#5  0x00007fcf97811735 in QTimerInfoList::timerWait (this=0x7fcf6c002ed0,
tm=...) at kernel/qtimerinfo_unix.cpp:388
#6  0x00007fcf97812e3e in timerSourcePrepareHelper (timeout=0x7fcf74ef6a74,
src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#7  timerSourcePrepare (source=<optimized out>, timeout=0x7fcf74ef6a74) at
kernel/qeventdispatcher_glib.cpp:165
#8  0x00007fcf9175691d in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fcf917572bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fcf9175749c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fcf978130bb in QEventDispatcherGlib::processEvents
(this=0x7fcf6c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x00007fcf977ba5ba in QEventLoop::exec (this=this@entry=0x7fcf74ef6c40,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#13 0x00007fcf975ef5e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:525
#14 0x00007fcf9aa3ff86 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007fcf975fa727 in QThreadPrivate::start (arg=0x1f84330) at
thread/qthread_unix.cpp:367
#16 0x00007fcf9368c6ba in start_thread (arg=0x7fcf74ef7700) at
pthread_create.c:333
#17 0x00007fcf96bf441d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fcf7edee700 (LWP 12346)):
#0  0x00007fcf96be874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcf9175738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf9175749c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf978130bb in QEventDispatcherGlib::processEvents
(this=0x7fcf700008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fcf977ba5ba in QEventLoop::exec (this=this@entry=0x7fcf7ededc90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fcf975ef5e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:525
#6  0x00007fcf9817a195 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fcf975fa727 in QThreadPrivate::start (arg=0x1583080) at
thread/qthread_unix.cpp:367
#8  0x00007fcf9368c6ba in start_thread (arg=0x7fcf7edee700) at
pthread_create.c:333
#9  0x00007fcf96bf441d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fcf7ffff700 (LWP 12345)):
#0  0x00007fcf96be874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcf9175738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf9175749c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf978130bb in QEventDispatcherGlib::processEvents
(this=0x7fcf780008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fcf977ba5ba in QEventLoop::exec (this=this@entry=0x7fcf7fffec80,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fcf975ef5e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:525
#6  0x00007fcf99535f35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fcf975fa727 in QThreadPrivate::start (arg=0x7fcf997aed60) at
thread/qthread_unix.cpp:367
#8  0x00007fcf9368c6ba in start_thread (arg=0x7fcf7ffff700) at
pthread_create.c:333
#9  0x00007fcf96bf441d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fcf9b927900 (LWP 12343)):
[KCrash Handler]
#6  0x00007fcf96b22428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fcf96b2402a in __GI_abort () at abort.c:89
#8  0x00007fcf96b647ea in __libc_message (do_abort=2,
fmt=fmt@entry=0x7fcf96c7ded8 "*** Error in `%s': %s: 0x%s ***\n") at
../sysdeps/posix/libc_fatal.c:175
#9  0x00007fcf96b6b9dc in malloc_printerr (ar_ptr=0x7fcf96eb1b20 <main_arena>,
ptr=0x2db5340, str=0x7fcf96c7ac75 "corrupted size vs. prev_size",
action=<optimized out>) at malloc.c:5006
#10 malloc_consolidate (av=av@entry=0x7fcf96eb1b20 <main_arena>) at
malloc.c:4183
#11 0x00007fcf96b6ecde in _int_malloc (av=av@entry=0x7fcf96eb1b20 <main_arena>,
bytes=bytes@entry=4096) at malloc.c:3450
#12 0x00007fcf96b71184 in __GI___libc_malloc (bytes=bytes@entry=4096) at
malloc.c:2913
#13 0x00007fcf96b3289f in __realpath (name=0x2dbef88
"/etc/xdg/ksysguard.knsrc", resolved=resolved@entry=0x0) at canonicalize.c:78
#14 0x00007fcf9775ad7e in realpath (__resolved=0x0, __name=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/stdlib.h:48
#15 QFileSystemEngine::canonicalName (entry=..., data=...) at
io/qfilesystemengine_unix.cpp:760
#16 0x00007fcf976f0ba8 in QFileInfoPrivate::getFileName
(name=QAbstractFileEngine::CanonicalName, this=0x2db63b0) at
io/qfileinfo.cpp:59
#17 QFileInfo::canonicalFilePath (this=this@entry=0x7ffeba9e0b50) at
io/qfileinfo.cpp:567
#18 0x00007fcf997c86c0 in KConfigPrivate::changeFileName
(this=this@entry=0x2d83ca0, name=...) at
/workspace/build/src/core/kconfig.cpp:606
#19 0x00007fcf997c9ef1 in KConfig::KConfig (this=0x7ffeba9e0c90, file=...,
mode=..., resourceType=QStandardPaths::GenericConfigLocation) at
/workspace/build/src/core/kconfig.cpp:260
#20 0x00007fcf64c1a6bc in KNSBackend::KNSBackend (this=0x2dc7c90,
parent=<optimized out>, iconName=..., knsrc=...) at
/workspace/build/libdiscover/backends/KNSBackend/KNSBackend.cpp:99
#21 0x00007fcf64c1e1ce in KNSBackendFactory::newInstance
(this=this@entry=0x2d7a890, parent=0x15fa860) at
/workspace/build/libdiscover/backends/KNSBackend/KNSBackend.cpp:73
#22 0x00007fcf9a6e0030 in DiscoverBackendsFactory::backendForFile
(this=this@entry=0x7ffeba9e10bf, libname=..., name=...) at
/workspace/build/libdiscover/DiscoverBackendsFactory.cpp:65
#23 0x00007fcf9a6e06b2 in DiscoverBackendsFactory::backend
(this=this@entry=0x7ffeba9e10bf, name=...) at
/workspace/build/libdiscover/DiscoverBackendsFactory.cpp:51
#24 0x00007fcf9a6e0b16 in DiscoverBackendsFactory::<lambda(const
QString&)>::operator() (name=..., __closure=<synthetic pointer>) at
/workspace/build/libdiscover/DiscoverBackendsFactory.cpp:99
#25 kTransform<QVector<AbstractResourcesBackend*>, QStringList,
DiscoverBackendsFactory::allBackends() const::<lambda(const QString&)> >
(op=..., input=...) at /workspace/build/libdiscover/utils.h:48
#26 DiscoverBackendsFactory::allBackends (this=this@entry=0x7ffeba9e10bf) at
/workspace/build/libdiscover/DiscoverBackendsFactory.cpp:99
#27 0x00007fcf9a6cad07 in ResourcesModel::registerAllBackends (this=0x15fa860)
at /workspace/build/libdiscover/resources/ResourcesModel.cpp:208
#28 0x00007fcf9a6ef635 in ResourcesModel::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/libdiscover/moc_ResourcesModel.cpp:291
#29 0x00007fcf977e9fb9 in QObject::event (this=0x15fa860, e=<optimized out>) at
kernel/qobject.cpp:1251
#30 0x00007fcf98e1639c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x15fa860, e=0x15fac50) at kernel/qapplication.cpp:3727
#31 0x00007fcf98e1dab0 in QApplication::notify (this=0x7ffeba9e17d0,
receiver=0x15fa860, e=0x15fac50) at kernel/qapplication.cpp:3486
#32 0x00007fcf977bc228 in QCoreApplication::notifyInternal2
(receiver=0x15fa860, event=event@entry=0x15fac50) at
kernel/qcoreapplication.cpp:1048
#33 0x00007fcf977bee2e in QCoreApplication::sendEvent (event=0x15fac50,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x14b3790) at
kernel/qcoreapplication.cpp:1745
#35 0x00007fcf977bf2a8 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1599
#36 0x00007fcf97813a93 in postEventSourceDispatch (s=0x1524a90) at
kernel/qeventdispatcher_glib.cpp:276
#37 0x00007fcf91757197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fcf917573f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fcf9175749c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fcf9781309f in QEventDispatcherGlib::processEvents
(this=this@entry=0x1526780, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007fcf8b0689a1 in QPAEventDispatcherGlib::processEvents
(this=0x1526780, flags=...) at qeventdispatcher_glib.cpp:69
#42 0x00007fcf977ba5ba in QEventLoop::exec (this=this@entry=0x7ffeba9e16f0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#43 0x00007fcf977c36c4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1336
#44 0x00007fcf98601f8c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1762
#45 0x00007fcf98e162f5 in QApplication::exec () at kernel/qapplication.cpp:2901
#46 0x00000000004131ff in main (argc=1, argv=<optimized out>) at
/workspace/build/discover/main.cpp:156

The reporter indicates this bug may be a duplicate of or related to bug 398463,
bug 398461.

Possible duplicates by query: bug 398463, bug 398461, bug 398398, bug 398373,
bug 394640.

Reported using DrKonqi

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

Reply via email to