Bug 202267 - Plasma crashes when I try to change desktop wallpaper
Summary: Plasma crashes when I try to change desktop wallpaper
Status: RESOLVED DUPLICATE of bug 189592
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 06:41 UTC by Sourish Basu
Modified: 2010-03-22 00:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sourish Basu 2009-08-02 06:41:32 UTC
Version:            (using KDE 4.2.4)
Compiler:          gcc version 4.3.3 (Debian 4.3.3-14) 
OS:                Linux
Installed from:    Debian testing/unstable Packages

I have my wallpaper type set to "Image". If I select a wallpaper from the dropdown list, it works. If I click the little floppy disk icon to the right ("Browse" according to the tooltip) to select an image of my own choice, nothing happens (no file selection dialog) except that my mouse stops working. After a while, the keyboard stops responding as well. Several minutes later, the KDE crash handler tells me that plasma has crashed, and displays the following details:

-------------------------------------

Application: Plasma Workspace (plasma), signal SIGSEGV
[Current thread is 0 (LWP 4284)]

Thread 9 (Thread 0xa9298b90 (LWP 4288)):
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb5040f45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7ee478d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6812822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb52ebfd2 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb681180e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb503d495 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb7ed5a4e in clone () from /lib/i686/cmov/libc.so.6

Thread 8 (Thread 0xa8271b90 (LWP 4295)):
#0  0xb503ff26 in __pthread_mutex_unlock_usercnt () from /lib/i686/cmov/libpthread.so.0
#1  0xb7ee4996 in pthread_mutex_unlock () from /lib/i686/cmov/libc.so.6
#2  0xb508d961 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x09ba919c in ?? ()
#4  0x7fffffff in ?? ()
#5  0x09c01620 in ?? ()
#6  0x00000001 in ?? ()
#7  0xb503e84e in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
#8  0xb508def8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb69303b7 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb690305a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#11 0xb690349a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#12 0xb65aa0db in KIO::NetAccess::enter_loop () from /usr/lib/libkio.so.5
#13 0xb65aa79f in KIO::NetAccess::synchronousRunInternal () from /usr/lib/libkio.so.5
#14 0xb65aae51 in KIO::NetAccess::synchronousRun () from /usr/lib/libkio.so.5
#15 0xa92cdc0f in ?? () from /usr/lib/kde4/plasma_applet_cwp.so
#16 0x09e76058 in ?? ()
#17 0x00000000 in ?? ()

Thread 7 (Thread 0xa70feb90 (LWP 4299)):
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb5040f45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7ee478d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6812822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xa9334a5a in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#5  0x08e96478 in ?? ()
#6  0x08e96474 in ?? ()
#7  0xffffffff in ?? ()
#8  0x00000000 in ?? ()

Thread 6 (Thread 0xa68fdb90 (LWP 6054)):
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb7ecdfc1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb68e2920 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb681180e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb503d495 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb7ed5a4e in clone () from /lib/i686/cmov/libc.so.6

Thread 5 (Thread 0xa60c9b90 (LWP 4225)):
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb5040f45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7ee478d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6812822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb55d4628 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x09e55570 in ?? ()
#6  0x09fc8a40 in ?? ()
#7  0xffffffff in ?? ()
#8  0xb680c1a7 in QMutex::unlock () from /usr/lib/libQtCore.so.4
#9  0xb55d73cc in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x09e55558 in ?? ()
#11 0x09eb7658 in ?? ()
#12 0x00000000 in ?? ()

Thread 4 (Thread 0xa58c7b90 (LWP 4226)):
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb5040f45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7ee478d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6812822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb55d4628 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x09e55570 in ?? ()
#6  0x09fc8a40 in ?? ()
#7  0xffffffff in ?? ()
#8  0xb680c1a7 in QMutex::unlock () from /usr/lib/libQtCore.so.4
#9  0xb55d73cc in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x09e55558 in ?? ()
#11 0x09db8d88 in ?? ()
#12 0x00000000 in ?? ()

Thread 3 (Thread 0xa50c6b90 (LWP 4227)):
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb5040f45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7ee478d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6812822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb55d4628 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x09e55570 in ?? ()
#6  0x09fc8a40 in ?? ()
#7  0xffffffff in ?? ()
#8  0xb680c1a7 in QMutex::unlock () from /usr/lib/libQtCore.so.4
#9  0xb55d73cc in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x09e55558 in ?? ()
#11 0x09bb9400 in ?? ()
#12 0x00000000 in ?? ()

Thread 2 (Thread 0xa48c3b90 (LWP 4228)):
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb5040f45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7ee478d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6812822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb55d4628 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x09e55570 in ?? ()
#6  0x09fc8a40 in ?? ()
#7  0xffffffff in ?? ()
#8  0xb680c1a7 in QMutex::unlock () from /usr/lib/libQtCore.so.4
#9  0xb55d73cc in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x09e55558 in ?? ()
#11 0x09d34770 in ?? ()
#12 0x00000000 in ?? ()

Thread 1 (Thread 0xb4c6d720 (LWP 4284)):
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb7e92866 in nanosleep () from /lib/i686/cmov/libc.so.6
#2  0xb7e9267e in sleep () from /lib/i686/cmov/libc.so.6
#3  0xb78c80f8 in ?? () from /usr/lib/libkdeui.so.5
#4  0x00000000 in ?? ()

-------------------------------------

Reproducible: Always
Steps to reproduce: Right click on desktop -> Appearance Settings -> (try to change wallpaper by hitting the browse button)
Comment 1 Dario Andres 2009-08-02 17:48:09 UTC
Can you install the "kdelibs5-dbg", "kdebase-workspace-dbg" and "libqt4-dbg" packages and try to reproduce the crash to get a complete backtrace?
Thanks
Comment 2 Aaron J. Seigo 2009-08-02 19:19:30 UTC
#14 0xb65aae51 in KIO::NetAccess::synchronousRun () from /usr/lib/libkio.so.5
#15 0xa92cdc0f in ?? () from /usr/lib/kde4/plasma_applet_cwp.so

so the "customizable weather plasmoid" is the only thread that's actually running in this crash, and it's calling KIO methods from a separate thread. if you remove the CWP widget, does this crash go away?
Comment 3 Mark 2009-08-02 19:59:32 UTC
i dont have the plasmoid and there's no crash. 
# kde 4.3
Comment 4 Mark 2009-08-02 20:06:06 UTC
not even w/ the plasmoid added
Comment 5 Sourish Basu 2009-08-03 07:17:43 UTC
I removed the customizable weather plasmoid, but I still get the mouse freeze. This time I did not get a KDE crash handler message, so I couldn't give you a backtrace. I had to do a "kquitapp plasma" to unfreeze.

Will install the dbg packages and post the output.
Comment 6 Sourish Basu 2009-08-13 08:15:12 UTC
With the kde debug packages installed, the crash handler says:

Application: Plasma Workspace (plasma), signal SIGSEGV
[Current thread is 0 (LWP 4369)]

Thread 3 (Thread 0xa6afeb90 (LWP 4397)):
#0  0xb7f4a424 in __kernel_vsyscall ()
#1  0xb4ff9f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7e5585d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb67c0502 in QWaitCondition::wait (this=0x8fbd140, mutex=0x8fbd13c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xa92e8a5a in RenderThread::run (this=0x8fbd134) at ../../../../plasma/wallpapers/image/renderthread.cpp:91
#5  0xb67bf522 in QThreadPrivate::start (arg=0x8fbd134) at thread/qthread_unix.cpp:188
#6  0xb4ff64b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb7e46a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xa62fdb90 (LWP 4821)):
#0  0xb7f4a424 in __kernel_vsyscall ()
#1  0xb7e3efe1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb688ec20 in QProcessManager::run (this=0x8c052d8) at io/qprocess_unix.cpp:296
#3  0xb67bf522 in QThreadPrivate::start (arg=0x8c052d8) at thread/qthread_unix.cpp:188
#4  0xb4ff64b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb7e46a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4c1b720 (LWP 4369)):
[KCrash Handler]
#6  0xb69e6016 in QDBusAdaptorConnector::relaySlot (this=0xa7304f90, argv=0xbf96797c) at qdbusabstractadaptor.cpp:268
#7  0xb69e69a8 in QDBusAdaptorConnector::qt_metacall (this=0xa7304f90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf96797c) at qdbusabstractadaptor.cpp:364
#8  0xb68c5ad3 in QMetaObject::activate (sender=0xa7300a28, from_signal_index=0, to_signal_index=1, argv=0xbf96797c) at kernel/qobject.cpp:3112
#9  0xb68c5f00 in QMetaObject::activate (sender=0xa7300a28, m=0xb699d628, from_local_signal_index=0, to_local_signal_index=1, argv=0xbf96797c) at kernel/qobject.cpp:3206
#10 0xb68c5f8b in QObject::destroyed (this=0xa7300a28, _t1=0xa7300a28) at .moc/release-shared/moc_qobject.cpp:143
#11 0xb68c6d99 in ~QObject (this=0xa7300a28) at kernel/qobject.cpp:757
#12 0xb6569b7d in ~Scheduler (this=0xa7300a28) at ../../kio/kio/scheduler.cpp:246
#13 0xb656d2f4 in destroy () at ../../kio/kio/scheduler.cpp:102
#14 0xb64ab80b in ~KCleanUpGlobalStatic (this=0xb6676054) at ../../kdecore/kernel/kglobal.h:62
#15 0xb7d95589 in exit () from /lib/i686/cmov/libc.so.6
#16 0xb7d7b7ad in __libc_start_main () from /lib/i686/cmov/libc.so.6
#17 0x080484d1 in _start () at ../sysdeps/i386/elf/start.S:119
Comment 7 Dario Andres 2009-08-19 21:47:18 UTC
Mh, the last crash seems more like bug 189592. Thanks
Comment 8 Dario Andres 2010-03-22 00:46:11 UTC
The crash was caused by the CWP widget (using KIO on a secondary thread) Update it to the latest version or remove it.
Regards

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