Bug 210158 - Crash of Weather applet when trying to set a new location [QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data, qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >, QGraphicsScene::d_func]
Summary: Crash of Weather applet when trying to set a new location [QScopedPointer<QO...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-weather (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 211659 214995 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-11 08:57 UTC by Anne-Marie Mahfouf
Modified: 2009-11-30 16:38 UTC (History)
5 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 Anne-Marie Mahfouf 2009-10-11 08:57:25 UTC
Application: plasma-desktop (0.3)
KDE Version: 4.3.71 (KDE 4.3.71 (KDE 4.4 >= 20091007)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.27-desktop-0.rc8.2mnb i686
Distribution: "Mandriva Linux 2009.0"

What I was doing when the application crashed:
I tried to set the weather applet Rio de Janeiro via BBC (currently I have Toulouse via BBC) and got this crash on clicking the Ok button in the configuration dialog.
I cannot tell if it is related to the ion or not.

Using Qt 4.6 and trunk, kdeplasma-addons revision 1033041

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5be66d0 (LWP 5055))]

Thread 3 (Thread 0xa89e5b90 (LWP 5056)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7d4bc45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb7de9198 in QWaitConditionPrivate::wait (this=0x995cd68, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb7de8c97 in QWaitCondition::wait (this=0x9973b10, mutex=0x9973b0c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb76a7ec5 in QHostInfoAgent::run (this=0x9973b00) at kernel/qhostinfo.cpp:252
#5  0xb7de86f6 in QThreadPrivate::start (arg=0x9973b00) at thread/qthread_unix.cpp:244
#6  0xb7d48315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb634125e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xa7670b90 (LWP 6089)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7d4bf72 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb7de917e in QWaitConditionPrivate::wait (this=0x9c04ee0, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  0xb7de8c97 in QWaitCondition::wait (this=0x994a03c, mutex=0x994a038, time=30000) at thread/qwaitcondition_unix.cpp:159
#4  0xb7dd9466 in QThreadPoolThread::run (this=0x9908410) at concurrent/qthreadpool.cpp:140
#5  0xb7de86f6 in QThreadPrivate::start (arg=0x9908410) at thread/qthread_unix.cpp:244
#6  0xb7d48315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb634125e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb5be66d0 (LWP 5055)):
[KCrash Handler]
#6  0xb663e974 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x4) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:145
#7  0xb6de6cd2 in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (p=@0x4) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2290
#8  0xb6dfd1f8 in QGraphicsScene::d_func (this=0x0) at graphicsview/qgraphicsscene.h:297
#9  0xb6de6e1b in QGraphicsScene::focusItem (this=0x0) at graphicsview/qgraphicsscene.cpp:2768
#10 0xb6dc8305 in QGraphicsItemPrivate::setVisibleHelper (this=0x9ac3168, newVisible=true, explicitly=false, update=true) at graphicsview/qgraphicsitem.cpp:2002
#11 0xb6dc94c6 in QGraphicsItemPrivate::setParentItemHelper (this=0x9ac3168, newParent=0x0) at graphicsview/qgraphicsitem.cpp:1043
#12 0xb6df9e95 in QGraphicsScenePrivate::removeItemHelper (this=0x95ce340, item=0x9ac1b98) at graphicsview/qgraphicsscene.cpp:524
#13 0xb6df9a4a in QGraphicsScene::removeItem (this=0x95ce068, item=0x9ac1b98) at graphicsview/qgraphicsscene.cpp:2749
#14 0xb5aac718 in Plasma::TabBar::removeTab (this=0x96f5b30, index=0) at /usr/local/trunk-src/kdelibs/plasma/widgets/tabbar.cpp:422
#15 0xa8acaca8 in WeatherApplet::weatherContent (this=0x96aef78, data=@0xa074ac0) at /usr/local/trunk-src/kdeplasma-addons/applets/weather/weatherapplet.cpp:392
#16 0xa8acf041 in WeatherApplet::dataUpdated (this=0x96aef78, source=@0xbff768ec, data=@0xa074ac0) at /usr/local/trunk-src/kdeplasma-addons/applets/weather/weatherapplet.cpp:727
#17 0xa8ad016b in WeatherApplet::qt_metacall (this=0x96aef78, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff768b8) at /home/annma/build/kdeplasma-addons/applets/weather/weatherapplet.moc:80
#18 0xb7f16ed1 in QMetaObject::metacall (object=0x96aef78, cl=QMetaObject::InvokeMetaMethod, idx=68, argv=0xbff768b8) at kernel/qmetaobject.cpp:237
#19 0xb7f2b740 in QMetaObject::activate (sender=0xa022a10, m=0xb5b9ee44, local_signal_index=0, argv=0xbff768b8) at kernel/qobject.cpp:3398
#20 0xb5a1ab21 in Plasma::SignalRelay::dataUpdated (this=0xa022a10, _t1=@0xbff768ec, _t2=@0xa074ac0) at /home/annma/build/kdelibs/plasma/datacontainer_p.moc:85
#21 0xb5a1ad16 in Plasma::SignalRelay::checkQueueing (this=0xa022a10) at /usr/local/trunk-src/kdelibs/plasma/private/datacontainer_p.cpp:115
#22 0xb59e75a6 in Plasma::DataContainer::checkForUpdate (this=0x95ffe48) at /usr/local/trunk-src/kdelibs/plasma/datacontainer.cpp:170
#23 0xb59eb075 in Plasma::DataEngine::timerEvent (this=0x9a6e5c8, event=0xbff76efc) at /usr/local/trunk-src/kdelibs/plasma/dataengine.cpp:388
#24 0xb7f262ea in QObject::event (this=0x9a6e5c8, e=0xbff76efc) at kernel/qobject.cpp:1210
#25 0xb66431ce in QApplicationPrivate::notify_helper (this=0x952d8f8, receiver=0x9a6e5c8, e=0xbff76efc) at kernel/qapplication.cpp:4198
#26 0xb6643585 in QApplication::notify (this=0x951d4e8, receiver=0x9a6e5c8, e=0xbff76efc) at kernel/qapplication.cpp:3682
#27 0xb73cb3f9 in KApplication::notify (this=0x951d4e8, receiver=0x9a6e5c8, event=0xbff76efc) at /usr/local/trunk-src/kdelibs/kdeui/kernel/kapplication.cpp:302
#28 0xb7f0f610 in QCoreApplication::notifyInternal (this=0x951d4e8, receiver=0x9a6e5c8, event=0xbff76efc) at kernel/qcoreapplication.cpp:704
#29 0xb7f146b7 in QCoreApplication::sendEvent (receiver=0x9a6e5c8, event=0xbff76efc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 0xb7f4d150 in QTimerInfoList::activateTimers (this=0x95303ac) at kernel/qeventdispatcher_unix.cpp:603
#31 0xb7f4aa12 in timerSourceDispatch (source=0x9530378) at kernel/qeventdispatcher_glib.cpp:184
#32 0xb7f4aa47 in idleTimerSourceDispatch (source=0x95303e8) at kernel/qeventdispatcher_glib.cpp:231
#33 0xb61b37ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb61b6ee8 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb61b70a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb7f498e6 in QEventDispatcherGlib::processEvents (this=0x952d4e0, flags={i = -1074302760}) at kernel/qeventdispatcher_glib.cpp:407
#37 0xb671c5e6 in QGuiEventDispatcherGlib::processEvents (this=0x952d4e0, flags={i = -1074302712}) at kernel/qguieventdispatcher_glib.cpp:202
#38 0xb7f0ba0e in QEventLoop::processEvents (this=0xbff771a8, flags={i = -1074302636}) at kernel/qeventloop.cpp:149
#39 0xb7f0bc80 in QEventLoop::exec (this=0xbff771a8, flags={i = -1074302544}) at kernel/qeventloop.cpp:201
#40 0xb7f0ff65 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0xb6642c12 in QApplication::exec () at kernel/qapplication.cpp:3603
#42 0xb43df803 in kdemain (argc=1, argv=0x94f0ea0) at /usr/local/trunk-src/kdebase/workspace/plasma/desktop/shell/main.cpp:112
#43 0x0804e600 in launch (argc=1, _name=0x952343c "/usr/local/trunk/bin/plasma-desktop", args=0x9523460 "", cwd=0x0, envc=0, envs=0x9523464 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80522c2 "0") at /usr/local/trunk-src/kdelibs/kinit/kinit.cpp:705
#44 0x0804ed6f in handle_launcher_request (sock=7, who=0x8052578 "launcher") at /usr/local/trunk-src/kdelibs/kinit/kinit.cpp:1197
#45 0x0804f698 in handle_requests (waitForPid=0) at /usr/local/trunk-src/kdelibs/kinit/kinit.cpp:1390
#46 0x080500ce in main (argc=4, argv=0xbff77914, envp=0xbff77928) at /usr/local/trunk-src/kdelibs/kinit/kinit.cpp:1825

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2009-10-15 03:57:45 UTC
#9  0xb6de6e1b in QGraphicsScene::focusItem (this=0x0) at
graphicsview/qgraphicsscene.cpp:2768
#10 0xb6dc8305 in QGraphicsItemPrivate::setVisibleHelper (this=0x9ac3168,
newVisible=true, explicitly=false, update=true) at
graphicsview/qgraphicsitem.cpp:2002

upstream qt bug. please report it to Qt.
Comment 2 Jonathan Thomas 2009-11-17 20:35:47 UTC
*** Bug 214995 has been marked as a duplicate of this bug. ***
Comment 3 Beat Wolf 2009-11-30 14:17:07 UTC
*** Bug 213495 has been marked as a duplicate of this bug. ***
Comment 4 Beat Wolf 2009-11-30 14:17:21 UTC
*** Bug 211659 has been marked as a duplicate of this bug. ***
Comment 5 Beat Wolf 2009-11-30 14:17:43 UTC
*** Bug 216801 has been marked as a duplicate of this bug. ***
Comment 6 Alexis MENARD 2009-11-30 16:33:07 UTC
I will look into it...It's nothing related to other crashes that has been reported...If only the weather applet wouldn't crash in the geolocalisation engine...
Comment 7 Alexis MENARD 2009-11-30 16:38:49 UTC
No way to reproduce the weather applet crash with the 4.6 branch.