Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 124932
Summary: | GL applications and utilities segfault on startup | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Noe <dpn> | ||||||
Component: | xorg-x11 | Assignee: | X/OpenGL Maintenance List <xgl-maint> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2 | CC: | ade.rixon, fedora | ||||||
Target Milestone: | --- | Keywords: | Triaged | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-04-15 10:47:23 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 125270, 136452 | ||||||||
Attachments: |
|
Description
Dan Noe
2004-06-01 15:19:53 UTC
Attach the X server log and config file, so we can proceed. Thanks in advance. Created attachment 100888 [details]
xorg.conf
Created attachment 100889 [details]
Xorg.0.log
There is a NULL pointer check missing in r128CreateContext(). The call to driCreateTextureHeap() at r128_context.c:142 always returns NULL when r128scrn->texSize[i] is zero. This texture size is taken from the X server an is 0 (this can be seen from the logs). (II) R128(0): Reserved 0 kb for textures at offset 0xfff000 driSetTextureSwapCounterLocation() will then dereference the pointer it is given. I looked at the other DRI drivers to see what they do. The same bug is present in the radeon driver. The other drivers do not call driSetTextureSwapCounterLocation() and simply allow the NULL pointer to exist in the rmesa structure. As such I don't know what the most appropriate error recovery is. We could either ignore the NULL pointer but avoid the call to driSetTextureSwapCounterLocation() or we could return GL_FALSE and abandon the attempt to initialize the card. I imagine 3D is pretty useless without textures so in the absense of expert guidance I would probably choose to return GL_FALSE. Since this bugzilla report was filed, there have been several major updates to the X Window System, which may resolve this issue. Users who have experienced this problem are encouraged to upgrade to the latest version of Fedora Core, which can be obtained from: http://fedora.redhat.com/download If this issue turns out to still be reproduceable in the latest version of Fedora Core, please file a bug report in the X.Org bugzilla located at http://bugs.freedesktop.org in the "xorg" component. Once you've filed your bug report to X.Org, if you paste the new bug URL here, Red Hat will continue to track the issue in the centralized X.Org bug tracker, and will review any bug fixes that become available for consideration in future updates. Setting status to "CURRENTRELEASE". |