Bug 284897 - KDE Plasma crash while configuring RTM plasmoid
Summary: KDE Plasma crash while configuring RTM plasmoid
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-rememberthemilk (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 280856 285661 286397 286574 287358 287433 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-24 19:55 UTC by Irene Korff
Modified: 2011-11-24 08:04 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.23 KB, text/plain)
2011-11-21 14:00 UTC, Tony Themelis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Irene Korff 2011-10-24 19:55:47 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

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

Configuring RTM-plasmoid crashed KDE Plasma altogether. Plasma restart was fine.

-- Backtrace:
Application: Plasma bureaublad-shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff4966237c0 (LWP 1702))]

Thread 7 (Thread 0x7ff471e74700 (LWP 1703)):
#0  0x00007ff495efa773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff48a487f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff48a488429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff4930eef3e in QEventDispatcherGlib::processEvents (this=0x2a75fa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff4930c2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff4930c2ef7 in QEventLoop::exec (this=0x7ff471e73cd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff492fda27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007ff4930a5cbf in QInotifyFileSystemWatcherEngine::run (this=0x2a74870) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff492fdcd05 in QThreadPrivate::start (arg=0x2a74870) at thread/qthread_unix.cpp:331
#9  0x00007ff4877a156c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007ff48af94efc in start_thread (arg=0x7ff471e74700) at pthread_create.c:304
#11 0x00007ff495f0689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff46afbf700 (LWP 1704)):
#0  __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:37
#1  __pthread_mutex_unlock (mutex=0x2c88558) at pthread_mutex_unlock.c:290
#2  0x00007ff48a48772e in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff48a487f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff48a488429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff4930eef3e in QEventDispatcherGlib::processEvents (this=0x2c886c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007ff4930c2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff4930c2ef7 in QEventLoop::exec (this=0x7ff46afbecd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007ff492fda27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007ff4930a5cbf in QInotifyFileSystemWatcherEngine::run (this=0x2c87c70) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ff492fdcd05 in QThreadPrivate::start (arg=0x2c87c70) at thread/qthread_unix.cpp:331
#11 0x00007ff4877a156c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007ff48af94efc in start_thread (arg=0x7ff46afbf700) at pthread_create.c:304
#13 0x00007ff495f0689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff468192700 (LWP 1710)):
#0  0x00007ff495efa773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff48a487f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff48a488792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff468c70516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ff48a4ad2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff4877a156c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007ff48af94efc in start_thread (arg=0x7ff468192700) at pthread_create.c:304
#7  0x00007ff495f0689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff465174700 (LWP 2500)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff491596c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ff491596d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ff4877a156c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007ff48af94efc in start_thread (arg=0x7ff465174700) at pthread_create.c:304
#5  0x00007ff495f0689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff46a59c700 (LWP 2501)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007ff46a59ba40 in ?? ()
#2  0x00007fff8ffa57e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7ff468993700 (LWP 2590)):
#0  0x00007ff48af9a0a7 in __pthread_getspecific (key=<optimized out>) at pthread_getspecific.c:62
#1  0x00007ff48a4ae3dd in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff48a488419 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff4930eef3e in QEventDispatcherGlib::processEvents (this=0x3677d30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff4930c2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff4930c2ef7 in QEventLoop::exec (this=0x7ff468992d00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff492fda27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007ff492fdcd05 in QThreadPrivate::start (arg=0x5762f10) at thread/qthread_unix.cpp:331
#8  0x00007ff4877a156c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007ff48af94efc in start_thread (arg=0x7ff468993700) at pthread_create.c:304
#10 0x00007ff495f0689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff4966237c0 (LWP 1702)):
[KCrash Handler]
#6  QList (this=0x7fff8ff0f130, l=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:118
#7  QForeachContainer (t=<optimized out>, this=0x7fff8ff0f130) at /usr/include/qt4/QtCore/qglobal.h:2253
#8  TaskModel::listUpdate (this=0x6d246a0, listId=109515594) at ../../../applets/rememberthemilk/taskmodel.cpp:245
#9  0x00007ff4144ba0a0 in RememberTheMilkPlasmoid::dataUpdated (this=0x744f1d0, name=<optimized out>, data=...) at ../../../applets/rememberthemilk/rememberthemilk-plasmoid.cpp:209
#10 0x00007ff4144ba95e in RememberTheMilkPlasmoid::qt_metacall (this=0x744f1d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8ff0f550) at ./rememberthemilk-plasmoid.moc:100
#11 0x00007ff4930d6eba in QMetaObject::activate (sender=0x2f61fc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8ff0f550) at kernel/qobject.cpp:3278
#12 0x00007ff495a2c927 in Plasma::DataContainer::dataUpdated (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at ./datacontainer.moc:112
#13 0x00007ff495a2cdfe in Plasma::DataContainer::checkForUpdate (this=0x2f61fc0) at ../../plasma/datacontainer.cpp:297
#14 0x00007ff41429e02c in ListsSource::qt_metacall (this=0x2f61fc0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8ff0f640) at ./listssource.moc:79
#15 0x00007ff4930d6eba in QMetaObject::activate (sender=0x6d24e60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#16 0x00007ff41408141d in completeListChanges (this=<optimized out>) at ../../../libs/rtm/session_p.h:190
#17 applyChanges (this=0x5bb7920) at ../../../libs/rtm/session_p.h:200
#18 RTM::SessionPrivate::smartListReply (this=0x5bb7920, reply=0x72cc230) at ../../../libs/rtm/session_p.h:221
#19 0x00007ff41407fe90 in RTM::Session::qt_metacall (this=0x6d24e60, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7fff8ff0fc70) at ./session.moc:133
#20 0x00007ff4930d6eba in QMetaObject::activate (sender=0x72cc230, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8ff0fc70) at kernel/qobject.cpp:3278
#21 0x00007ff41407d4df in RTM::Request::replyReceived (this=<optimized out>, _t1=0x72cc230) at moc_request.cpp:98
#22 0x00007ff4140871b3 in RTM::Request::finished (this=0x72cc230, job=0x2e08660) at ../../../libs/rtm/request.cpp:109
#23 0x00007ff41407d624 in RTM::Request::qt_metacall (this=0x72cc230, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8ff0fea0) at moc_request.cpp:86
#24 0x00007ff4930d6eba in QMetaObject::activate (sender=0x2e08660, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8ff0fea0) at kernel/qobject.cpp:3278
#25 0x00007ff4937a21d2 in KJob::result (this=<optimized out>, _t1=0x2e08660) at ./kjob.moc:194
#26 0x00007ff4937a2210 in KJob::emitResult (this=0x2e08660) at ../../kdecore/jobs/kjob.cpp:312
#27 0x00007ff495560364 in KIO::SimpleJob::slotFinished (this=0x2e08660) at ../../kio/kio/job.cpp:494
#28 0x00007ff495567d3d in KIO::TransferJob::slotFinished (this=0x2e08660) at ../../kio/kio/job.cpp:1081
#29 0x00007ff4955666a1 in KIO::TransferJob::qt_metacall (this=0x2e08660, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8ff10250) at ./jobclasses.moc:369
#30 0x00007ff4930d6eba in QMetaObject::activate (sender=0x7393ab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#31 0x00007ff49560bf01 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#32 0x00007ff495608db5 in KIO::SlaveInterface::dispatch (this=0x7393ab0) at ../../kio/kio/slaveinterface.cpp:88
#33 0x00007ff4955fbf7e in KIO::Slave::gotInput (this=0x7393ab0) at ../../kio/kio/slave.cpp:344
#34 0x00007ff4955fc6dc in KIO::Slave::qt_metacall (this=0x7393ab0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8ff10680) at ./slave.moc:82
#35 0x00007ff4930d6eba in QMetaObject::activate (sender=0x72b8bb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#36 0x00007ff495531087 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#37 KIO::ConnectionPrivate::dequeue (this=0x4ba2ce0) at ../../kio/kio/connection.cpp:71
#38 0x00007ff49553112d in KIO::Connection::qt_metacall (this=0x72b8bb0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7738fb0) at ./connection.moc:79
#39 0x00007ff4930daa5e in QObject::event (this=0x72b8bb0, e=<optimized out>) at kernel/qobject.cpp:1217
#40 0x00007ff492474424 in notify_helper (e=0x6d11520, receiver=0x72b8bb0, this=0x2053680) at kernel/qapplication.cpp:4486
#41 QApplicationPrivate::notify_helper (this=0x2053680, receiver=0x72b8bb0, e=0x6d11520) at kernel/qapplication.cpp:4458
#42 0x00007ff492479291 in QApplication::notify (this=0x2043ff0, receiver=0x72b8bb0, e=0x6d11520) at kernel/qapplication.cpp:4365
#43 0x00007ff493d721e6 in KApplication::notify (this=0x2043ff0, receiver=0x72b8bb0, event=0x6d11520) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007ff4930c3afc in QCoreApplication::notifyInternal (this=0x2043ff0, receiver=0x72b8bb0, event=0x6d11520) at kernel/qcoreapplication.cpp:787
#45 0x00007ff4930c751f in sendEvent (event=0x6d11520, receiver=0x72b8bb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1f96430) at kernel/qcoreapplication.cpp:1428
#47 0x00007ff4930eea73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#49 0x00007ff48a487a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007ff48a488258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007ff48a488429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007ff4930eeed6 in QEventDispatcherGlib::processEvents (this=0x1f97f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#53 0x00007ff49251c07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007ff4930c2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007ff4930c2ef7 in QEventLoop::exec (this=0x7fff8ff10ec0, flags=...) at kernel/qeventloop.cpp:201
#56 0x00007ff4930c7789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#57 0x00007ff4962051a3 in kdemain (argc=1, argv=0x7fff8ff112a8) at ../../../../plasma/desktop/shell/main.cpp:120
#58 0x00007ff495e4630d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff8ff112a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8ff11298) at libc-start.c:226
#59 0x0000000000400671 in _start ()

This bug may be a duplicate of or related to bug 280856.

Possible duplicates by query: bug 284353, bug 281404, bug 280856.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-10-25 10:19:26 UTC
*** Bug 280856 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2011-11-04 00:47:29 UTC
*** Bug 285661 has been marked as a duplicate of this bug. ***
Comment 3 Alexey Chernov 2011-11-05 20:54:42 UTC
Git commit 0017c3662f2cac85597e170dce162b6e2f91762d by Alexey Chernov.
Committed on 05/11/2011 at 21:46.
Pushed by chernov into branch 'KDE/4.7'.

Fix of the crash in TaskModel::listUpdate method

Fix of the crash in TaskModel::listUpdate method, it can be caused
if QInvokeMethod inside DataEngine is called not directly.

CCBUG: 284897

M  +5    -3    applets/rememberthemilk/taskmodel.cpp

http://commits.kde.org/kdeplasma-addons/0017c3662f2cac85597e170dce162b6e2f91762d
Comment 4 Alexey Chernov 2011-11-05 20:54:43 UTC
Git commit 36a3059cd8e0d47ac4be392b57d858b5c40ae155 by Alexey Chernov.
Committed on 05/11/2011 at 21:46.
Pushed by chernov into branch 'master'.

Fix of the crash in TaskModel::listUpdate method

Fix of the crash in TaskModel::listUpdate method, it can be caused
if QInvokeMethod inside DataEngine is called not directly.

CCBUG: 284897

M  +5    -3    applets/rememberthemilk/taskmodel.cpp

http://commits.kde.org/kdeplasma-addons/36a3059cd8e0d47ac4be392b57d858b5c40ae155
Comment 5 Alexey Chernov 2011-11-05 20:59:14 UTC
If the bug is reproducible for you, please test it with this patch, it should be fixed.
Comment 6 Christoph Feck 2011-11-14 16:43:30 UTC
*** Bug 286574 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2011-11-14 16:44:01 UTC
*** Bug 286397 has been marked as a duplicate of this bug. ***
Comment 8 Alexey Chernov 2011-11-14 17:47:47 UTC
Christoph, could you please change status to WAITINGFORINFO? I believe it's fixed with the patch above since 4.7.4 but don't know whether we can simply close it.
Comment 9 Tony Themelis 2011-11-21 14:00:03 UTC
Created attachment 65909 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

I was authenticating with Remember the Milk plasmoid for the first time.

-- Backtrace (Reduced):
#6  QList (this=0x7fff553a06b0, l=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:118
#7  QForeachContainer (t=<optimized out>, this=0x7fff553a06b0) at /usr/include/qt4/QtCore/qglobal.h:2253
#8  TaskModel::listUpdate (this=0x70e8e00, listId=40547418) at ../../../applets/rememberthemilk/taskmodel.cpp:245
#9  0x00007f6bba03b0a0 in RememberTheMilkPlasmoid::dataUpdated (this=0x70dc230, name=<optimized out>, data=...) at ../../../applets/rememberthemilk/rememberthemilk-plasmoid.cpp:209
#10 0x00007f6bba03b95e in RememberTheMilkPlasmoid::qt_metacall (this=0x70dc230, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff553a0ad0) at ./rememberthemilk-plasmoid.moc:100
Comment 10 Andrew Stromme 2011-11-21 15:33:17 UTC
I think this was fixed by Alexey Chernov in commit 36a3059cd8e0d47ac4be392b57d858b5c40ae155

See the web diff here:
https://projects.kde.org/projects/kde/kdeplasma-addons/repository/revisions/36a3059cd8e0d47ac4be392b57d858b5c40ae155/diff/applets/rememberthemilk/taskmodel.cpp
Comment 11 Alexey Chernov 2011-11-21 20:00:45 UTC
Thanks, Andrew.
Comment 12 Beat Wolf 2011-11-23 12:00:32 UTC
*** Bug 287358 has been marked as a duplicate of this bug. ***
Comment 13 Beat Wolf 2011-11-24 08:04:54 UTC
*** Bug 287433 has been marked as a duplicate of this bug. ***