Red Hat Bugzilla – Bug 615750
[abrt] crash in compiz-0.8.6-1.fc13: memcpy: Process /usr/bin/compiz was killed by signal 11 (SIGSEGV)
Last modified: 2010-08-05 19:38:51 EDT
abrt 1.1.1 detected a crash.
Attached file: backtrace
cmdline: compiz --ignore-desktop-hints glib gconf gnomecompat
reason: Process /usr/bin/compiz was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)
When I launched 'gitk --all' (to display a git project history), the Cairo-Dock (no OpenGl mode) crashed and the Cairo-Dock config window opened. I just closed this window (didn't restarted Cairo-Dock process).
After a minute working with gitk window opened (and doing anything else, I think), Compiz crashed and I lost all the window borders. I had to restart Compiz.
Created attachment 432698 [details]
Compiz crashes on alt-tab if gitk is open.
== Product versions ==
Fedora 13, updates-testing
== How reproducible ==
100% on my machine.
== Prerequisites ==
* Run with Compiz enabled
* Have a git repository
== Steps to reproduce ==
1. open gitk
== Workarounds ==
Note that successfully replicating this bug will make you unable to alt-tab or switch programs. You are able to access the gnome panels. Here's how to get an operational system again:
1. Go to 'System' > 'Preferences' > 'Desktop Effects' in the top panel.
2. Toggle to Standard, then back to Compiz. Things should be normal again.
== Additional info ==
This bug appears to be specific with gitk, as far as I know. It's also somewhat recently updated:
Jul 07 18:28:34 Updated: gitk-18.104.22.168-1.fc13.noarch
It looks like this has been fixed in an upstream commit. See this discussion:
And the corresponding commit referenced in that discussion:
This is very likely not a gitk bug. I ran gitk from git v1.6.5 (October 2009) and this error happened just as always. I also looked through the commits for gitk and didn't find anything suspicious (though I'm certainly no expert).
It should be noted that gitk and git-gui both don't have icons shown. Unless I'm very mistaken, I think both applications used to have icons.
Concluding from the above, this might be a tcl-tk related bug, especially since tcl-tk was updated on Sat 10 Jul 2010.
Here's the full version: tcl-8.5.8-1.fc13.x86_64
Very very likely to be a tcl-tk bug. 'yum downgrade tcl tk' fixes the crash issue and causes the icons for both gitk and git-gui to appear once again.
Here's the upgrade that broke us:
== Affected versions ==
== Last known working versions ==
It looks like this bug was found and fixed in upstream tk after the 8.5.8 release:
Here's the commit that fixes us:
In summary, I think this is what happened: Tk's 'wm iconphoto' was broken in 8.5.8 (due to some endianness/64-bit weirdness that is beyond me). This breakage causes the icon to have an absurd size. wm iconphoto is used by gitk, so gitk ends up with a malformed icon. Compiz tries to use this malformed icon, and since it didn't check for bad sizes, it crashes.
So there's two bugs: Compiz ensuring it doesn't crash on invalid icon sizes, and Tk ensuring its data is in the form expected by X. Both of these problems appear to have been fixed in upstream.
tk-8.5.8-2.fc13 has been submitted as an update for Fedora 13.
Thank you for excellent bug report with resolution. Patched version
(tk-8.5.8-2.fc13) was pushed through bodhi, please test it.
I just successfully ran this update from koji. The missing icon issues for gitk and git-gui are fixed, and alt-tabbing with compiz works just fine.
I'm marking it as VERIFIED, but please change this back if this change is premature.
tk-8.5.8-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update tk'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/tk-8.5.8-2.fc13
tk-8.5.8-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.