Summary: | crash in KWin::TabGroup::contains | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Jaime Torres <jtamate> |
Component: | window-tabbing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | Flags: | thomas.luebking:
ReviewRequest+
|
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/75c4d09d66c41be226313ee19e05c95ba5e291b4 | Version Fixed In: | 4.9 |
Sentry Crash Report: |
Description
Jaime Torres
2012-06-08 16:01:31 UTC
#11 0x00007f711de453fc in KWin::Client::manage (this=<optimized out>, w=<optimized out>, isMapped=false) at /g/kdegit/kde-workspace/kwin/manage.cpp:316 This is from session restorage and this pointer "this=0x404f800000000000" at least "looks" weird (i suspect the session->tabGroupClient to be invalid) It looks like the manage occurs for a session restart and the previously assigned tabGrupClient has been deleted interim (but not nulled) so checking whether "workspace()->hasClient(info->tabGrupClient)" will likely prevent this bug (and should probably be required) but while i'm not really keen in session management (i more or less kept it for tabbing as it was...), this somehow sounds like a wider bug - why is there session restorage while kwin is running?? @Jaime Did kwin crash couple of times in a row or so? @Thomas: No, I don't think so. But kwin restart was so fast that I only noticed because I saw a drkonki window. I've checked your patch. Before applying it, okular windows where not grouped. After your patch, they are grouped after login and no crash so far doing the same as yesterday. Git commit 75c4d09d66c41be226313ee19e05c95ba5e291b4 by Thomas Lübking. Committed on 08/06/2012 at 20:39. Pushed by luebking into branch 'master'. check whether SessionInfo::tabGroupClient is (still) in workspace before using it FIXED-IN: 4.9 REVIEW: 105186 M +2 -0 kwin/manage.cpp http://commits.kde.org/kde-workspace/75c4d09d66c41be226313ee19e05c95ba5e291b4 |