Bug 180757 - Weather applet crashes plasma
Summary: Weather applet crashes plasma
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 182328 182383 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-15 02:14 UTC by Scott Ortell
Modified: 2009-01-30 08:12 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Ortell 2009-01-15 02:14:57 UTC
Version:           kde4 RC1 (using Devel)
OS:                Linux
Installed from:    Compiled sources

Plasma crashes when I try to set my hometown into the Weather applet in KDE4 RC1.
Using kubuntu packages.
This is the first time Ive used the weather applet before so I'm not sure how long its been around.

Steps to reproduce:
-Add weather applet
-Click configure to go into the configuration dialog
-Select data source NOAA
-Choose Milwaukee
-Choose General Mitchell International Airport

One information loads, the screen goes black then white then plasma reloads my desktop without the weather configurations saved.
Comment 1 Scott Ortell 2009-01-15 02:23:37 UTC
I have just tried other cities using the other weather services and am still experiencing the crash.
I should add, since it just occurred to me, that after the upgrade to RC1 I deleted my .kde to generate clean configs.
After logging in I noticed that the plasma applets where not being found.
I reinstalled plasma and the applets came back. 
[Related side note: shouldnt the default applets be stored outside of the users kde folder?]
Im thinking that if I am the only one experiencing this that it might be related although the other applets Ive tried seem to be working fine.
Comment 2 Aaron J. Seigo 2009-01-15 10:44:11 UTC
please visit this page:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

and collect a full backtrace so we can see where the crash is happening. thanks.
Comment 3 George Moody 2009-01-16 21:03:04 UTC
I have the same problem but have found a work around. When you search for the city, make sure that you double click on the name in the search list before closing the configure window, then it does not crash. 

There is no crash window  and .xsession-errors is empty, so I have no idea how to provide debug info for the plasmoid. The screen just blanks out after closing the configure screen, then the desktop comes back with the plasmoid and its configure button in its centre.

The weather source was the BBC and search was for "Milton Keynes". Packages are Kubuntu KDE4.2 rc1
Comment 4 Anne-Marie Mahfouf 2009-01-17 09:45:51 UTC
I suspect Scott's crash is due to the Qt crash.
Scott please can you retry by NOT using the Configure button but using the Settings icon in the applet handle. Does it still crash? If so please provide a full backtrace as Aaron pointed in Comment #2.

Georges can you also try it. If your crash persists you should also get us a backtrace because without it it's difficult to say anything. Try installing the debug packages for your distribution.

Thanks in advance for following it up.
Comment 5 George Moody 2009-01-17 11:28:42 UTC
Anne-Marie,

Yes if you ignore the configure box and use the settings icon then the applet does not crash when the settings dialog box is closed.

I also ran it from the plasmoidviewer and got the following output while using the configure button route. 

$ plasmoidviewer weatherstation
plasmoidviewer(26123) WeatherConfig::validate: *** DANGLING SOURCES BEFORE *** ("bbcukmet|validate|Milton keynes", "ions")
plasmoidviewer(26123) WeatherConfig::validate: *** DANGLING SOURCES BEFORE *** ("bbcukmet|validate|Milton keynes", "ions")
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect:  (sender name:   'bbcukmet|validate|Milton keynes')
Object::disconnect:  (receiver name: 'weatherConfig')
$




Comment 6 m.wege 2009-01-17 20:23:49 UTC
I have the same crash with my system. Unfortunately Kubuntu does not seem to provide dbg-packages for all of the KDE4.2RC1, so can not help a backtrace.
Comment 7 Scott Ortell 2009-01-17 22:13:06 UTC
Ok, I managed to get a backtrace but it claims to be of no use though it appears I do have some debugging symbols installed but I'm not sure how to tell since the kubuntu RC1 packages to not have a seperate -dbg package included.
Using plasmoidviewer weatherstation, I did not experience the crash.
Heres the backtrace I managed to get:

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

[Thread debugging using libthread_db enabled]
[New Thread 0xb4605900 (LWP 5770)]
[New Thread 0xa75a6b90 (LWP 12415)]
[New Thread 0xa85d5b90 (LWP 5776)]
[New Thread 0xa8e0fb90 (LWP 5775)]
0xb7f97430 in __kernel_vsyscall ()
[Current thread is 0 (LWP 5770)]

Thread 4 (Thread 0xa8e0fb90 (LWP 5775)):
#0  0xb7f97430 in __kernel_vsyscall ()
#1  0xb57bb075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb63cf9ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb65ba6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb793a532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb65b96ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb57b750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb63c17ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa85d5b90 (LWP 5776)):
#0  0xb7f97430 in __kernel_vsyscall ()
#1  0xb57bb075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb63cf9ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb65ba6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xa8f6e422 in RenderThread::run (this=0x8c34c34) at /build/buildd/kdebase-workspace-4.1.96/plasma/wallpapers/image/renderthread.cpp:91
#5  0xb65b96ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb57b750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb63c17ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa75a6b90 (LWP 12415)):
#0  0xb7f97430 in __kernel_vsyscall ()
#1  0xb57bb3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb63cfa44 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb65ba6cc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb65af886 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb65b96ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb57b750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb63c17ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4605900 (LWP 5770)):
#0  0xb7f97430 in __kernel_vsyscall ()
#1  0xb637cde6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb637cbfe in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb772ebd2 in ?? () from /usr/lib/libkdeui.so.5
#4  0xb772f5d4 in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#5  <signal handler called>
#6  0xb6ece2c7 in QGraphicsScene::focusItem () from /usr/lib/libQtGui.so.4
#7  0xb6eb30ec in QGraphicsItem::clearFocus () from /usr/lib/libQtGui.so.4
#8  0xb6efc184 in ?? () from /usr/lib/libQtGui.so.4
#9  0xb6efaf06 in QGraphicsWidget::itemChange () from /usr/lib/libQtGui.so.4
#10 0xb7dbb779 in Plasma::Applet::itemChange () from /usr/lib/libplasma.so.3
#11 0xb6ebd525 in QGraphicsItem::setParentItem () from /usr/lib/libQtGui.so.4
#12 0xb7e0400a in ?? () from /usr/lib/libplasma.so.3
#13 0xb7dc9cf1 in Plasma::Containment::sceneEventFilter () from /usr/lib/libplasma.so.3
#14 0xb6ed4457 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb6ed4513 in ?? () from /usr/lib/libQtGui.so.4
#16 0xb6ed5a2a in ?? () from /usr/lib/libQtGui.so.4
#17 0xb6edd1e3 in ?? () from /usr/lib/libQtGui.so.4
#18 0xb6edd5af in QGraphicsScene::mouseMoveEvent () from /usr/lib/libQtGui.so.4
#19 0xb6edd7c7 in QGraphicsScene::event () from /usr/lib/libQtGui.so.4
#20 0xb69398ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#21 0xb694172e in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb76ba04d in KApplication::notify () from /usr/lib/libkdeui.so.5
#23 0xb66a9e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#24 0xb6eead88 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb6ef3316 in QGraphicsView::mouseMoveEvent () from /usr/lib/libQtGui.so.4
#26 0xb69917cb in QWidget::event () from /usr/lib/libQtGui.so.4
#27 0xb6cc8fd3 in QFrame::event () from /usr/lib/libQtGui.so.4
#28 0xb6d5f7df in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#29 0xb6eecd0f in QGraphicsView::viewportEvent () from /usr/lib/libQtGui.so.4
#30 0xb6d61d85 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb66a904a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#32 0xb69398ca in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#33 0xb69420e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#34 0xb76ba04d in KApplication::notify () from /usr/lib/libkdeui.so.5
#35 0xb66a9e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#36 0xb694136e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#37 0xb69ab656 in ?? () from /usr/lib/libQtGui.so.4
#38 0xb69aa9e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#39 0xb69d47aa in ?? () from /usr/lib/libQtGui.so.4
#40 0xb55fc6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb55ffda3 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb55fff61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb66d4478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#44 0xb69d3ea5 in ?? () from /usr/lib/libQtGui.so.4
#45 0xb66a852a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#46 0xb66a86ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#47 0xb66aada5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#48 0xb6939767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#49 0xb7f28d86 in kdemain (argc=1, argv=0xbf996ce4) at /build/buildd/kdebase-workspace-4.1.96/plasma/shells/desktop/main.cpp:54
#50 0x08048712 in main (argc=-1486988984, argv=0x892c9c0) at /build/buildd/kdebase-workspace-4.1.96/obj-i486-linux-gnu/plasma/shells/desktop/plasma_qgv_dummy.cpp:3
#0  0xb7f97430 in __kernel_vsyscall ()


Hopefully thats useful.
Comment 8 m.wege 2009-01-18 09:25:01 UTC
I get the same. Unfortunately there is no debug-package for Kubuntu or I could not find it.
Comment 9 Anne-Marie Mahfouf 2009-01-18 17:54:17 UTC
Scott, m.wege: can you reproduce the crash when you use the small Settings icon on the applet handle instead of the Configure button?

Scott your backtrace points to the upstream Qt bug which is fixed in qt-copy with a patch and happens only when using the Configure button, not when using the Settings icon on the applet handle. If so, I'll close as UPSTREAM.
Comment 10 m.wege 2009-01-18 19:40:05 UTC
I have tried and can confirm the crash does not appear when using the small settings Icon is used. 
Comment 11 Anne-Marie Mahfouf 2009-01-18 20:36:23 UTC
Thanks to all.
This crash which happens when using the Configure button and not when using the Settings icon on the applet handle is fixed in qt-copy and is from a Qt bug.

Fixed in next Qt release.
Comment 12 Luiz Felipe Talvik 2009-01-28 04:30:44 UTC
I have the same problem here both in latest svn and 4.2.0 kubuntu packages.
It doesn't crash if I use the handle.
Comment 13 Anne-Marie Mahfouf 2009-01-29 18:40:18 UTC
*** Bug 182328 has been marked as a duplicate of this bug. ***
Comment 14 Anne-Marie Mahfouf 2009-01-30 08:12:06 UTC
*** Bug 182383 has been marked as a duplicate of this bug. ***