Crash > Error in `/usr/bin/mono': munmap_chunk() ...

Bug #1720472 reported by Gre0
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Pinta
New
Undecided
Unassigned

Bug Description

Xubuntu 17.10 beta 2
Ubuntu Artful Aardvark (development branch)
Desktop: Xfce 4.12.3 (Gtk 2.24.31)
Kernel : 4.13.0-12-generic x86_64
gcc: 7.2.0
Graphics
Display Server: x11 (X.Org 1.19.3 )
drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
Resolution: 1600x900@60.00hz
OpenGL: renderer: AMD Radeon RX 480 Graphics
(AMD POLARIS10 / DRM 3.18.0 / 4.13.0-12-generic, LLVM 5.0.0)

------------------------------------------------------------

*** Error in `/usr/bin/mono': munmap_chunk(): invalid pointer: 0x0000557b675a6620 ***
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) GLib.SList.g_free (intptr) <0x0005f>
  at GLib.ListBase.Empty () <0x0013c>
  at GLib.ListBase.Dispose (bool) <0x0000f>
  at GLib.ListBase.Finalize () <0x0001d>
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) <0x00068>

Native stacktrace:

 /usr/bin/mono(+0xc8514) [0x557b6508d514]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x13150) [0x7fe5dd167150]
 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7fe5dcb940bb]
 /lib/x86_64-linux-gnu/libc.so.6(abort+0x16d) [0x7fe5dcb95f5d]
 /lib/x86_64-linux-gnu/libc.so.6(+0x8129d) [0x7fe5dcbde29d]
 /lib/x86_64-linux-gnu/libc.so.6(cfree+0x270) [0x7fe5dcbec610]
 [0x41bf5fd0]

Debug info from gdb:

[New LWP 12639]
[New LWP 12640]
[New LWP 12641]
[New LWP 12642]
[New LWP 12646]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fe5dcc65831 in __GI___poll (fds=0x557b67776220, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29 ../sysdeps/unix/sysv/linux/poll.c: Datei oder Verzeichnis nicht gefunden.
  Id Target Id Frame
* 1 Thread 0x7fe5ddce0780 (LWP 12638) "Main" 0x00007fe5dcc65831 in __GI___poll (fds=0x557b67776220, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  2 Thread 0x7fe5dbbff700 (LWP 12639) "SGen worker" 0x00007fe5dd162072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557b65580a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  3 Thread 0x7fe5d9834700 (LWP 12640) "Finalizer" 0x00007fe5dd166a4a in __waitpid (pid=12647, stat_loc=0x7fe5d983272c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
  4 Thread 0x7fe5cd3ee700 (LWP 12641) "gmain" 0x00007fe5dcc65831 in __GI___poll (fds=0x557b6705ef00, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  5 Thread 0x7fe5ccbed700 (LWP 12642) "gdbus" 0x00007fe5dcc65831 in __GI___poll (fds=0x557b670672b0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  6 Thread 0x7fe5b99b8700 (LWP 12646) "pool" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 6 (Thread 0x7fe5b99b8700 (LWP 12646)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fe5d26907ca in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fe5d261f2e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fe5d261f89c in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fe5d26730ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007fe5d2672605 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007fe5dd15b7fc in start_thread (arg=0x7fe5b99b8700) at pthread_create.c:465
#7 0x00007fe5dcc71a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe5ccbed700 (LWP 12642)):
#0 0x00007fe5dcc65831 in __GI___poll (fds=0x557b670672b0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fe5d264b129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fe5d264b4c2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fe5d3098ac6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007fe5d2672605 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007fe5dd15b7fc in start_thread (arg=0x7fe5ccbed700) at pthread_create.c:465
#6 0x00007fe5dcc71a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe5cd3ee700 (LWP 12641)):
#0 0x00007fe5dcc65831 in __GI___poll (fds=0x557b6705ef00, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fe5d264b129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fe5d264b23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fe5d264b281 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fe5d2672605 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007fe5dd15b7fc in start_thread (arg=0x7fe5cd3ee700) at pthread_create.c:465
#6 0x00007fe5dcc71a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe5d9834700 (LWP 12640)):
#0 0x00007fe5dd166a4a in __waitpid (pid=12647, stat_loc=0x7fe5d983272c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x0000557b6508d5f0 in ?? ()
#2 <signal handler called>
#3 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#4 0x00007fe5dcb95f5d in __GI_abort () at abort.c:90
#5 0x00007fe5dcbde29d in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fe5dcd05408 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:181
#6 0x00007fe5dcbec610 in malloc_printerr (ar_ptr=0x0, ptr=<optimized out>, str=0x7fe5dcd05720 "munmap_chunk(): invalid pointer", action=<optimized out>) at malloc.c:5423
#7 munmap_chunk (p=<optimized out>) at malloc.c:2877
#8 __GI___libc_free (mem=<optimized out>) at malloc.c:3135
#9 0x0000000041bf5fd0 in ?? ()
#10 0x0000557b675a6620 in ?? ()
#11 0x0000557b66d2ef50 in ?? ()
#12 0x0000557b66d2ef50 in ?? ()
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe5dbbff700 (LWP 12639)):
#0 0x00007fe5dd162072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557b65580a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x557b65580a20, cond=0x557b655809e0) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x557b655809e0, mutex=0x557b65580a20) at pthread_cond_wait.c:655
#3 0x0000557b65215863 in ?? ()
#4 0x00007fe5dd15b7fc in start_thread (arg=0x7fe5dbbff700) at pthread_create.c:465
#5 0x00007fe5dcc71a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe5ddce0780 (LWP 12638)):
#0 0x00007fe5dcc65831 in __GI___poll (fds=0x557b67776220, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fe5d264b129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fe5d264b4c2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fe5d8903727 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4 0x0000000041be195a in ?? ()
#5 0x00007ffe2418f8a0 in ?? ()
#6 0x00007ffe2418f890 in ?? ()
#7 0x00007fe5dbc00950 in ?? ()
#8 0x00007fe5dbc00d60 in ?? ()
#9 0x00007fe5dbc00db0 in ?? ()
#10 0x0000557b66d63cb0 in ?? ()
#11 0x0000000041ac46d0 in ?? ()
#12 0x00007ffe2418f420 in ?? ()
#13 0x00007ffe2418f2d0 in ?? ()
#14 0x0000000041be18ec in ?? ()
#15 0x00007ffe2418f420 in ?? ()
#16 0x0000000041ac4688 in ?? ()
#17 0x00007fe5dbc021f0 in ?? ()
#18 0x00007fe5dbc00788 in ?? ()
#19 0x00007fe5dbc021f0 in ?? ()
#20 0x00007fe5dbc0e120 in ?? ()
#21 0x00007fe5dbc00788 in ?? ()
#22 0x00007fe5dbc021f0 in ?? ()
#23 0x00007fe5dbc0e720 in ?? ()
#24 0x00007fe5dbc00788 in ?? ()
#25 0x00007fe5dbc021f0 in ?? ()
#26 0x00007fe5dbc0ecd8 in ?? ()
#27 0x00007fe5dbc00400 in ?? ()
#28 0x0000000000000000 in ?? ()

=================================================================
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.
=================================================================

Abgebrochen

Revision history for this message
twdkeule (twdkeule) wrote :

This also affects me (consistently) on Ubuntu 17.10.

Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
pinta 1.6

Revision history for this message
twdkeule (twdkeule) wrote :

I updated Mono to 5.4.1 using their PPA (http://www.mono-project.com/download/) and the issue seems to be resolved.

Mono JIT compiler version 5.4.1.6 (tarball Wed Nov 8 20:37:08 UTC 2017)

Revision history for this message
Magnus Helander (mhelander) wrote :

Pinta 1.6 on Ubuntu 18.04.1

Pinta Crashed with *** Error in `/usr/bin/mono': free(): invalid pointer:
when trying to select area

Followed #2 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.

Revision history for this message
Anders Øyvind Urke-Sætre (andersoyvind) wrote :

>lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic

Revision history for this message
Anders Øyvind Urke-Sætre (andersoyvind) wrote :

"Installing mono-devel" meaning using the suggested workaround above (twdkeule)

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.