Bug 282773

Summary: Plasma crash when downloading GHNS contents (Wallpapers) [QMutex::lock, QCoreApplication::postEvent, KNS3::AtticaProvider::loadEntries, KNS3::Engine::reloadEntries]
Product: [Unmaintained] kdelibs Reporter: stars
Component: knewstuffAssignee: Jeremy Whiting <jpwhiting>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, arielnokia, gladhorn, n.schnelle, roberto.kde, stars, sudoman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description stars 2011-09-26 02:23:26 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

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

i was doing downloading new wallpapers via menu "desktop configuration.

-- Backtrace:
Application: Outil de gestion de fenêtres Plasma (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9849c3d7c0 (LWP 2385))]

Thread 4 (Thread 0x7f982c34c700 (LWP 2386)):
#0  0x00007f983df1149e in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f983df1200a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f983df12639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9846743446 in QEventDispatcherGlib::processEvents (this=0x2456610, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f9846717882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9846717abc in QEventLoop::exec (this=0x7f982c34bcd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f984662e924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f98466f9c2f in QInotifyFileSystemWatcherEngine::run (this=0x2459eb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9846631175 in QThreadPrivate::start (arg=0x2459eb0) at thread/qthread_unix.cpp:320
#9  0x00007f983bf97853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f983e815d8c in start_thread (arg=0x7f982c34c700) at pthread_create.c:304
#11 0x00007f984954204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9828fbd700 (LWP 2388)):
#0  0x00007f983e819d9d in __pthread_mutex_unlock_usercnt (mutex=0x24e2058) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x24e2058) at pthread_mutex_unlock.c:290
#2  0x00007f983df121b3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f983df12639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9846743446 in QEventDispatcherGlib::processEvents (this=0x24e1ca0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9846717882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9846717abc in QEventLoop::exec (this=0x7f9828fbccd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f984662e924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f98466f9c2f in QInotifyFileSystemWatcherEngine::run (this=0x23cae00) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f9846631175 in QThreadPrivate::start (arg=0x23cae00) at thread/qthread_unix.cpp:320
#10 0x00007f983bf97853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f983e815d8c in start_thread (arg=0x7f9828fbd700) at pthread_create.c:304
#12 0x00007f984954204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f981d5b4700 (LWP 2393)):
#0  0x00007f9849534f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f983df12104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f983df129f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f981e6cbc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f983df393e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f983bf97853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f983e815d8c in start_thread (arg=0x7f981d5b4700) at pthread_create.c:304
#7  0x00007f984954204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9849c3d7c0 (LWP 2385)):
[KCrash Handler]
#6  0x00007f984662cbdc in QMutex::lock (this=0x4375f70) at thread/qmutex.cpp:151
#7  0x00007f984671b2de in QCoreApplication::postEvent (receiver=0x6049240, event=0x4234670, priority=0) at kernel/qcoreapplication.cpp:1140
#8  0x00007f9847a507e5 in KNS3::AtticaProvider::loadEntries (this=0x3adf860, request=...) at ../../../knewstuff/knewstuff3/attica/atticaprovider.cpp:138
#9  0x00007f9847a2c4cb in KNS3::Engine::reloadEntries (this=0x3a9df90) at ../../../knewstuff/knewstuff3/core/engine.cpp:310
#10 0x00007f9847a1ea0d in KNS3::DownloadWidget::qt_metacall (this=0x30e42d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbaba8090) at ./downloadwidget.moc:113
#11 0x00007f984672d5f8 in QMetaObject::activate (sender=0x2164b50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbaba8090) at kernel/qobject.cpp:3287
#12 0x00007f984614d942 in QAbstractButton::clicked (this=<value optimized out>, _t1=true) at .moc/release-shared/moc_qabstractbutton.cpp:206
#13 0x00007f9845e96f2e in QAbstractButtonPrivate::emitClicked (this=0x394e290) at widgets/qabstractbutton.cpp:546
#14 0x00007f9845e984ab in QAbstractButtonPrivate::click (this=0x394e290) at widgets/qabstractbutton.cpp:539
#15 0x00007f9845e9871c in QAbstractButton::mouseReleaseEvent (this=0x2164b50, e=0x7fffbaba89d0) at widgets/qabstractbutton.cpp:1121
#16 0x00007f9845b26cc8 in QWidget::event (this=0x2164b50, event=0x7fffbaba89d0) at kernel/qwidget.cpp:8259
#17 0x00007f9845ad59f4 in QApplicationPrivate::notify_helper (this=0x1f7aa70, receiver=0x2164b50, e=0x7fffbaba89d0) at kernel/qapplication.cpp:4462
#18 0x00007f9845adadc3 in QApplication::notify (this=<value optimized out>, receiver=0x2164b50, e=0x7fffbaba89d0) at kernel/qapplication.cpp:4023
#19 0x00007f98473d0866 in KApplication::notify (this=0x1f664f0, receiver=0x2164b50, event=0x7fffbaba89d0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f984671849c in QCoreApplication::notifyInternal (this=0x1f664f0, receiver=0x2164b50, event=0x7fffbaba89d0) at kernel/qcoreapplication.cpp:731
#21 0x00007f9845ad6a1d in sendEvent (receiver=0x2164b50, event=0x7fffbaba89d0, alienWidget=0x2164b50, nativeWidget=0x3953450, buttonDown=0x7f98465b9218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::sendMouseEvent (receiver=0x2164b50, event=0x7fffbaba89d0, alienWidget=0x2164b50, nativeWidget=0x3953450, buttonDown=0x7f98465b9218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#23 0x00007f9845b58190 in QETWidget::translateMouseEvent (this=0x3953450, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#24 0x00007f9845b56ab7 in QApplication::x11ProcessEvent (this=0x1f664f0, event=0x7fffbaba9320) at kernel/qapplication_x11.cpp:3680
#25 0x00007f9845b7f842 in x11EventSourceDispatch (s=0x1f79b90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f983df11bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f983df123a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f983df12639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f98467433ef in QEventDispatcherGlib::processEvents (this=0x1eb9340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f9845b7f4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f9846717882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f9846717abc in QEventLoop::exec (this=0x7fffbaba9620, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f984671becb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#34 0x00007f984982e897 in kdemain (argc=1, argv=0x7fffbaba99e8) at ../../../../plasma/desktop/shell/main.cpp:118
#35 0x00007f984947aeff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fffbaba99e8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffbaba99d8) at libc-start.c:226
#36 0x0000000000400669 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2011-09-29 12:47:17 UTC
[Comment from a bug report cleaner]
This is pretty much like bug 251871, but as the backtrace is a bit different, I'm not going to merge them until we get some confirmation.

May be the "Attica::BaseJob::abort" call is not shown in this backtrace but it was called. Bug 282917 has a similar backtrace with that call on it.

Thanks
Comment 2 Christoph Feck 2011-12-08 11:51:46 UTC
*** Bug 288356 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2012-05-11 23:40:55 UTC
*** Bug 299794 has been marked as a duplicate of this bug. ***
Comment 4 Nikola Schnelle 2012-05-27 20:33:34 UTC
Created attachment 71399 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:

Browsing decoration themes through get hot new stuff

-- Backtrace (Reduced):
#7  0x00b83b0d in Attica::BaseJob::abort() () from /usr/lib/libattica.so.0.3
#8  0x021bb85f in KNS3::AtticaProvider::loadEntries (this=0xafdb188, request=...) at ../../../knewstuff/knewstuff3/attica/atticaprovider.cpp:138
#9  0x02193cf3 in KNS3::Engine::reloadEntries (this=0xafd3d98) at ../../../knewstuff/knewstuff3/core/engine.cpp:313
#10 0x02194298 in slotSearchTimerExpired (this=0xafd3d98) at ../../../knewstuff/knewstuff3/core/engine.cpp:352
#11 qt_static_metacall (_a=0xbfc19770, _id=23, _o=0xafd3d98, _c=<optimized out>) at ./engine.moc:132
Comment 5 Myriam Schweingruber 2012-06-10 00:57:36 UTC
*** Bug 301485 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2012-06-10 00:59:45 UTC

*** This bug has been marked as a duplicate of bug 251871 ***