Ristretto crashes on VERY LARGE images
Submitted by Igor
Assigned to Xfce Bug Triage
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.