Bug 345593 - Crash of kwin 4.11.11 after upgrade, when doing nothing
Summary: Crash of kwin 4.11.11 after upgrade, when doing nothing
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Oxygen
Classification: Plasma
Component: win deco (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-27 21:50 UTC by Patrick Carabin
Modified: 2015-03-28 08:17 UTC (History)
1 user (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 Patrick Carabin 2015-03-27 21:50:04 UTC
after restart, somme apps are opened ( Firefox, kmail, konsole ), but no action is asked...
systemsettings is opened, when i changed some settings, the under board showing the open apps disappeard. Then  i asked for nex themes, but this action is finished, and i left the computer unattended. 
When i came back, the crash had appened ( drkonqi started at 14:08, when i was NOT present.
Application: kwin (4.11.11)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.2.0-60-generic i686
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Nothing: some programs were open, but i was not present...
- Unusual behavior I noticed:
The board under to switch apps, was disappeard in the morning, a few hours earlier
- Custom settings of the application:
nothing special. I just installed a new version of Ubuntu: Linux version 3.2.0-60-generic (buildd@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #91-Ubuntu SMP Wed Feb 19 03:55:18 UTC 2014

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5675980 (LWP 4652))]

Thread 3 (Thread 0xb2f21b40 (LWP 9138)):
#0  0x00d08416 in __kernel_vsyscall ()
#1  0x00a33d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0x00c00dcc in __pthread_cond_wait (cond=0x10028d0 <QTWTF::pageheap_memory+20720>, mutex=0x10028b8 <QTWTF::pageheap_memory+20696>) at forward.c:149
#3  0x00effc92 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=this@entry=0xffd7e0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00effcdf in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xffd7e0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00a2ff70 in start_thread (arg=0xb2f21b40) at pthread_create.c:312
#6  0x00bf3bee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xb1da1b40 (LWP 9139)):
#0  0x00d08416 in __kernel_vsyscall ()
#1  0x00c01872 in __GI___clock_gettime (clock_id=1, tp=0xb1da1128) at ../sysdeps/unix/clock_gettime.c:115
#2  0x03c948cc in do_gettime (frac=0xb1da1120, sec=0xb1da1118) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x03d7d2a2 in updateCurrentTime (this=0xb2601fdc, this@entry=0xb2602678) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=this@entry=0xb2601fdc, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x03d7f0de in QEventDispatcherUNIX::processEvents (this=0xb2600488, flags=...) at kernel/qeventdispatcher_unix.cpp:923
#7  0x03d4a823 in QEventLoop::processEvents (this=this@entry=0xb1da1258, flags=...) at kernel/qeventloop.cpp:149
#8  0x03d4ab49 in QEventLoop::exec (this=this@entry=0xb1da1258, flags=...) at kernel/qeventloop.cpp:204
#9  0x03c3723d in QThread::exec (this=this@entry=0x9ab1398) at thread/qthread.cpp:537
#10 0x03d2ac44 in QInotifyFileSystemWatcherEngine::run (this=0x9ab1398) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x03c39b6f in QThreadPrivate::start (arg=0x9ab1398) at thread/qthread_unix.cpp:349
#12 0x00a2ff70 in start_thread (arg=0xb1da1b40) at pthread_create.c:312
#13 0x00bf3bee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb5675980 (LWP 4652)):
[KCrash Handler]
#7  QHashNode (value0=..., key0=@0x48: <error reading variable>, this=0x76fb1008) at /usr/include/qt4/QtCore/qhash.h:224
#8  QHash<unsigned long long, QCache<unsigned long long, QColor>::Node>::duplicateNode (node=0x40, newNode=0x76fb1008) at /usr/include/qt4/QtCore/qhash.h:532
#9  0x03c57049 in QHashData::detach_helper2 (this=0x99c3bc0, node_duplicate=node_duplicate@entry=0x246c3b0 <QHash<unsigned long long, QCache<unsigned long long, QColor>::Node>::duplicateNode(QHashData::Node*, void*)>, node_delete=node_delete@entry=0x246c390 <QHash<unsigned long long, QCache<unsigned long long, QColor>::Node>::deleteNode2(QHashData::Node*)>, nodeSize=nodeSize@entry=36, nodeAlign=nodeAlign@entry=4) at tools/qhash.cpp:239
#10 0x0246c864 in QHash<unsigned long long, QCache<unsigned long long, QColor>::Node>::detach_helper (this=this@entry=0x99c3bbc) at /usr/include/qt4/QtCore/qhash.h:584
#11 0x0246b6a9 in detach (this=0x99c3bbc) at /usr/include/qt4/QtCore/qhash.h:303
#12 find (akey=<optimized out>, this=0x99c3bbc) at /usr/include/qt4/QtCore/qhash.h:867
#13 relink (key=<optimized out>, this=0x99c3bb4) at /usr/include/qt4/QtCore/qcache.h:78
#14 object (key=<optimized out>, this=0x99c3bb4) at /usr/include/qt4/QtCore/qcache.h:148
#15 object (key=<optimized out>, this=<optimized out>) at ../../../../libs/oxygen/oxygenhelper.h:75
#16 Oxygen::DecoHelper::inactiveButtonTextColor (this=0x99c39d8, palette=...) at ../../../../kwin/clients/oxygen/oxygendecohelper.cpp:178
#17 0x0245cb30 in buttonDetailColor (active=false, palette=..., this=0x9bd0070) at ../../../../kwin/clients/oxygen/oxygenbutton.h:134
#18 Oxygen::Button::buttonDetailColor (this=this@entry=0x9bd0070, palette=...) at ../../../../kwin/clients/oxygen/oxygenbutton.cpp:90
#19 0x0245d760 in Oxygen::Button::paint (this=this@entry=0x9bd0070, painter=...) at ../../../../kwin/clients/oxygen/oxygenbutton.cpp:136
#20 0x0245e065 in Oxygen::Button::paintEvent (this=0x9bd0070, event=0xbfc3c1d8) at ../../../../kwin/clients/oxygen/oxygenbutton.cpp:312
#21 0x0464c135 in QWidget::event (this=this@entry=0x9bd0070, event=event@entry=0xbfc3c1d8) at kernel/qwidget.cpp:8533
#22 0x04a0bf42 in QAbstractButton::event (this=0x9bd0070, e=0xbfc3c1d8) at widgets/qabstractbutton.cpp:1082
#23 0x045f27f4 in QApplicationPrivate::notify_helper (this=0x98c90c0, receiver=0x9bd0070, e=0xbfc3c1d8) at kernel/qapplication.cpp:4567
#24 0x045f92d3 in QApplication::notify (this=0xbfc3c908, receiver=receiver@entry=0x9bd0070, e=e@entry=0xbfc3c1d8) at kernel/qapplication.cpp:4353
#25 0x013081f4 in KApplication::notify (this=this@entry=0xbfc3c908, receiver=receiver@entry=0x9bd0070, event=event@entry=0xbfc3c1d8) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x008936a9 in KWin::Application::notify (this=0xbfc3c908, o=0x9bd0070, e=0xbfc3c1d8) at ../../kwin/main.cpp:431
#27 0x03d4be4a in QCoreApplication::notifyInternal (this=0xbfc3c908, receiver=0x9bd0070, event=0xbfc3c1d8) at kernel/qcoreapplication.cpp:953
#28 0x04645e61 in sendSpontaneousEvent (event=0xbfc3c1d8, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#29 QWidgetPrivate::drawWidget (this=this@entry=0x9b7dfa0, pdev=pdev@entry=0x9bd0078, rgn=..., offset=..., flags=flags@entry=3, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x0) at kernel/qwidget.cpp:5599
#30 0x04830d99 in QWidgetPrivate::repaint_sys (this=this@entry=0x9b7dfa0, rgn=...) at painting/qbackingstore.cpp:1656
#31 0x04639fc7 in QWidgetPrivate::syncBackingStore (this=this@entry=0x9b7dfa0) at kernel/qwidget.cpp:1891
#32 0x0464bb7c in QWidget::event (this=this@entry=0x9bd0070, event=event@entry=0x9b8af90) at kernel/qwidget.cpp:8680
#33 0x04a0bf42 in QAbstractButton::event (this=0x9bd0070, e=0x9b8af90) at widgets/qabstractbutton.cpp:1082
#34 0x045f27f4 in QApplicationPrivate::notify_helper (this=0x98c90c0, receiver=0x9bd0070, e=0x9b8af90) at kernel/qapplication.cpp:4567
#35 0x045f92d3 in QApplication::notify (this=0xbfc3c908, receiver=receiver@entry=0x9bd0070, e=e@entry=0x9b8af90) at kernel/qapplication.cpp:4353
#36 0x013081f4 in KApplication::notify (this=this@entry=0xbfc3c908, receiver=receiver@entry=0x9bd0070, event=event@entry=0x9b8af90) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x008936a9 in KWin::Application::notify (this=0xbfc3c908, o=0x9bd0070, e=0x9b8af90) at ../../kwin/main.cpp:431
#38 0x03d4be4a in QCoreApplication::notifyInternal (this=0xbfc3c908, receiver=receiver@entry=0x9bd0070, event=event@entry=0x9b8af90) at kernel/qcoreapplication.cpp:953
#39 0x03d4f70d in sendEvent (event=0x9b8af90, receiver=0x9bd0070) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9874130) at kernel/qcoreapplication.cpp:1577
#41 0x03d4fc1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#42 0x046a7e99 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#43 QEventDispatcherX11::processEvents (this=0x98c90a0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#44 0x03d4a823 in QEventLoop::processEvents (this=this@entry=0xbfc3c808, flags=...) at kernel/qeventloop.cpp:149
#45 0x03d4ab49 in QEventLoop::exec (this=this@entry=0xbfc3c808, flags=...) at kernel/qeventloop.cpp:204
#46 0x03d508fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#47 0x045f0a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#48 0x00894a4e in kdemain (argc=3, argv=0xbfc3c9f4) at ../../kwin/main.cpp:597
#49 0x0804855b in main (argc=3, argv=0xbfc3c9f4) at kwin_dummy.cpp:3

Possible duplicates by query: bug 331001, bug 301234, bug 297815.

Rapporter à https://bugs.kde.org/

Reproducible: Didn't try
Comment 1 Patrick Carabin 2015-03-27 21:54:20 UTC
dolphin was NOT loaded at that time
Comment 2 Thomas Lübking 2015-03-28 08:13:31 UTC
> The board under to switch apps, was disappeard in the morning, a few hours earlier
That sounds as if plasma-desktop crashed as well.

The particular crash in KWin occurred in the oxygen decoration on accessing a QCache - this is different from bug #301234 but leads to the same results/tail.

=> Can you check when the Qt libraries were last updated? (ie. "did you update the system during that session?")
Comment 3 Thomas Lübking 2015-03-28 08:17:10 UTC
D'OHH!
"Crash of kwin 4.11.11 after upgrade"

Sorry Hugo =)


That's a ubuntu bug. They trunk files instead of correctly installing them (I cannot prove, but since this happens ALL THE TIME and for about every application, this is actually the only possible answer) ie. the Qt library inodes are junk and if symbols are reloaded from disk, things go south.

=> Do not update Ubuntut from a GUI session, instead "telinit 1" (move to runlevel 1, a root shell) or at least reboot as soon as the update is complete - otherwise be prepared for random crashes in anything that uses shared libraries.