Bug 307597

Summary: desktop freezes
Product: [Unmaintained] plasma4 Reporter: texis
Component: widget-weatherAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: shawn.starr, tomas.chvatal
Priority: NOR    
Version: 4.8.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description texis 2012-09-30 05:35:46 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic x86_64
Distribution: Linux Mint 13 Maya

-- Information about the crash:
- What I was doing when the application crashed:
starting computer, Kwin error after starting application
Firefox, Thunderbird crashes on start
Have to start machine up to 5 or 6 times to get
it fairly running

Distribution Mint 13 KDE 4.8.4
on AMD Phenom X4,  nVidia 8 GB RAM

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f407308f7c0 (LWP 1993))]

Thread 5 (Thread 0x7f404b816700 (LWP 1994)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:59
#1  0x00007f4072960ae8 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f4066b13036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4066b13164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f406fb33426 in QEventDispatcherGlib::processEvents (this=0x7f40440008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f406fb02c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f406fb02ed7 in QEventLoop::exec (this=0x7f404b815cd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f406fa01fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f406fae29ff in QInotifyFileSystemWatcherEngine::run (this=0x16b5da0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f406fa04fcb in QThreadPrivate::start (arg=0x16b5da0) at thread/qthread_unix.cpp:298
#10 0x00007f4063e0cb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f4067417e9a in start_thread (arg=0x7f404b816700) at pthread_create.c:308
#12 0x00007f407296c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f404a348700 (LWP 1995)):
#0  0x00007f407297a104 in pthread_mutex_unlock (mutex=0x7f403c000a80) at forward.c:184
#1  0x00007f4066b4e5d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4066b1316e in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f406fb33426 in QEventDispatcherGlib::processEvents (this=0x7f403c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f406fb02c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f406fb02ed7 in QEventLoop::exec (this=0x7f404a347cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f406fa01fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f406fae29ff in QInotifyFileSystemWatcherEngine::run (this=0x1ff7270) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f406fa04fcb in QThreadPrivate::start (arg=0x1ff7270) at thread/qthread_unix.cpp:298
#9  0x00007f4063e0cb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f4067417e9a in start_thread (arg=0x7f404a348700) at pthread_create.c:308
#11 0x00007f407296c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4049862700 (LWP 1996)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f406c8e7222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f406c8e7259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f4063e0cb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f4067417e9a in start_thread (arg=0x7f4049862700) at pthread_create.c:308
#5  0x00007f407296c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4042e68700 (LWP 1998)):
#0  __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:368
#1  0x00007f406741b104 in _L_unlock_644 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f406741b063 in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#3  __pthread_mutex_unlock (mutex=0x7f4064067540) at pthread_mutex_unlock.c:290
#4  0x00007f4063e0498a in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5  0x00007f4063e0b12a in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f4061689b27 in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.295.40
#7  0x00007f4066b4d8cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f4066b12ba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f4066b12fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f4066b1349a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f4043952406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007f4066b349e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f4063e0cb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#14 0x00007f4067417e9a in start_thread (arg=0x7f4042e68700) at pthread_create.c:308
#15 0x00007f407296c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f407308f7c0 (LWP 1993)):
[KCrash Handler]
#6  0x00007f40728b0445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f40728b3bab in __GI_abort () at abort.c:91
#8  0x00007f40728ede2e in __libc_message (do_abort=2, fmt=0x7f40729f60d0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f40728f8626 in malloc_printerr (action=3, str=0x7f40729f61c0 "munmap_chunk(): invalid pointer", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f4061689c01 in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.295.40
#11 0x00007f406ef433f5 in QImageData::~QImageData (this=0x261d530, __in_chrg=<optimized out>) at image/qimage.cpp:226
#12 0x00007f406ef43483 in QImage::~QImage (this=0x1f80080, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#13 0x00007f406ef6ca8f in QRasterPixmapData::~QRasterPixmapData (this=0x1f80050, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:93
#14 0x00007f406ef6cac9 in QRasterPixmapData::~QRasterPixmapData (this=0x1f80050, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:95
#15 0x00007f406ef5d809 in ~QExplicitlySharedDataPointer (this=0x7fffe54d7760, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:166
#16 ~QExplicitlySharedDataPointer (this=0x7fffe54d7760, __in_chrg=<optimized out>) at image/qpixmap.cpp:347
#17 QPixmap::~QPixmap (this=<optimized out>, __in_chrg=<optimized out>) at image/qpixmap.cpp:347
#18 0x00007f407078ccae in ?? () from /usr/lib/libkdeui.so.5
#19 0x00007f406ef31835 in QIcon::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:684
#20 0x00007f40526e73ce in ?? () from /usr/lib/kde4/plasma_applet_weather.so
#21 0x00007f406f48c97d in _q_paintItem (item=<optimized out>, painter=0x7fffe54d98f0, option=0x1719508, widget=0x2a55d40, useWindowOpacity=<optimized out>, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4335
#22 0x00007f406f4a3ee4 in QGraphicsScenePrivate::drawItemHelper (this=0x17192e0, item=0x2971e60, painter=0x7fffe54d98f0, option=0x1719508, widget=0x2a55d40, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4431
#23 0x00007f406f4a634b in QGraphicsScenePrivate::draw (this=0x17192e0, item=0x2971e60, painter=0x7fffe54d98f0, viewTransform=0x0, transformPtr=0x28fdbe0, exposedRegion=0x2a532c8, widget=0x2a55d40, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4966
#24 0x00007f406f4a73d5 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x17192e0, item=0x2971e60, painter=0x7fffe54d98f0, viewTransform=0x0, exposedRegion=0x2a532c8, widget=0x2a55d40, parentOpacity=<optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#25 0x00007f406f4a6420 in QGraphicsScenePrivate::draw (this=0x17192e0, item=0x1bf3940, painter=0x7fffe54d98f0, viewTransform=0x0, transformPtr=0x1bf4180, exposedRegion=0x2a532c8, widget=0x2a55d40, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4996
#26 0x00007f406f4a73d5 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x17192e0, item=0x1bf3940, painter=0x7fffe54d98f0, viewTransform=0x0, exposedRegion=0x2a532c8, widget=0x2a55d40, parentOpacity=<optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#27 0x00007f406f4a6420 in QGraphicsScenePrivate::draw (this=0x17192e0, item=0x1bac1b0, painter=0x7fffe54d98f0, viewTransform=0x0, transformPtr=0x1b49630, exposedRegion=0x2a532c8, widget=0x2a55d40, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4996
#28 0x00007f406f4a73d5 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x17192e0, item=0x1bac1b0, painter=0x7fffe54d98f0, viewTransform=0x0, exposedRegion=0x2a532c8, widget=0x2a55d40, parentOpacity=<optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#29 0x00007f406f4a7bf1 in QGraphicsScenePrivate::drawItems (this=0x17192e0, painter=0x7fffe54d98f0, viewTransform=0x0, exposedRegion=0x2a532c8, widget=0x2a55d40) at graphicsview/qgraphicsscene.cpp:4739
#30 0x00007f406f4c0870 in QGraphicsView::paintEvent (this=<optimized out>, event=<optimized out>) at graphicsview/qgraphicsview.cpp:3471
#31 0x00007f406eed70f6 in QWidget::event (this=0x1fe16c0, event=0x7fffe54da290) at kernel/qwidget.cpp:8508
#32 0x00007f406f2973b6 in QFrame::event (this=0x1fe16c0, e=0x7fffe54da290) at widgets/qframe.cpp:557
#33 0x00007f406f4c1b2b in QGraphicsView::viewportEvent (this=0x1fe16c0, event=0x7fffe54da290) at graphicsview/qgraphicsview.cpp:2866
#34 0x00007f406fb04028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x2a55d40, event=0x7fffe54da290) at kernel/qcoreapplication.cpp:986
#35 0x00007f406ee8685f in notify_helper (e=0x7fffe54da290, receiver=0x2a55d40, this=0x1501070) at kernel/qapplication.cpp:4555
#36 QApplicationPrivate::notify_helper (this=0x1501070, receiver=0x2a55d40, e=0x7fffe54da290) at kernel/qapplication.cpp:4531
#37 0x00007f406ee8b713 in QApplication::notify (this=0x14ea9a0, receiver=0x2a55d40, e=0x7fffe54da290) at kernel/qapplication.cpp:4420
#38 0x00007f40707e63f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0x00007f406fb03e9c in QCoreApplication::notifyInternal (this=0x14ea9a0, receiver=0x2a55d40, event=0x7fffe54da290) at kernel/qcoreapplication.cpp:876
#40 0x00007f406eed2d96 in sendSpontaneousEvent (event=0x7fffe54da290, receiver=0x2a55d40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#41 QWidgetPrivate::drawWidget (this=0x2a55d70, pdev=0x2ec1a50, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x2a56130) at kernel/qwidget.cpp:5585
#42 0x00007f406f0a3afc in QWidgetBackingStore::sync (this=0x2a56130) at painting/qbackingstore.cpp:1365
#43 0x00007f406eec9ac0 in QWidgetPrivate::syncBackingStore (this=0x2a52e40) at kernel/qwidget.cpp:1891
#44 0x00007f406eed760c in QWidget::event (this=0x1fe16c0, event=0x2db5040) at kernel/qwidget.cpp:8655
#45 0x00007f406f2973b6 in QFrame::event (this=0x1fe16c0, e=0x2db5040) at widgets/qframe.cpp:557
#46 0x00007f406f3194c3 in QAbstractScrollArea::event (this=0x1fe16c0, e=0x2db5040) at widgets/qabstractscrollarea.cpp:996
#47 0x00007f406ee86894 in notify_helper (e=0x2db5040, receiver=0x1fe16c0, this=0x1501070) at kernel/qapplication.cpp:4559
#48 QApplicationPrivate::notify_helper (this=0x1501070, receiver=0x1fe16c0, e=0x2db5040) at kernel/qapplication.cpp:4531
#49 0x00007f406ee8b713 in QApplication::notify (this=0x14ea9a0, receiver=0x1fe16c0, e=0x2db5040) at kernel/qapplication.cpp:4420
#50 0x00007f40707e63f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#51 0x00007f406fb03e9c in QCoreApplication::notifyInternal (this=0x14ea9a0, receiver=0x1fe16c0, event=0x2db5040) at kernel/qcoreapplication.cpp:876
#52 0x00007f406fb07c6a in sendEvent (event=0x2db5040, receiver=0x1fe16c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x1fe16c0, event_type=77, data=0x14481f0) at kernel/qcoreapplication.cpp:1500
#54 0x00007f406f49c90a in dispatchPendingUpdateRequests (this=0x2a52e40) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:200
#55 QGraphicsScenePrivate::_q_processDirtyItems (this=0x17192e0) at graphicsview/qgraphicsscene.cpp:515
#56 0x00007f406f49ca61 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:107
#57 QGraphicsScene::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:86
#58 0x00007f406fb1d446 in QObject::event (this=0x1557890, e=<optimized out>) at kernel/qobject.cpp:1195
#59 0x00007f406f4a35d9 in QGraphicsScene::event (this=0x1557890, event=0x198c210) at graphicsview/qgraphicsscene.cpp:3565
#60 0x00007f406ee86894 in notify_helper (e=0x198c210, receiver=0x1557890, this=0x1501070) at kernel/qapplication.cpp:4559
#61 QApplicationPrivate::notify_helper (this=0x1501070, receiver=0x1557890, e=0x198c210) at kernel/qapplication.cpp:4531
#62 0x00007f406ee8b713 in QApplication::notify (this=0x14ea9a0, receiver=0x1557890, e=0x198c210) at kernel/qapplication.cpp:4420
#63 0x00007f40707e63f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#64 0x00007f406fb03e9c in QCoreApplication::notifyInternal (this=0x14ea9a0, receiver=0x1557890, event=0x198c210) at kernel/qcoreapplication.cpp:876
#65 0x00007f406fb07c6a in sendEvent (event=0x198c210, receiver=0x1557890) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14481f0) at kernel/qcoreapplication.cpp:1500
#67 0x00007f406fb32f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#68 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#69 0x00007f4066b12d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007f4066b130a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007f4066b13164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f406fb333bf in QEventDispatcherGlib::processEvents (this=0x1449ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#73 0x00007f406ef2ed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007f406fb02c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007f406fb02ed7 in QEventLoop::exec (this=0x7fffe54dbc20, flags=...) at kernel/qeventloop.cpp:204
#76 0x00007f406fb07f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#77 0x00007f4072c78a13 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#78 0x00007f407289b76d in __libc_start_main (main=0x400640, argc=1, ubp_av=0x7fffe54dc008, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe54dbff8) at libc-start.c:226
#79 0x0000000000400671 in _start ()

Possible duplicates by query: bug 307561, bug 306284, bug 306240, bug 305122, bug 302762.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-10-11 11:16:55 UTC
Looks like a nvidia problem to me, could you please make sure you have the latest driver,

Also please install the necessary debugging symbols for kde, as your backtrace doesn't contain any.
Comment 2 Tomáš Chvátal 2013-04-26 12:39:22 UTC
Created attachment 79460 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:

I just clicked around to resize panel (default setup, fresh user) and this crash happened.

The card is ati so it can't be nvidia problem as Comment1 suggest.

-- Backtrace (Reduced):
#6  0x00007f2b97295945 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f2b97296dbb in __GI_abort () at abort.c:91
[...]
#9  0x00007f2b972db236 in malloc_printerr (action=3, str=0x7f2b973c8b30 "free(): invalid next size (fast)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f2b95b8a321 in QDeclarativeData::destroyed (this=0x1a02db0, object=0x1a02d60) at qml/qdeclarativeengine.cpp:1178
#11 0x00007f2b9360446d in QGraphicsItem::~QGraphicsItem (this=<optimized out>, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1460
Comment 3 Andrew Crouthamel 2018-09-04 19:11:41 UTC
Hello! Plasma 4 was replaced by Plasma 5 four years ago by the KDE community. In that time we have made great strides in stability and functionality. We are closing all Plasma 4 bugs as most of them are no longer applicable to the new frameworks Plasma 5 is built upon. If you could, please re-test with the latest version of Plasma 5, and submit a new bug to "plasmashell" if you continue to have an issue. Thank you!