Page MenuHomePhabricator

Evas image: segv while converting an image data from AGRY88 to ARGB8888 using evas_object_image_data_convert()
Closed, ResolvedPublic

Description

How to reproduce

wget -c https://git.enlightenment.org/devs/ami/smartobjects.git/plain/samples/argy/image_show.cpp
wget -c https://git.enlightenment.org/devs/ami/smartobjects.git/plain/samples/argy/pause.png

(gdb) where
#0 0x00007ffff6bf2267 in GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007ffff6bf3eca in
GI_abort () at abort.c:89
#2 0x00007fffebbe379d in eng_image_data_put (data=0x6baac0, image=0xa3b3e0, image_data=0x7ffff7e02000)

at modules/evas/engines/gl_generic/evas_engine.c:1000

#3 0x00007ffff79ef4b8 in evas_object_image_data_convert (eo_obj=<optimized out>,

to_cspace=EMILE_COLORSPACE_ARGB8888) at lib/evas/canvas/evas_object_image.c:1244

#4 0x0000000000401b09 in main () at image_show.cpp:72
(gdb) bt full
#0 0x00007ffff6bf2267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55

resultvar = 0
pid = 23027
selftid = 23027

#1 0x00007ffff6bf3eca in __GI_abort () at abort.c:89

save_stage = 2
act = {__sigaction_handler = {sa_handler = 0xa37b00, sa_sigaction = 0xa37b00}, sa_mask = {__val = {
      140737198783597, 10713856, 10714128, 1, 140737198787712, 10728416, 0, 7056336, 140737352048640, 0,
      7019368, 0, 9249516251893430272, 10728416, 7056064, 140737352048640}}, sa_flags = 0,
  sa_restorer = 0x6b1b68}
sigs = {__val = {32, 0 <repeats 15 times>}}

#2 0x00007fffebbe379d in eng_image_data_put (data=0x6baac0, image=0xa3b3e0, image_data=0x7ffff7e02000)

at modules/evas/engines/gl_generic/evas_engine.c:1000
    im = <optimized out>
    im2 = <optimized out>

#3 0x00007ffff79ef4b8 in evas_object_image_data_convert (eo_obj=<optimized out>,

to_cspace=EMILE_COLORSPACE_ARGB8888) at lib/evas/canvas/evas_object_image.c:1244
    obj = 0xa34af0
    o = 0xa34bf0
    data = 0x7ffff7e02000
    result = 0x0
    __FUNCTION__ = "evas_object_image_data_convert"

#4 0x0000000000401b09 in main () at image_show.cpp:72

ecoreEvas = 0x6ae580
evas = 0x8000000400000021
pImgObj = 0x8000000420000022
pData = 0x401c50 <__static_initialization_and_destruction_0(int, int)+59>
pConvertedData = 0x0
pBuffer = 0xa37db0 "\211PNG\r\n\032\n"
bufSize = 5675
width = 95
height = 92
err = EMILE_IMAGE_LOAD_ERROR_NONE
singh.amitesh updated the task description. (Show Details)
singh.amitesh raised the priority of this task from to Normal.
singh.amitesh assigned this task to jpeg.
singh.amitesh added a project: efl.
singh.amitesh renamed this task from Evas image: segv while converting an image data from AGRY88 to ARGB8888. to Evas image: segv while converting an image data from AGRY88 to ARGB8888 using evas_object_image_data_convert().Dec 28 2015, 11:12 PM