Bug 1318385 - eog segfault with large png file
Summary: eog segfault with large png file
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: eog
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-16 17:43 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2018-05-29 11:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-29 11:54:47 UTC
Type: Bug


Attachments (Terms of Use)
file that confuses eog (285.09 KB, image/png)
2016-03-16 17:44 UTC, Zbigniew Jędrzejewski-Szmek
no flags Details

Description Zbigniew Jędrzejewski-Szmek 2016-03-16 17:43:49 UTC
Description of problem:
$ eog morphology-450.png
[3]    21818 segmentation fault (core dumped)  eog morphology-450.png

$ file morphology-450.png
morphology-450.png: PNG image data, 37058 x 16141, 4-bit colormap, non-interlaced

(gdb) bt 
#0  0x00007ffff73a2be8 in gnome_desktop_thumbnail_scale_down_pixbuf (pixbuf=pixbuf@entry=0x555555a54f00 [GdkPixbuf], dest_width=128, dest_height=55) at gnome-thumbnail-pixbuf-utils.c:130
#1  0x00007ffff7ba70ed in eog_thumbnail_load (data=<optimized out>, error=0x5555557e9160, pixbuf=0x555555a54f00 [GdkPixbuf]) at eog-thumbnail.c:126
#2  0x00007ffff7ba70ed in eog_thumbnail_load (image=0x7fffcc0459f0 [EogImage], error=error@entry=0x5555557e9160) at eog-thumbnail.c:504
#3  0x00007ffff7b90119 in eog_job_thumbnail_run (job=0x5555557e9140 [EogJobThumbnail]) at eog-jobs.c:1270
#4  0x00007ffff7b8eead in eog_job_scheduler (job=<optimized out>) at eog-job-scheduler.c:153
#5  0x00007ffff7b8eead in eog_job_scheduler (data=<optimized out>) at eog-job-scheduler.c:128
#6  0x00007ffff3bb9835 in g_thread_proxy (data=0x555555899280) at gthread.c:778
#7  0x00007ffff371d60a in start_thread (arg=0x7fffe11a4700) at pthread_create.c:334
#8  0x00007ffff3457a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

(gdb) bt full 
#0  0x00007ffff73a2be8 in gnome_desktop_thumbnail_scale_down_pixbuf (pixbuf=pixbuf@entry=0x555555a54f00 [GdkPixbuf], dest_width=128, dest_height=55) at gnome-thumbnail-pixbuf-utils.c:130
        source_width = 37058
        source_height = 16141
        s_x1 = <optimized out>
        s_y1 = 14674
        s_x2 = 290
        s_y2 = 14967
        s_xfrac = -126
        s_yfrac = -21
        dx = 289
        dy = 293
        x = <optimized out>
        y = 14674
        r = 0
        g = 0
        b = 0
        a = 0
        n_pixels = <optimized out>
        has_alpha = 1
        dest = 0x7fffcc061e60 ""
        src = 0x7ffebf09e0a0 <error: Cannot access memory at address 0x7ffebf09e0a0>
        xsrc = 0x7ffebf09e0a0 <error: Cannot access memory at address 0x7ffebf09e0a0>
        src_pixels = 0x7fff3d63a010 ""
        dest_pixbuf = 0x7fffcc002180 [GdkPixbuf]
        pixel_stride = 4
        source_rowstride = 148232
        dest_rowstride = <optimized out>
        __func__ = "gnome_desktop_thumbnail_scale_down_pixbuf"
#1  0x00007ffff7ba70ed in eog_thumbnail_load (data=<optimized out>, error=0x5555557e9160, pixbuf=0x555555a54f00 [GdkPixbuf]) at eog-thumbnail.c:126
        perc = <optimized out>
        width = 37058
        height = <optimized out>
        thumb = <optimized out>
        file = <optimized out>
        pixbuf = 0x555555a54f00 [GdkPixbuf]
        __func__ = "eog_thumbnail_load"
#2  0x00007ffff7ba70ed in eog_thumbnail_load (image=0x7fffcc0459f0 [EogImage], error=error@entry=0x5555557e9160) at eog-thumbnail.c:504
        thumb = <optimized out>
        file = <optimized out>
        pixbuf = 0x555555a54f00 [GdkPixbuf]
        __func__ = "eog_thumbnail_load"
#3  0x00007ffff7b90119 in eog_job_thumbnail_run (job=0x5555557e9140 [EogJobThumbnail]) at eog-jobs.c:1270
        job_thumbnail = 0x5555557e9140 [EogJobThumbnail]
        original_width = <optimized out>
        original_height = <optimized out>
        width = -518371584
        height = 32767
        pixbuf = <optimized out>
        __func__ = "eog_job_thumbnail_run"
#4  0x00007ffff7b8eead in eog_job_scheduler (job=<optimized out>) at eog-job-scheduler.c:153
        job = 0x5555557e9140 [EogJobThumbnail]
#5  0x00007ffff7b8eead in eog_job_scheduler (data=<optimized out>) at eog-job-scheduler.c:128
        job = 0x5555557e9140 [EogJobThumbnail]
#6  0x00007ffff3bb9835 in g_thread_proxy (data=0x555555899280) at gthread.c:778
        thread = <optimized out>
#7  0x00007ffff371d60a in start_thread (arg=0x7fffe11a4700) at pthread_create.c:334
        __res = <optimized out>
        pd = 0x7fffe11a4700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736969983744, 1497762524008281539, 140737488343471, 140736969983744, 8388608, 0, -1497766692365273661, -1497734986080586301}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
#8  0x00007ffff3457a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109


Version-Release number of selected component (if applicable):
eog-3.18.2-1.fc23.x86_64

How reproducible:
100%

Comment 1 Zbigniew Jędrzejewski-Szmek 2016-03-16 17:44:45 UTC
Created attachment 1137106 [details]
file that confuses eog

Comment 2 Fedora End Of Life 2017-07-25 20:20:15 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Zbigniew Jędrzejewski-Szmek 2017-07-25 23:03:20 UTC
With eog-3.24.1-1.fc26.x86_64 it doesn't crash!
But still doesn't show the picture:

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkPaned': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkBox': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkBox': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkBox': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'EogWindow': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkDrawingArea': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkOverlay': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'EogScrollView': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkOverlay': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkPaned': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkBox': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkBox': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkBox': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'EogWindow': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(eog:28861): Gtk-WARNING **: drawing failure for widget 'GtkDrawingArea': invalid value (typically too big) for the size of the input (surface, pattern
...

Comment 4 Fedora End Of Life 2018-05-03 08:42:59 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2018-05-29 11:54:47 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.