35

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?

αғsнιη
  • 36,350

3 Answers3

31

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.

αғsнιη
  • 36,350
13

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

dexpiper
  • 131
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.