Re: [Mesa-dev] [PATCH] mesa: fix deleting the dummy ATI_fs

2017-11-07 Thread Marek Olšák
Pushed, thanks! Marek On Fri, Nov 3, 2017 at 2:01 AM, Miklós Máté wrote: > The DummyShader is used by GenFragmentShadersATI() as a placeholder to > mark IDs as allocated. Context cleanup wants to delete everything in > ctx->Shared->ATIShaders, and crashes on these placeholders with this > backtr

[Mesa-dev] [PATCH] mesa: fix deleting the dummy ATI_fs

2017-11-02 Thread Miklós Máté
The DummyShader is used by GenFragmentShadersATI() as a placeholder to mark IDs as allocated. Context cleanup wants to delete everything in ctx->Shared->ATIShaders, and crashes on these placeholders with this backtrace: ==15060== Invalid free() / delete / delete[] / realloc() ==15060==at 0x482F