Bug 24217 - Mesa implemetation error with glXCopyContext
Summary: Mesa implemetation error with glXCopyContext
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: 7.5
Hardware: Other Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 07:58 UTC by Andrey Tsyvarev
Modified: 2010-05-07 13:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
reproduse error message (1.21 KB, text/plain)
2009-09-29 07:58 UTC, Andrey Tsyvarev
Details

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.