Inkscape.org
Beyond the Basics Inkscape crashes when using patterns
  1. #1
    mssv mssv @mssv

    Hello ! 

    I've been using Inkscape since a few years without major issues. A few months ago, as I was working on illustrations filled with patterns, Inkscape crashed (all windows closed) And I was never abble to open the file I was using again. Now, inkscape works fine... Except when I use patterns. Any pattern would make Inkscape crash almost instantly, wether it is a new file, or a file I made previously when patterns worked fine. Luckily, I never happened to have a file I could not use again - just can't use any kind of patterns. 

    I've updated inkscape and my OS (right now I'm using Ubuntu 19.10 but had the same issue with previous versions) , completely deleted and reinstalled inkscape, removed any extensions I could have.

    Sometimes, Inkscape just regularly crashes - everything just close suddendly - and sometimes I have an error message telling me Inkscape had an error and would close... But it just freezes, does not close, and I can't do anything. Some other times it also makes my computer to freeze. So I have zero idea what's happening, and I don't know if the problem id from Inkscape, or from my computer. Note that I only have this issue with Inkscape, I tried several programs like Gimp, Krita, film editor etc with no problem. 

    Does anyone has an idea ? I use inkscape a lot for my job and not being using pattern for technical illustrations is getting very limiting. 

    Thanks !

  2. #2
    Maren Hachmann Maren Hachmann @Moini

    Mmh, interesting. Do you have any custom filter files?

    Can you share one of the affected files?

    And have you tried to delete / backup your user preferences?

    Easiest way to determine whether it's related to any custom settings:

    • close Inkscape
    • rename /home/<username>/.config/inkscape to /home/<username>/.config/inkscape.bak

    The directory will be recreated on the next start of Inkscape.

    If it works now, it was due to something in your user configuration.

  3. #3
    mssv mssv @mssv

    Hi Maren, thanks for your answer!

    I already tried to reset the custom settings as you said, but I did not worked. 

    I just tried a few things and discovered something interesting.

    - If I try to fill a shape that's part of a group with a pattern (I just use the patterns provided in inkscape, not customs) it works until I try to remove the pattern and fill it with a color. That's when it crashes.
    - However, if I try to fill the shape with a pattern on an object that is not part of a group... Then it works. 
    - But if I try the same thing with a custom pattern, it crashes, wether the object is part of a group or not. 
    - If I try a custom pattern on ligh ter file, then it works, if the object is not part of a group. 

    I don't know much about computers, but if I remember correctly I have around 16GiB of ram wich I think should be enough for what I'm trying to do. 

    If you're interested, here is the file where I can use a custom pattern : https://drive.google.com/file/d/1el4keKKYjyU0FytGMHZ3UEmnEYOmF0rj/view?usp=sharing
    And here is the file where I can't use the pattern : https://drive.google.com/file/d/1fLTS-tGr-60tlYQ_OdifLud4n1QWRwwK/view?usp=sharing

    The pattern I use is the black and white square with dots. Works fine on file 1, not on file 2. 

     

  4. #4
    Maren Hachmann Maren Hachmann @Moini

    I can reproduce the first issue (select an object in file 1, paste pattern on it, select a flat fill color from the palette) with Inkscape 0.92.4.

    I cannot reproduce it with 1.0beta.

    So it seems that this issue has been fixed. Can you confirm? (get a current AppImage from https://inkscape.org/release/master/gnulinux/ )

  5. #5
    Tyler Durden Tyler Durden @TylerDurden

    Issues not reproduced in Inkscape 0.92.2 (5c3e80d, 2017-08-06), Win 8.1.

  6. #6
    mssv mssv @mssv

    It's working with the 1.0beta ! THANK YOU so much. 

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Inkscape crashes when using patterns