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.

Is it ok to use evas_common_load_image_from_file and
evas_cache_image_load_data together
or is there any other important function that must be called when loading an
image in an evas engine?
When eng_image_free is called I use evas_cache_image_drop.

/Mikael
------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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-12, 2009. Register now!
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