Bug 615750
Summary: | [abrt] crash in compiz-0.8.6-1.fc13: memcpy: Process /usr/bin/compiz was killed by signal 11 (SIGSEGV) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peque <msdeleonpeque> | ||||
Component: | tk | Assignee: | Jaroslav Škarvada <jskarvad> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | adel.gadllah, dafrito, jskarvad | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | abrt_hash:ceb9e59493e636a93654cca38f6ba66b5e7e5c39 | ||||||
Fixed In Version: | tk-8.5.8-2.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-08-05 23:38:51 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Peque
2010-07-18 12:49:56 UTC
Created attachment 432698 [details]
File: backtrace
Compiz crashes on alt-tab if gitk is open. == Product versions == Fedora 13, updates-testing compiz-0.8.6-1.fc13.x86_64 gitk-1.7.1.1-1.fc13.noarch == How reproducible == 100% on my machine. == Prerequisites == * Run with Compiz enabled * Have a git repository == Steps to reproduce == 1. open gitk 2. alt-tab 3. Crash! == 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-1.7.1.1-1.fc13.noarch It looks like this has been fixed in an upstream commit. See this discussion: http://comments.gmane.org/gmane.comp.video.opengl.compiz-fusion.devel/749 And the corresponding commit referenced in that discussion: http://git.compiz.org/compiz/core/commit/?h=compiz-0.8&id=1bed3dbcea6473f84745ec7a1f936c4f5d3b3a01 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: https://admin.fedoraproject.org/updates/tk-8.5.8-1.fc13,tcl-8.5.8-1.fc13 == Affected versions == tcl-8.5.8-1.fc13.x86_64 tk-8.5.8-1.fc13.x86_64 == Last known working versions == tcl-8.5.7-5.fc13.x86_64 tk-8.5.7-3.fc12.x86_64 It looks like this bug was found and fixed in upstream tk after the 8.5.8 release: https://sourceforge.net/tracker/?func=detail&aid=2902814&group_id=12997&atid=112997 Here's the commit that fixes us: http://tktoolkit.cvs.sourceforge.net/viewvc/tktoolkit/tk/unix/tkUnixWm.c?r1=1.58.2.3&r2=1.58.2.4 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. http://admin.fedoraproject.org/updates/tk-8.5.8-2.fc13 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. |