Summary: | [BoxSwitch] Crash when last window is closed | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Martin Flöser <mgraesslin> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.0 | |
Sentry Crash Report: |
Description
Martin Flöser
2011-01-16 11:51:25 UTC
probably a dupe of all mentioned. seems the QHash< EffectWindow*, ItemInfo* >::operator[] gets in trouble. the qFatal is a QList::isEmpty() assertion and the list is part of the hash, during ::contains() for the ::operator[] could be an upstream issue or corrupted memory (but it happens a bit too predictable for this) - avoiding the (completely poitless) operator[] should however circumvent it. (it does btw. not look like possibly present(?) Info values would be replaced or at least deleted -> hello leak?) Git commit 52147c672de192d7a02183f2ab38ef2d1de2af9b by Martin Gräßlin. Committed on 07/05/2011 at 11:23. Pushed by graesslin into branch 'master'. Ensure that list is not empty before accessing With settings to animate windows in boxswitch it was possible that an empty list was accessed when the last window closed. BUG: 263306 FIXED-IN: 4.7.0 M +4 -0 kwin/effects/boxswitch/boxswitch.cpp http://commits.kde.org/kde-workspace/52147c672de192d7a02183f2ab38ef2d1de2af9b |