[sldev] OpenJPEG decoder update

Tofu Linden tofu.linden at lindenlab.com
Wed Mar 7 01:18:07 PST 2007


Callum Lerwick wrote:
> On Tue, 2007-03-06 at 19:21 +0000, Tofu Linden wrote:
>> A progress report: these all look like good changes.  However!  When
>> I enable the parameters.cp_limit_decoding=LIMIT_TO_MAIN_HEADER hint,
>> I get a large number of these:
>>
>> [ERROR] 00001fb2: expected a marker instead of 8abf
>> ERROR -> j2k_to_image: failed to decode image!
>>
>> ... and memory fills up very quickly, OOMing the process.
>> Without that hint, I've been able to spend a lot of time in
>> crowded areas without any mysterious memory bloat.  I'm using
>> the official OpenJPEG 1.1.1.
>>
>> I'm still looking into it.  If I don't get it diagnosed soon
>> I'll at least check in the other fixes.
> 
> That's a bit confusing. My Fedora package has included this patch from
> the start (unusable otherwise) and I haven't seen this problem. Though I
> haven't got around to updating newer than FL 58185. You're using the FL
> codebase, right?

I'm using the current trunk (since that's where the theoretical merge
would go), which includes the FL changes.  It should be very close
to the last FL release.

- Tofu


More information about the SLDev mailing list