On Thu, Sep 24, 2009 at 2:32 PM, Mikael Liljeroth
<mikael.liljer...@gmail.com> wrote:
> On Thu, Sep 24, 2009 at 5:19 AM, Mikael Liljeroth <
> mikael.liljer...@gmail.com> wrote:
>> Hi, I have encountered a rather strange problem when testing revision 42549
>> of the efl libraries.
>> The problem seems to be related to images and the evas image loaders.
>> I'm using a custom built evas engine that uses 
>> evas_common_load_image_from_file
>> and then the evas_cache_image_load_data to load the image data in 
>> eng_image_load and
>> eng_image_draw resp. My test application creates image objects and deletes 
>> them
>> repeatedly.
>>
>> The problem is that I get a sigsegv when 
>> evas_common_load_rgba_image_data_from_file tries to
>> call the loader function file_data. This happens because the info.loader in 
>> the Image_Entry is null.
>> When the image module is loaded the info.loader is set correctly but somehow 
>> gets cleared on
>> the way to eng_image_draw in the evas engine. This never happens for the 
>> first image, only for
>> the second or later.
>
> Correction: It does happen for the first image in some cases.

info.loader is removed when loading is done. So if it's gone, my guess
is that the data has already been loaded. Is it a possible explanation
?

-- 
Cedric BAIL

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to