33

I make a selection of a part of an image because I want to crop it, and Pinta immediately crashes. I removed Pinta with purge and reinstalled, but the problem persists.

The error message is:

Pinta.exe assert failure: Error in usr/bin/mono: double free or corruption (out): 0x000005579etc.

In the UnreportableReason section of the error message I'm told that I have some obsolete package versions installed (libgssapi-krb-5-2, libk5crypto3, libkrb5-3, libkrb5support0, libssl1.0.0).

Upgraded, restarted, but I still get the crashes.

I use Ubuntu 17.04.

Any suggestions?

8
  • 1
    Did you do both sudo apt update and sudo apt upgrade?
    – Soren A
    Jun 17, 2017 at 14:27
  • No, I only did upgrade. Should I have run update as well? Jun 17, 2017 at 14:44
  • 2
    Fairly new with Ubuntu, I see that update should preceed upgrade. Is that right? Jun 17, 2017 at 14:46
  • 1
    Yes., sudo apt update updates the local database over available packages and versions thereof. sudo apt upgrade does the actual upgrade of your system's installed software.
    – Soren A
    Jun 17, 2017 at 15:01
  • 1
    Actually, Shutter isn't more featureful than Pinta, and the two are really for different purposes. Shutter is a screenshot tool with a built in editor, Pinta is a dedicated editor. If you are experiencing crashes, check here: help.ubuntu.com/community/ReportingBugs and here: askubuntu.com/questions/5121/how-do-i-report-a-bug
    – RolandiXor
    Aug 5, 2017 at 20:04

3 Answers 3

31
+350

Probably it's Mono problem and seemly v4.4.1 or older or dependently in some versions only.

Try once install/keep up-to-date the Mono by the following command (Ubuntu 18.04):

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-devel

Or in older Ubuntu please follow instructions mentioned here.

Sometimes installing mono-runtime package would be enough to fix that.

You may also need to follow 3rd step in instructions and do Installation Verification.

If Mono was working fine then you should not have crash problems when using crop in Pinta as well.

You may need to try with different versions of Mono to get it to work.

8
  • 1
    Okay, this did fix the problem apparently. seems the crash (which I mentioned in my now deleted comment) was unrelated.
    – RolandiXor
    Sep 18, 2017 at 7:49
  • At least you need to tell us in which version of Mono on Ubuntu 17.04 you get this fixed : ) Sep 18, 2017 at 9:18
  • What-ever came with that PPA (mono-devel is the package I installed but I didn't check the version, lol). Unfortunately, it seems not to have solved every issue. Certain actions are still producing an instantaneous crash, but there's nothing we can do - the developer hasn't had time to work on it (Pinta) in a while and no one else has stepped up. Maybe I can provide more details later (I should be sleeping).
    – RolandiXor
    Sep 18, 2017 at 9:33
  • 1
    Latest mono didn't work for me on 17.04. Any alternatives to pinta? Oct 20, 2017 at 21:45
  • 1
    Worked for me on Ubuntu 18. Official upgrade instructions are here: mono-project.com/download/stable/#download-lin Jul 31, 2018 at 18:27
11

Seems that default Ubuntu package of Pinta is 1.6 (check version with $ pinta --version). In Pinta 2.0 this issue is resolved, but you should try to install new version via snap:

sudo apt purge pinta
sudo snap install pinta

Big thanks for this answer: https://bugs.launchpad.net/pinta/+bug/1786822/comments/21

4
  • 1
    This did it for me.
    – klutt
    Jun 7, 2022 at 12:12
  • Glad it helps, I spent so much time to figure it out
    – dexpiper
    Jun 17, 2022 at 13:04
  • Should be the answer :)
    – Matthias
    Mar 15, 2023 at 17:14
  • worked for me :- ) apt just has a buggy version
    – gannex
    Apr 3 at 0:15
5

It is a known bug

Pinta constantly crashes in Ubuntu 18.04 fresh install

https://bugs.launchpad.net/pinta/+bug/1786822

Installing Mono MAY help (not guaranteed)

https://www.mono-project.com/download/stable/#download-lin

It seems like certain actions - for example drawing a selection box, clicking somewhere, then leaving Pinta for a bit, is a workaround for it not to crash. Not consistent enough to say with certainty.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .