<div dir="ltr">Hi Devs,<div><br></div><div>Regarding to <a href="https://github.com/mapserver/mapserver/issues/3834">#3834</a>, I can see several hacks in the code attempting to fix the issue, but it seems we are still running into the same issue by getting a crash in msFreeSymbol at the line:</div>
<div><br></div><div>s->renderer->freeSymbol(s);<br></div><div><br></div><div>We've already been discussing about implementing a symbol cache at the renderers (and eliminate the need of maintaining back references to the renderer at symbolObj), however that seems to require fair amount of coding and testing at the first sight.</div>
<div><br></div><div>What if we change the renderer reference in symbolObj from rendererVTableObj to outputFormatObj (which contains the vtable)? Since the outputformat is reference counted we could make sure the outputformat (and the vtable) exists until the corresponding symbolObj is alive?</div>
<div><br></div><div><br></div><div>Best regards,</div><div><br></div><div>TamasĀ </div></div>