Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • inkscape inkscape
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,525
    • Issues 1,525
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 137
    • Merge requests 137
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Inkscape
  • inkscapeinkscape
  • Issues
  • #1912
Closed
Open
Created Oct 06, 2020 by Daniel@daniel0110

Crashing applying clip to a shape and raster image

Summary:

Applying a clipping mask with a rectangle or an ellipse over a PNG (linked or embed) results in a segmentation fault

Steps to reproduce:

  • open Inkscape
  • go to Preferences > Behavior > Clippaths and Masks
  • change "Before Applying" to "Put every clipped/masked object in its own group"
  • close Inkscape
  • open the clip-test.svg in Inkscape
  • select the circle and picture
  • apply set clip

What happened?

It is displayed a pop-up message that says: "Inkscape has encountered an internal issue" and then crash.

inkscape --dbus-listen

** (org.inkscape.Inkscape:7409): WARNING **: 00:27:43.541: Attempting to translate an empty string in extension 'hardpixel.eu.generate_palette', which is not supported.

** (org.inkscape.Inkscape:7409): WARNING **: 00:27:43.541: Attempting to translate an empty string in extension 'hardpixel.eu.generate_palette', which is not supported.

** (org.inkscape.Inkscape:7409): WARNING **: 00:27:43.579: Failed to find resource file 'simplestyle.py'. Looked in:
	/home/myuser/.config/inkscape/extensions/simplestyle.py
	/usr/share/inkscape/extensions/simplestyle.py

** (org.inkscape.Inkscape:7409): WARNING **: 00:27:43.590: Failed to find resource file 'simplestyle.py'. Looked in:
	/home/myuser/.config/inkscape/extensions/simplestyle.py
	/usr/share/inkscape/extensions/simplestyle.py

** (org.inkscape.Inkscape:7409): WARNING **: 00:27:43.618: Fonts dir '/usr/share/inkscape/fonts' does not exist and will be ignored.

** (org.inkscape.Inkscape:7409): WARNING **: 00:27:43.618: Fonts dir '/home/myuser/.config/inkscape/fonts' does not exist and will be ignored.

(org.inkscape.Inkscape:7409): Gtk-CRITICAL **: 00:27:44.786: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher

[ MANY OF THESE...]

(org.inkscape.Inkscape:7409): Gtk-CRITICAL **: 00:27:56.517: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.

(org.inkscape.Inkscape:7409): Gtk-CRITICAL **: 00:28:04.094: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher

[ MANY OF THESE...]

(org.inkscape.Inkscape:7409): Gtk-CRITICAL **: 00:28:04.482: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher

Segmentation fault

Backtrace from comments: inkscape-backtrace-clip-image.txt

What should have happened?

Applying the clipping mask without crashing.

Sample attachments:

clip-test.svg

Backtrace from comments: inkscape-backtrace-clip-image.txt

Preferences file: preferences.xml.old2

Version Info:

Inkscape 1.0.1 (3bc2e813f5, 2020-09-07)
    Pango version: 1.46.2
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera/ceres)
Release:	testing/unstable
Codename:	n/a
Edited Oct 06, 2020 by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking