Bug 332392 - bbcukmet weather ion (with fix for bug #330773) crashes plasma-desktop
Summary: bbcukmet weather ion (with fix for bug #330773) crashes plasma-desktop
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-weather (show other bugs)
Version: 4.11.7
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-21 07:53 UTC by marcela maslanova
Modified: 2014-03-25 00:34 UTC (History)
2 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 marcela maslanova 2014-03-21 07:53:52 UTC
Application: plasma-desktop (4.11.7)
KDE Platform Version: 4.12.3
Qt Version: 4.8.5
Operating System: Linux 3.13.6-200.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I logged in, but no panel/taskbar (simply the thing on the bottom) appeared. I've started it manually by running plasma-desktop as a user, but it crashed after few seconds.
- Unusual behavior I noticed:
Crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd8506488c0 (LWP 4944))]

Thread 3 (Thread 0x7fd81c4a8700 (LWP 4945)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd84fcb609b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd84ffb4f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd84fcb60d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd84a0abf33 in start_thread (arg=0x7fd81c4a8700) at pthread_create.c:309
#4  0x00007fd8488d7ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fd7957d4700 (LWP 4946)):
#0  0x00007fd8488cd9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd8401185b4 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#2  0x00007fd8401186dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fd84a473ec6 in QEventDispatcherGlib::processEvents (this=0x7fd7900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007fd84a443edf in QEventLoop::processEvents (this=this@entry=0x7fd7957d3cc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd84a44422d in QEventLoop::exec (this=this@entry=0x7fd7957d3cc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd84a33abaf in QThread::exec (this=this@entry=0x1415f30) at thread/qthread.cpp:536
#7  0x00007fd84a424863 in QInotifyFileSystemWatcherEngine::run (this=0x1415f30) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fd84a33d3af in QThreadPrivate::start (arg=0x1415f30) at thread/qthread_unix.cpp:338
#9  0x00007fd84a0abf33 in start_thread (arg=0x7fd7957d4700) at pthread_create.c:309
#10 0x00007fd8488d7ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fd8506488c0 (LWP 4944)):
[KCrash Handler]
#5  0x00007fd84a3853a7 in QString::trimmed (this=0x1e19320) at tools/qstring.cpp:4216
#6  0x00007fd794bbb33b in UKMETIon::parseWeatherObservation(QString const&, WeatherData&, QXmlStreamReader&) () from /usr/lib64/kde4/ion_bbcukmet.so
#7  0x00007fd794bbc003 in UKMETIon::parseWeatherChannel(QString const&, WeatherData&, QXmlStreamReader&) () from /usr/lib64/kde4/ion_bbcukmet.so
#8  0x00007fd794bbc16b in UKMETIon::parsePlaceObservation(QString const&, WeatherData&, QXmlStreamReader&) () from /usr/lib64/kde4/ion_bbcukmet.so
#9  0x00007fd794bbe829 in UKMETIon::readObservationXMLData(QString const&, QXmlStreamReader&) () from /usr/lib64/kde4/ion_bbcukmet.so
#10 0x00007fd794bbebc6 in UKMETIon::observation_slotJobFinished(KJob*) () from /usr/lib64/kde4/ion_bbcukmet.so
#11 0x00007fd84a459cf8 in QMetaObject::activate (sender=0x1614680, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff682ad0d0) at kernel/qobject.cpp:3547
#12 0x00007fd84ab64ad2 in KJob::result(KJob*) () from /lib64/libkdecore.so.5
#13 0x00007fd84ab64b20 in KJob::emitResult() () from /lib64/libkdecore.so.5
#14 0x00007fd84c67dc0a in KIO::SimpleJob::slotFinished() () from /lib64/libkio.so.5
#15 0x00007fd84c67efe1 in KIO::TransferJob::slotFinished() () from /lib64/libkio.so.5
#16 0x00007fd84a459cf8 in QMetaObject::activate (sender=0xb8b820, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#17 0x00007fd84c7254d6 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libkio.so.5
#18 0x00007fd84c72280e in KIO::SlaveInterface::dispatch() () from /lib64/libkio.so.5
#19 0x00007fd84c71658e in KIO::Slave::gotInput() () from /lib64/libkio.so.5
#20 0x00007fd84a459cf8 in QMetaObject::activate (sender=0x2581920, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#21 0x00007fd84c6493e1 in KIO::ConnectionPrivate::dequeue() [clone .part.13] () from /lib64/libkio.so.5
#22 0x00007fd84a45e27e in QObject::event (this=0x2581920, e=<optimized out>) at kernel/qobject.cpp:1194
#23 0x00007fd849590d8c in QApplicationPrivate::notify_helper (this=this@entry=0x9138e0, receiver=receiver@entry=0x2581920, e=e@entry=0xc01540) at kernel/qapplication.cpp:4562
#24 0x00007fd849597725 in QApplication::notify (this=0x908500, receiver=0x2581920, e=0xc01540) at kernel/qapplication.cpp:4348
#25 0x00007fd84b3b2b0a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#26 0x00007fd84a44539d in QCoreApplication::notifyInternal (this=0x908500, receiver=receiver@entry=0x2581920, event=event@entry=0xc01540) at kernel/qcoreapplication.cpp:949
#27 0x00007fd84a448485 in sendEvent (event=0xc01540, receiver=0x2581920) at kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8638e0) at kernel/qcoreapplication.cpp:1573
#29 0x00007fd84a448923 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#30 0x00007fd84a474623 in sendPostedEvents () at kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x92b9a0) at kernel/qeventdispatcher_glib.cpp:280
#32 0x00007fd8401182a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00007fd840118628 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#34 0x00007fd8401186dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00007fd84a473ea5 in QEventDispatcherGlib::processEvents (this=0x865240, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#36 0x00007fd849632ca6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#37 0x00007fd84a443edf in QEventLoop::processEvents (this=this@entry=0x7fff682ade00, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fd84a44422d in QEventLoop::exec (this=this@entry=0x7fff682ade00, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007fd84a449749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#40 0x00007fd85025a9cc in kdemain () from /lib64/libkdeinit4_plasma-desktop.so
#41 0x00007fd848804d65 in __libc_start_main (main=0x400940 <main>, argc=1, argv=0x7fff682ae078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff682ae068) at libc-start.c:285
#42 0x0000000000400971 in _start ()

Reported using DrKonqi
Comment 1 marcela maslanova 2014-03-21 09:08:03 UTC
I solved it by 'rm -rf .kde/share/config/plasma*' I didn't have any other plugins than the latest  NetworkManager (in Qt).
Comment 2 Christoph Feck 2014-03-21 10:36:06 UTC
Probably caused by the patched BBC UK MET weather engine, see bug 330773.
Comment 4 Kevin Kofler 2014-03-24 01:55:31 UTC
Looks like the problem was not that the current conditions are not available at all, but that the observation time was missing or not in the expected format. Unfortunately, I cannot reproduce the crash right now.
Comment 5 marcela maslanova 2014-03-24 14:55:10 UTC
(In reply to comment #4)
> Looks like the problem was not that the current conditions are not available
> at all, but that the observation time was missing or not in the expected
> format. Unfortunately, I cannot reproduce the crash right now.

Thanks! I didn't see the weather applet in the backtrace at all. My fault :(

I can try to reproduce it again. The weather applet never really worked well.
Comment 6 marcela maslanova 2014-03-24 14:58:50 UTC
I've added the weather applet again and can't reproduce it. But the plugin behaves very odd. Setting didn't work, it didn't update the data...
Comment 7 Kevin Kofler 2014-03-25 00:34:24 UTC
Fix here: https://bugs.kde.org/show_bug.cgi?id=330773#c19

Closing the bug now because the crash only showed up with patches from bugs.kde.org to begin with.

For Fedora, this should be fixed in kde-workspace-4.11.7-5.fc{19,20,21} now headed for updates-testing (which is where the faulty -4.fc{19,20} build was to begin with) resp. Rawhide (replacing -4.fc21).