Page MenuHomePhabricator

SIGABRT on JPEG with TIFF DATA loaded with an exif rotation.
Closed, ResolvedPublic


Error loading a JPEG image containing TIFF data with an exif rotation.
The free of pixel poses problem.
I work around the problem by commenting on the free.

file Scan\ 28\ novembre\ 2019.jpg 
Scan 28 novembre 2019.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=7, orientation=upper-right, xresolution=98, yresolution=106, resolutionunit=2, datetime=2019:11:28 19:36:34], comment: " SANE data follows", progressive, precision 8, 1275x1753, frames 1
Thread 63 "Evas-preload" received signal SIGABRT, Aborted.
[Switching to Thread 0x7f84727fc700 (LWP 15457)]
0x00007f84ab66efff in raise () from target:/lib/x86_64-linux-gnu/
(gdb) bt
#0  0x00007f84ab66efff in raise () from target:/lib/x86_64-linux-gnu/
#1  0x00007f84ab67042a in abort () from target:/lib/x86_64-linux-gnu/
#2  0x00007f84ab6acc00 in ?? () from target:/lib/x86_64-linux-gnu/
#3  0x00007f84ab6b2fc6 in ?? () from target:/lib/x86_64-linux-gnu/
#4  0x00007f84ac599b94 in _emile_jpeg_data (image=0x5649a185dfa0, prop=0x7f84727fb7a0, property_size=<optimized out>, pixels=0x7f849d81a000, error=0x7f84727fb754) at ../src/lib/emile/emile_image.c:2308
#5  0x00007f84ae828684 in evas_image_load_file_data_jpeg (loader_data=0x5649a185f4a0, prop=0x7f84727fb7a0, pixels=0x7f849d81a000, error=0x7f84727fb79c) at ../src/modules/evas/image_loaders/jpeg/evas_image_load_jpeg.c:109
#6  0x00007f84ae6caa53 in evas_common_load_rgba_image_data_from_file (ie=0x5649a185f1e0) at ../src/lib/evas/common/evas_image_load.c:484
#7  0x00007f84ae810721 in _evas_cache_image_async_heavy (data=0x5649a185f1e0) at ../src/lib/evas/cache/evas_cache_image.c:355
#8  0x00007f84ad0c8a90 in ?? () from target:/usr/lib/x86_64-linux-gnu/
#9  0x00007f84ad0c8d4d in ?? () from target:/usr/lib/x86_64-linux-gnu/
#10 0x00007f84abeadabf in ?? () from target:/usr/lib/x86_64-linux-gnu/
#11 0x00007f84ab9e24a4 in start_thread () from target:/lib/x86_64-linux-gnu/
#12 0x00007f84ab724d0f in clone () from target:/lib/x86_64-linux-gnu/
thierry1970 updated the task description. (Show Details)Dec 2 2019, 1:13 AM
raster added a comment.EditedDec 2 2019, 1:47 AM

commenting that out isn't the right thing... do you have the image? i suspect it's _jpeg_gry8_convert_copy() messing up the ptr... cat you try this patch instead:



raster added a comment.Dec 2 2019, 6:08 AM

try this instead then: