Bug 18730 - Memory corruption with OSMesaDestroyContext
Summary: Memory corruption with OSMesaDestroyContext
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: 7.1
Hardware: Other Mac OS X (All)
: medium major
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-27 06:47 UTC by FraKtus
Modified: 2018-05-02 03:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description FraKtus 2008-11-27 06:47:13 UTC
My application does offline renderings with Mesa under Mac OS X and Linux. The renderer is scripted with xml files. The current implementation use multiple contexts and create / destroy many mesa contexts during it's life.

I saw that after OSMesaDestroyContext several times the memory becomes corrupted. This leads to instability in my application.

I have started isolating the problem by removing all rendering code and just leaving the creation / destruction of contexts but the corruption stays.

I do my stability tests with apple developer tools including libgmalloc.
Comment 1 Brian Paul 2008-11-27 06:52:24 UTC
I just ran valgrind on progs/osdemos/osdemo and progs/osdemos/ostest1 and it didn't find any issues.

Could you either run your test with valgrind and post the results, or send me a test program?
Comment 2 Timothy Arceri 2018-05-02 03:33:46 UTC
Closing as works for me as it worked for Brian in 2008.


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.