+-10MB file with >2 masked images crashes Inkscape1alpha while previewing... and file explorer too!
Steps to reproduce:
- open Inkscape 1.0alpha (9dee831, 2019-01-15)
- open "Open" dialog
- check "Enable preview"
- click on this downloaded file: https://www.pastefile.com/T2tp92 (can't upload here because of its size)
Alternative:
- Open Caja file explorer (from Mate desktop)
- Click on file (any view: list, icons, etc)
What happened?
- Inkscape crashes and says:
Emergency save activated!
(ld-linux-x86-64.so.2:14301): GLib-CRITICAL **: 10:42:34.765: g_path_get_dirname: assertion 'file_name != NULL' failed
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
Gtk-Message: 10:42:34.778: GtkDialog mapped without a transient parent. This is discouraged.
Alternative:
- Caja crashes
What should have happened?
- Programs not to crash
Inkscape Version and Operating System:
- Inkscape Version: 1.0alpha (9dee831, 2019-01-15)
- Operating System: Debian
- Operating System version: Buster
- Desktop: Mate
- Desktop version: 1.20.4-2~
Inkscape 0.92.4 (5da689c313, 2019-01-14) only shows this thumbnail:
What I think it's happening
I did several tests and I found that the problem is to have three or more masked +-3MB images. In this file, the mask is a blurred box, but it happens the same without blur. If I do the same with smaller image files, bug does not affect.
Inkscape screencast:
vokoscreen-2019-11-12_09-35-47_
Caja screencast:
Edited by Mario Mey