Bug 232249

Summary: Plasma crashed when starting a new application
Product: [Unmaintained] plasma4 Reporter: Peter Kreussel <privat>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Kreussel 2010-03-26 17:29:38 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-21-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Well, I'm not shure wether that really causes it, but it seems that plasma sometimes crashes on starting an new Application. Perhaps the backtrace is of some use?

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Plasma-Arbeitsfläche (kdeinit4), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f7166b7a7f0 (LWP 13030))]

Thread 4 (Thread 0x7f7142904910 (LWP 13031)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f715bdec816 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f715bdec859 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f7164dd3a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f7163b9780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7140e75910 (LWP 13032)):
[KCrash Handler]
#5  0x00007f716516b939 in QMetaObject::addGuard (ptr=0x7f7140e6ebe0) at kernel/qobject.cpp:430
#6  0x00007f7165c57ce7 in QPointer (this=0x1581910, job=0x7f7138025c80) at /usr/include/qt4/QtCore/qpointer.h:60
#7  KIO::SchedulerPrivate::ProtocolInfo::findJobCoSlave (this=0x1581910, job=0x7f7138025c80) at ../../kio/kio/scheduler.cpp:203
#8  KIO::SchedulerPrivate::cancelJob (this=0x1581910, job=0x7f7138025c80) at ../../kio/kio/scheduler.cpp:510
#9  0x00007f7165ba9d51 in ~SimpleJob (this=0x7f7138025c80, __in_chrg=<value optimized out>) at ../../kio/kio/job.cpp:382
#10 0x00007f7165ba9ea7 in ~TransferJob (this=0xfc8250, __in_chrg=<value optimized out>) at ../../kio/kio/job.cpp:939
#11 0x00007f7165166b6d in QObject::event (this=0x7f7138025c80, e=0x7f713802b670) at kernel/qobject.cpp:1231
#12 0x00007f71642f512c in QApplicationPrivate::notify_helper (this=0xf493e0, receiver=0x7f7138025c80, e=0x7f713802b670) at kernel/qapplication.cpp:4300
#13 0x00007f71642fb71b in QApplication::notify (this=0xf33400, receiver=0x7f7138025c80, e=0x7f713802b670) at kernel/qapplication.cpp:4183
#14 0x00007f716569ed76 in KApplication::notify (this=0xf33400, receiver=0x7f7138025c80, event=0x7f713802b670) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007f7165156e0c in QCoreApplication::notifyInternal (this=0xf33400, receiver=0x7f7138025c80, event=0x7f713802b670) at kernel/qcoreapplication.cpp:704
#16 0x00007f7165159587 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x159c1d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x159c1d0) at kernel/qcoreapplication.cpp:1345
#18 0x00007f71651807f3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#20 0x00007f7160361bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f7160365598 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f71603656c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f7165180333 in QEventDispatcherGlib::processEvents (this=0x18209c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#24 0x00007f7165155732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#25 0x00007f7165155b0c in QEventLoop::exec (this=0x7f7140e6f670, flags=) at kernel/qeventloop.cpp:201
#26 0x00007f7165c445fc in KIO::NetAccess::enter_loop (this=0x7f7140e6f710) at ../../kio/kio/netaccess.cpp:502
#27 0x00007f7165c44c4f in KIO::NetAccess::synchronousRunInternal (this=0x7f7140e6f710, job=0x7f71380c4840, window=<value optimized out>, data=0x7f7140e6f800, finalURL=0x0, metaData=0x0)
    at ../../kio/kio/netaccess.cpp:487
#28 0x00007f7165c45401 in KIO::NetAccess::synchronousRun (job=0x7f71380c4840, window=0x0, data=0x7f7140e6f800, finalURL=0x0, metaData=<value optimized out>) at ../../kio/kio/netaccess.cpp:277
#29 0x00007f7146c06c95 in ?? () from /usr/lib/kde4/plasma_applet_cwp.so
#30 0x00007f7146c11668 in ?? () from /usr/lib/kde4/plasma_applet_cwp.so
#31 0x00007f7146c12fb2 in ?? () from /usr/lib/kde4/plasma_applet_cwp.so
#32 0x00007f7165062775 in QThreadPrivate::start (arg=0x1694ad0) at thread/qthread_unix.cpp:248
#33 0x00007f7164dd3a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#34 0x00007f7163b9780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#35 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f713e14b910 (LWP 13044)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f71650620e5 in thread_sleep (ti=0x7f713e14af00) at thread/qthread_unix.cpp:398
#2  0x00007f7165062250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f7146c130af in ?? () from /usr/lib/kde4/plasma_applet_cwp.so
#4  0x00007f7165062775 in QThreadPrivate::start (arg=0x1d2eab0) at thread/qthread_unix.cpp:248
#5  0x00007f7164dd3a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f7163b9780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 1 (Thread 0x7f7166b7a7f0 (LWP 13030)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f7165061ea3 in QMutexPrivate::wait (this=0xf7e760, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f716505da25 in QMutex::lock (this=0xfc8250) at thread/qmutex.cpp:205
#3  0x00007f716516ba78 in QMutexLocker::relock (ptr=0x2d7ddb0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:120
#4  QMutexLocker (ptr=0x2d7ddb0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:102
#5  QMetaObject::addGuard (ptr=0x2d7ddb0) at kernel/qobject.cpp:429
#6  0x00007f7165c5b880 in QPointer (this=<value optimized out>, t=...) at /usr/include/qt4/QtCore/qpointer.h:62
#7  QList<QPointer<KIO::Slave> >::node_construct (this=<value optimized out>, t=...) at /usr/include/qt4/QtCore/qlist.h:351
#8  QList<QPointer<KIO::Slave> >::append (this=<value optimized out>, t=...) at /usr/include/qt4/QtCore/qlist.h:472
#9  0x00007f7165c5ace5 in KIO::SchedulerPrivate::startJobDirect (this=0x1581910) at ../../kio/kio/scheduler.cpp:713
#10 0x00007f7165c5b2c8 in KIO::SchedulerPrivate::startStep (this=0x1581910) at ../../kio/kio/scheduler.cpp:526
#11 0x00007f7165c5b5d4 in KIO::Scheduler::qt_metacall (this=0x161e090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2adcc600) at ./scheduler.moc:108
#12 0x00007f7165169c0f in QMetaObject::activate (sender=0x1581918, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#13 0x00007f7165166863 in QObject::event (this=0x1581918, e=0x7fff2adccd50) at kernel/qobject.cpp:1212
#14 0x00007f71642f512c in QApplicationPrivate::notify_helper (this=0xf493e0, receiver=0x1581918, e=0x7fff2adccd50) at kernel/qapplication.cpp:4300
#15 0x00007f71642fb71b in QApplication::notify (this=0xf33400, receiver=0x1581918, e=0x7fff2adccd50) at kernel/qapplication.cpp:4183
#16 0x00007f716569ed76 in KApplication::notify (this=0xf33400, receiver=0x1581918, event=0x7fff2adccd50) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007f7165156e0c in QCoreApplication::notifyInternal (this=0xf33400, receiver=0x1581918, event=0x7fff2adccd50) at kernel/qcoreapplication.cpp:704
#18 0x00007f7165183a62 in QCoreApplication::sendEvent (this=0xf4c980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QTimerInfoList::activateTimers (this=0xf4c980) at kernel/qeventdispatcher_unix.cpp:603
#20 0x00007f7165180668 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#21 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#22 0x00007f7160361bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007f7160365598 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007f71603656c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007f7165180333 in QEventDispatcherGlib::processEvents (this=0xeb87f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#26 0x00007f71643a4f0e in QGuiEventDispatcherGlib::processEvents (this=0xf7e7ac, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f7165155732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f7165155b0c in QEventLoop::exec (this=0x7fff2adccff0, flags=) at kernel/qeventloop.cpp:201
#29 0x00007f716515984b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#30 0x00007f7158a000a2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:112
#31 0x0000000000406fb8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a499 "0") at ../../kinit/kinit.cpp:717
#32 0x0000000000407c70 in handle_launcher_request (sock=9, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#33 0x0000000000408121 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#34 0x0000000000408df2 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1841
The current source language is "auto; currently asm".

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

Possible duplicates by query: bug 232142, bug 230673, bug 227787, bug 227679, bug 227643.

Reported using DrKonqi
Comment 1 Dario Andres 2010-03-26 20:17:30 UTC
Update to the latest version of the CWP widget or remove it, as it causes crashes.
Merging with bug 227010.
Regards

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