pinta crashes with a mono error when trying to edit images

Bug #1686173 reported by Ted Crilly on 2017-04-25
64
This bug affects 11 people
Affects Status Importance Assigned to Milestone
pinta (Ubuntu)
Undecided
Unassigned

Bug Description

After upgrading to 17.04, I noticed that pinta crashed all the time with issues related to mono. I thought maybe some library was not up to date and reinstalled pinta and mono, but no luck.

I have attached the stack trace to this report
*** Error in `/usr/bin/mono': free(): invalid pointer: 0x000055b5ef57ae60 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7fd4f620608b]
/lib/x86_64-linux-gnu/libc.so.6(+0x826fa)[0x7fd4f620f6fa]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fd4f621312c]
[0x41212c10]
.....
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pinta (Ubuntu):
status: New → Confirmed

Interestingly, I can't get it to crash when I run `pinta` in a terminal. If I use the desktop launcher, however, it crashes if I try to do anything more than "save as."

For me the error starts when I press the OPEN FILE button (or inside the menu) on Pinta to open an image, it opens up and then the app crashes almost immediately. Instead, if I go direct to the image on directory and Right Click it selecting to open in Pinta, the app work as expected. Dragging the file inside the opened app will work as well.

Mike Holmes (mike-holmes) wrote :

Save fails for me, if start from the terminal I get

mike@mike-desktop:~$ pinta
*** Error in `/usr/bin/mono': double free or corruption (out): 0x000056419461d1b0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7fc5ca3bd08b]
/lib/x86_64-linux-gnu/libc.so.6(+0x82c3a)[0x7fc5ca3c6c3a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fc5ca3cad2c]
[0x40c45b50]
....
..

mborodin (m-borodin80) wrote :

When I open picture and try to select area, I'm getting the same error:

maxim@maxim-laptop:~$ pinta
*** Error in `/usr/bin/mono': free(): invalid pointer: 0x00007fae1c0012a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7fae5383908b]
/lib/x86_64-linux-gnu/libc.so.6(+0x82c3a)[0x7fae53842c3a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fae53846d2c]
[0x40dc6c50]
======= Memory map: ========
4080c000-4081c000 rwxp 00000000 00:00 0
40c83000-40dc7000 rwxp 00000000 00:00 0
..

twdkeule (twdkeule) wrote :

I had a related issue (https://bugs.launchpad.net/pinta/+bug/1720472) and updating \Mono to 5.4.1 using their PPA (http://www.mono-project.com/download/) resolved the issue.

Magnus Helander (mhelander) wrote :

Pinta 1.6 on Ubuntu 18.04.1
Pinta Crashed with *** Error in `/usr/bin/mono': free(): invalid pointer:
Followed #7 twdkeule and added Mono PPA, updated to
Mono JIT compiler version 5.14.0.177 (tarball Mon Aug 6 09:07:45 UTC 2018)
Issues resolved - Pinta stable.

Fabian (fabianroeling) wrote :

The fix in the last version worked for me, using Debian 9.11 and Pinta 1.6. Can this then be closed and moved over to a Mono bug report? Or can it simply be closed, because the latest Mono version already fixes it?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Bug attachments