RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 607280 - Fix crashes in desktop-effects
Summary: Fix crashes in desktop-effects
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: desktop-effects
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Owen Taylor
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-23 17:07 UTC by Owen Taylor
Modified: 2010-11-10 20:07 UTC (History)
3 users (show)

Fixed In Version: desktop-effects-0.8.4-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 20:07:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Owen Taylor 2010-06-23 17:07:53 UTC
There are several crashes reported during OpenGL detection in desktop-effects that have easy, safe fixes:

 Bug 533807 - Crash in glXDestroyContext
 http://git.fedorahosted.org/git/?p=desktop-effects.git;a=commit;h=1e96aac70b3290a954fa29196a4dbf93f2c3578a
 Bug 574500 - BadMatch from XCreateWindow
 http://git.fedorahosted.org/git/?p=desktop-effects.git;a=commit;h=d822283c5bc0e8a6bc24bff8fab6c78f319b6b50

The second one is especially common and occurs any time you run desktop-effects after configuring 16bpp graphics. We should pull these fixes in for RHEL6.

Comment 6 Owen Taylor 2010-07-13 17:04:19 UTC
Having tried it, I don't think it makes sense to try and reproduce in gdb. The poor handling of optimized code in gdb makes it really confusing and unpredictable, and any instructions I could give would reproduce it both with and without the fix.

Because the same instructions that initialize an uninitialized variable to a junk value will also reinitialize an initialized variable to a junk value.

However, it was really good you asked for this, since in investigating, I found that the patch was not correctly included in the RPM!

Will build a better version immediately.

Comment 7 Owen Taylor 2010-07-13 17:30:42 UTC
Version with the relevant patch actually applied is now built.

Comment 9 Owen Taylor 2010-07-13 18:08:45 UTC
It would be good to test that desktop-effects properly works if mesa-dri-drivers is removed (with rpm -e --nodeps if necessary.) It should display a message on startup that GL is not available.

That will test the code path that was changed.

But there's nothing I can suggest that will give before/after verification that it crashes with the old packages and not with the new packages.

Comment 10 Lubos Kocman 2010-07-15 08:36:13 UTC
Verified (according to Comment 9) on:

desktop-effects-0.8.4-6.el6


Getting (after removing mesa-dri-drivers and logout):

Accelerated 3D graphics is not available
Desktop effects require hardware 3D support.

Comment 11 releng-rhel@redhat.com 2010-11-10 20:07:31 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.