On Fri, Apr 13, 2012 at 6:25 PM, Carsten Haitzler <[email protected]> wrote:
> On Fri, 13 Apr 2012 15:02:21 +0800 Brian Wang <[email protected]>
> said:
>
> type my commit : 70168. i memset'd cinfo to 0 - how did this creep in here. it
> shuldn't have. grrrr. :(
Now, it doesn't seg fault. However, it now complains:
------------------
/usr/bin/edje_cc -id ../../data/objects -fd ../../data/objects \
../../data/objects/test.edc \
../../data/objects/test.edj
/usr/bin/edje_cc: Error. Unable to load image "sky.jpg" used by file
"../../data/objects/test.edj": File (or file path) does not exist.
Check if path to file "sky.jpg" is correct (both directory and file
name).
------------------
sky.jpg is there though.
Is it the same issue as this one?
http://www.mail-archive.com/[email protected]/msg32965.html
The system jpeg library is libjpeg8.
Thanks in advance.
brian
>
>> Hello list,
>>
>> I just checked out the latest EFL but failed to complete compilation.
>>
>> The first thing to fail is that edje_cc doesn't seem to like "LOSSY n"
>> in some of the edc files. I just changed them to "COMP" to pass the
>> compilation.
>>
>> The next thing is when building elementary/data/objects/test.edj,
>> edje_cc seg faults. Here is the relevant part of valgrind complaints:
>> ----------------------------------
>> ==21318== Conditional jump or move depends on uninitialised value(s)
>> ==21318== at 0x51D5C98: _evas_jpeg_membuf_src_term
>> (evas_image_load_jpeg.c:133)
>> ==21318== by 0x51D609C: evas_image_load_file_head_jpeg_internal
>> (evas_image_load_jpeg.c:268)
>> ==21318== by 0x51D8577: evas_image_load_file_head_jpeg
>> (evas_image_load_jpeg.c:1202)
>> ==21318== by 0x420DD12:
>> evas_common_load_rgba_image_module_from_file (evas_image_load.c:218)
>> ==21318== by 0x41E2968: _evas_cache_image_entry_new
>> (evas_cache_image.c:314) ==21318== by 0x41E39A9: evas_cache_image_request
>> (evas_cache_image.c:830) ==21318== by 0x420F36F:
>> evas_common_load_image_from_file (evas_image_main.c:732)
>> ==21318== by 0x51C4992: eng_image_load (evas_engine.c:670)
>> ==21318== by 0x4190A16: evas_object_image_file_set
>> (evas_object_image.c:364) ==21318== by 0x804BB5B: data_write_images
>> (edje_cc_out.c:533) ==21318== by 0x804D957: data_write
>> (edje_cc_out.c:1205)
>> ==21318== by 0x804AC03: main (edje_cc.c:240)
>> ==21318==
>> ==21318== Conditional jump or move depends on uninitialised value(s)
>> ==21318== at 0x402B02F: free (in
>> /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
>> ==21318== by 0x51D5CA4: _evas_jpeg_membuf_src_term
>> (evas_image_load_jpeg.c:134)
>> ==21318== by 0x51D609C: evas_image_load_file_head_jpeg_internal
>> (evas_image_load_jpeg.c:268)
>> ==21318== by 0x51D8577: evas_image_load_file_head_jpeg
>> (evas_image_load_jpeg.c:1202)
>> ==21318== by 0x420DD12:
>> evas_common_load_rgba_image_module_from_file (evas_image_load.c:218)
>> ==21318== by 0x41E2968: _evas_cache_image_entry_new
>> (evas_cache_image.c:314) ==21318== by 0x41E39A9: evas_cache_image_request
>> (evas_cache_image.c:830) ==21318== by 0x420F36F:
>> evas_common_load_image_from_file (evas_image_main.c:732)
>> ==21318== by 0x51C4992: eng_image_load (evas_engine.c:670)
>> ==21318== by 0x4190A16: evas_object_image_file_set
>> (evas_object_image.c:364) ==21318== by 0x804BB5B: data_write_images
>> (edje_cc_out.c:533) ==21318== by 0x804D957: data_write
>> (edje_cc_out.c:1205)
>> ==21318==
>> ==21318== Invalid free() / delete / delete[] / realloc()
>> ==21318== at 0x402B06C: free (in
>> /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
>> ==21318== by 0x51D5CA4: _evas_jpeg_membuf_src_term
>> (evas_image_load_jpeg.c:134)
>> ==21318== by 0x51D609C: evas_image_load_file_head_jpeg_internal
>> (evas_image_load_jpeg.c:268)
>> ==21318== by 0x51D8577: evas_image_load_file_head_jpeg
>> (evas_image_load_jpeg.c:1202)
>> ==21318== by 0x420DD12:
>> evas_common_load_rgba_image_module_from_file (evas_image_load.c:218)
>> ==21318== by 0x41E2968: _evas_cache_image_entry_new
>> (evas_cache_image.c:314) ==21318== by 0x41E39A9: evas_cache_image_request
>> (evas_cache_image.c:830) ==21318== by 0x420F36F:
>> evas_common_load_image_from_file (evas_image_main.c:732)
>> ==21318== by 0x51C4992: eng_image_load (evas_engine.c:670)
>> ==21318== by 0x4190A16: evas_object_image_file_set
>> (evas_object_image.c:364) ==21318== by 0x804BB5B: data_write_images
>> (edje_cc_out.c:533) ==21318== by 0x804D957: data_write
>> (edje_cc_out.c:1205)
>> ==21318== Address 0x4009cac is in the Text segment of
>> /lib/i386-linux-gnu/ld-2.15.so
>> ==21318==
>> ==21318== Conditional jump or move depends on uninitialised value(s)
>> ==21318== at 0x51D60A5: evas_image_load_file_head_jpeg_internal
>> (evas_image_load_jpeg.c:269)
>> ==21318== by 0x51D8577: evas_image_load_file_head_jpeg
>> (evas_image_load_jpeg.c:1202)
>> ==21318== by 0x420DD12:
>> evas_common_load_rgba_image_module_from_file (evas_image_load.c:218)
>> ==21318== by 0x41E2968: _evas_cache_image_entry_new
>> (evas_cache_image.c:314) ==21318== by 0x41E39A9: evas_cache_image_request
>> (evas_cache_image.c:830) ==21318== by 0x420F36F:
>> evas_common_load_image_from_file (evas_image_main.c:732)
>> ==21318== by 0x51C4992: eng_image_load (evas_engine.c:670)
>> ==21318== by 0x4190A16: evas_object_image_file_set
>> (evas_object_image.c:364) ==21318== by 0x804BB5B: data_write_images
>> (edje_cc_out.c:533) ==21318== by 0x804D957: data_write
>> (edje_cc_out.c:1205)
>> ==21318== by 0x804AC03: main (edje_cc.c:240)
>> ----------------------------------
>>
>> Hope it helps. :-)
>>
>>
>> Brian
>>
>> --
>> brian
>> ------------------
>>
>> Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
>> http://cool-idea.com.tw/
>>
>> iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> enlightenment-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler) [email protected]
>
--
brian
------------------
Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
http://cool-idea.com.tw/
iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel