! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Ristretto crashes on VERY LARGE images
Status:
RESOLVED: MOVED
Product:
Ristretto
Component:
Application

Comments

Description Igor editbugs 2019-04-17 15:30:09 CEST
The crash is reproducible with this image (JPEG, 30000x22943 pixels, 181MB): https://commons.wikimedia.org/wiki/Template:In_the_Conservatory

Relevant part of the stack trace:
Thread 1 "ristretto" received signal SIGSEGV, Segmentation fault.
0x00007ffff2b784f5 in ?? () from /usr/lib/x86_64-linux-gnu/libpixman-1.so.0

#18 0x00007ffff6fcae35 in cairo_paint () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#19 0x0000000000414b90 in paint_image (ctx=0x65c900, widget=0x8bd4a0) at image_viewer.c:1434
#20 0x0000000000414b90 in rstto_image_viewer_paint (ctx=0x65c900, widget=0x8bd4a0) at image_viewer.c:1623
#21 0x0000000000414b90 in rstto_image_viewer_expose (widget=0x8bd4a0, event=<optimized out>) at image_viewer.c:646

If the "Limit rendering quality" setting is enabled, the image can be opened.
However, even with the setting disabled, the app shall not crash.
Comment 1 Git Bot editbugs 2020-05-25 00:32:45 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/ristretto/-/issues/27.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15296

Reported by:
Igor
Reported on: 2019-04-17
Last modified on: 2020-05-25

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
master

Attachments

Additional information