Bug 211659

Summary: (steps) Plasma TabBar widget crashes when destorying tabs [QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data, qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >, QGraphicsScene::d_func]
Product: [Unmaintained] plasma4 Reporter: Shawn Starr <shawn.starr>
Component: widget-weatherAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, asraniel, notmart, shawn.starr
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Shawn Starr 2009-10-24 16:45:54 UTC
Application: plasma-desktop (0.3)
KDE Version: 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091015)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.32-rc4-custom x86_64
Distribution: Ubuntu karmic (development branch)

What I was doing when the application crashed:
When using weather plasmoid, changing data information such as pressure unit causes plasma-desktop to crash.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7ffff7fa6810 (LWP 1989))]

Thread 2 (Thread 0x7fffd8ccd910 (LWP 1990)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffff1c1966d in QWaitConditionPrivate::wait (this=0xaf1840, time=18446744073709551615) at /root/qt/src/corelib/thread/qwaitcondition_unix.cpp:87
#2  0x00007ffff1c19415 in QWaitCondition::wait (this=0xb3cb40, mutex=0xb3cb38, time=18446744073709551615) at /root/qt/src/corelib/thread/qwaitcondition_unix.cpp:159
#3  0x00007ffff5a6b1e6 in QHostInfoAgent::run (this=0xb3cb20) at /root/qt/src/network/kernel/qhostinfo.cpp:252
#4  0x00007ffff1c18025 in QThreadPrivate::start (arg=0xb3cb20) at /root/qt/src/corelib/thread/qthread_unix.cpp:244
#5  0x00007ffff1967a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ffff0f267bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fa6810 (LWP 1989)):
[KCrash Handler]
#5  0x00007ffff256cbb0 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8) at ../../include/QtCore/../../../qt/src/corelib/tools/qscopedpointer.h:145
#6  0x00007ffff2d523e4 in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (p=...) at ../../include/QtCore/../../../qt/src/corelib/global/qglobal.h:2290
#7  0x00007ffff2d5257a in QGraphicsScene::d_func (this=0x0) at /root/qt/src/gui/graphicsview/qgraphicsscene.h:297
#8  0x00007ffff2d45178 in QGraphicsScene::focusItem (this=0x0) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:2818
#9  0x00007ffff2d08f2a in QGraphicsItemPrivate::setVisibleHelper (this=0x11298c0, newVisible=true, explicitly=false, update=true) at /root/qt/src/gui/graphicsview/qgraphicsitem.cpp:2161
#10 0x00007ffff2d0414e in QGraphicsItemPrivate::setParentItemHelper (this=0x11298c0, newParent=0x0) at /root/qt/src/gui/graphicsview/qgraphicsitem.cpp:1102
#11 0x00007ffff2d3cbf1 in QGraphicsScenePrivate::removeItemHelper (this=0x7748a0, item=0x1127570) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:526
#12 0x00007ffff2d450de in QGraphicsScene::removeItem (this=0x7725d0, item=0x1127570) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:2799
#13 0x00007ffff69eb553 in Plasma::TabBar::takeTab (this=0xacba60, index=0) at /root/kdelibs/plasma/widgets/tabbar.cpp:463
#14 0x00007fffd9dcdbbd in WeatherApplet::weatherContent (this=0xa92220, data=...) at /root/kdeplasma-addons/applets/weather/weatherapplet.cpp:392
#15 0x00007fffd9dd20a5 in WeatherApplet::dataUpdated (this=0xa92220, source=..., data=...) at /root/kdeplasma-addons/applets/weather/weatherapplet.cpp:734
#16 0x00007fffd9dd22b5 in WeatherApplet::qt_metacall (this=0xa92220, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffd420) at /root/kdeplasma-addons-dev/applets/weather/weatherapplet.moc:80
#17 0x00007ffff1d49847 in QMetaObject::metacall (object=0xa92220, cl=QMetaObject::InvokeMetaMethod, idx=68, argv=0x7fffffffd420) at /root/qt/src/corelib/kernel/qmetaobject.cpp:237
#18 0x00007ffff1d5fbef in QMetaObject::activate (sender=0xd12b10, m=0x7ffff6d30e20, local_signal_index=0, argv=0x7fffffffd420) at /root/qt/src/corelib/kernel/qobject.cpp:3390
#19 0x00007ffff694e333 in Plasma::SignalRelay::dataUpdated (this=0xd12b10, _t1=..., _t2=...) at /root/kdelibs-dev/plasma/datacontainer_p.moc:85
#20 0x00007ffff694e00e in Plasma::SignalRelay::checkQueueing (this=0xd12b10) at /root/kdelibs/plasma/private/datacontainer_p.cpp:115
#21 0x00007ffff690b122 in Plasma::DataContainer::checkForUpdate (this=0xe1b350) at /root/kdelibs/plasma/datacontainer.cpp:170
#22 0x00007ffff690e15b in Plasma::DataEngine::timerEvent (this=0xcb71f0, event=0x7fffffffdc30) at /root/kdelibs/plasma/dataengine.cpp:388
#23 0x00007ffff1d5b3bf in QObject::event (this=0xcb71f0, e=0x7fffffffdc30) at /root/qt/src/corelib/kernel/qobject.cpp:1202
#24 0x00007ffff257c342 in QApplicationPrivate::notify_helper (this=0x6424d0, receiver=0xcb71f0, e=0x7fffffffdc30) at /root/qt/src/gui/kernel/qapplication.cpp:4172
#25 0x00007ffff257a196 in QApplication::notify (this=0x62d860, receiver=0xcb71f0, e=0x7fffffffdc30) at /root/qt/src/gui/kernel/qapplication.cpp:3656
#26 0x00007ffff52bea17 in KApplication::notify (this=0x62d860, receiver=0xcb71f0, event=0x7fffffffdc30) at /root/kdelibs/kdeui/kernel/kapplication.cpp:302
#27 0x00007ffff1d41708 in QCoreApplication::notifyInternal (this=0x62d860, receiver=0xcb71f0, event=0x7fffffffdc30) at /root/qt/src/corelib/kernel/qcoreapplication.cpp:704
#28 0x00007ffff256bf11 in QCoreApplication::sendEvent (receiver=0xcb71f0, event=0x7fffffffdc30) at ../../include/QtCore/../../../qt/src/corelib/kernel/qcoreapplication.h:215
#29 0x00007ffff1d81b7d in QTimerInfoList::activateTimers (this=0x645c00) at /root/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:603
#30 0x00007ffff1d7cef3 in timerSourceDispatch (source=0x645ba0) at /root/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:184
#31 0x00007ffff1d7cfda in idleTimerSourceDispatch (source=0x645c60) at /root/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:231
#32 0x00007fffeb5c6bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007fffeb5ca588 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007fffeb5ca6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007ffff1d7e36f in QEventDispatcherGlib::processEvents (this=0x615380, flags=...) at /root/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#36 0x00007ffff264d636 in QGuiEventDispatcherGlib::processEvents (this=0x615380, flags=...) at /root/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#37 0x00007ffff1d3e784 in QEventLoop::processEvents (this=0x7fffffffe000, flags=...) at /root/qt/src/corelib/kernel/qeventloop.cpp:149
#38 0x00007ffff1d3e8da in QEventLoop::exec (this=0x7fffffffe000, flags=...) at /root/qt/src/corelib/kernel/qeventloop.cpp:201
#39 0x00007ffff1d41e0a in QCoreApplication::exec () at /root/qt/src/corelib/kernel/qcoreapplication.cpp:981
#40 0x00007ffff2579df2 in QApplication::exec () at /root/qt/src/gui/kernel/qapplication.cpp:3577
#41 0x00007ffff7b966bd in kdemain (argc=1, argv=0x7fffffffe3c8) at /root/kdebase/workspace/plasma/desktop/shell/main.cpp:112
#42 0x0000000000400996 in main (argc=1, argv=0x7fffffffe3c8) at /root/kdebase-dev/workspace/plasma/desktop/shell/plasma-desktop_dummy.cpp:3
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-24 18:23:53 UTC
I can reproduce the crash here using:

Qt: 4.6.0 (Qt git branch 4.6 commit 52aef13521af2137db15ee878893f5c5150471e5
        Date:   Mon Oct 12 14:18:51 2009 +1000)
KDE: 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091015))
kdelibs svn rev. 1038788 / kdebase svn rev. 1038788
on ArchLinux i686 - Kernel 2.6.30.6
Comment 2 Beat Wolf 2009-11-30 14:17:21 UTC

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