compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #13589
[Bug 740840] Re: compiz crashed with SIGSEGV in CompWindow::id()
*** This bug is a duplicate of bug 743011 ***
https://bugs.launchpad.net/bugs/743011
Same problem here, with amsn and fgo (FlightGear gui), but not Ubuntu (slackware64-13.1 based and xfce). I have latest compiz, from git as is today (March, 31), and backtrace says that some how it looks for a windows's id when that window is NULL (line 1292, compiz-core/src/even.cpp), and I've just changed a little before that a condition to get in some "if" every time this pointer is NULL, and it's working ok. I've haven't read carefully compiz source, I've just made some quick test and some guessing and come up with this (almost sure very wrong) patch that is changing the condition in line 1225 from event.cpp in compiz's source from:
case ReparentNotify:
w = findWindow (event->xreparent.window);
if (!w && event->xreparent.parent == priv->root) ...
to
case ReparentNotify:
w = findWindow (event->xreparent.window);
if (!w) ...
I'm posting it just in case some developer find this usefull for catching the bug and writing a real patch.
--
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/740840
Title:
compiz crashed with SIGSEGV in CompWindow::id()