Re: Bug#504340: djvulibre-plugin/testing and #504340
thanks for the excellent analysis.
Leon Bottou wrote:
> Finally I would also try to reduce the plugin optimization
> level from -O3 to -O2, just to see if improvements appear.
> This is another difference between Bastien's experiments
> (no crash, plugin compiled from djview4 source with -O2) and
> the distribution (crash, plugin compiled from djvulibre
> source with -O3)...
O3 vs. O2 is crash vs. no crash. Something goes wrong with the testing
of the return value when map_lookup is inlined.
So my patch is bogus, sorry.
How about using O2 for the plugin (or generally)?
Thomas Viehmann, http://thomas.viehmann.net/