Bug 24217

Summary: Mesa implemetation error with glXCopyContext
Product: Mesa Reporter: Andrey Tsyvarev <tsyvarev>
Component: GLXAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 7.5   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: reproduse error message

Description Andrey Tsyvarev 2009-09-29 07:58:31 UTC
Created attachment 29940 [details]
reproduse error message

While destroying GLXContext, which was the destintation context for glXCopyContext(), "Mesa implemetation error" is printed:

andrew@andrew-desktop:~/tests/GLX/glXCopyContext$ ./test
Test finished.
Mesa 7.5.1 implementation error: invalid reference to a deleted texture object
Please report at bugzilla.freedesktop.org
test: main/texobj.c:310: _mesa_reference_texobj: Assertion `valid_texture_object(oldTex)' failed.
Aborted
Comment 1 Brian Paul 2009-09-29 08:38:19 UTC
OK, I've committed a work-around fix for this.
Commit 9b5541617fd16d4b1de474a766717edf72112d21 on the 7.6 branch for now.

Let me know if this is sufficient for you.  If you really depend upon texture object bindings being copied more work will be needed.
Comment 2 Andrey Tsyvarev 2009-10-05 06:18:44 UTC
In the situations that I have checked, the problem with copying the texture did not appear anymore. Thanks for a quick response!

The problem was revealed by the tests for conformance with OpenGL spec that we develop within LSB Infrastruture project in collaboration with the Linux Foundation. 

If some other test we are going to develop for this suite will show that the problems related to copying textures still persist, we will let you know.
Comment 3 Kristian Høgsberg 2010-05-07 13:52:12 UTC
Sounds like this got resolved, closing.  Please reopen if that's not the case.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.