[ubuntu-mono] [Bug 1769367] Re: Docky.exe assert failure: free(): invalid pointer

ichro furuya 1769367 at bugs.launchpad.net
Sat May 5 21:55:36 UTC 2018


*** This bug is a duplicate of bug 1758268 ***
    https://bugs.launchpad.net/bugs/1758268

$ docky
↓ (Continued, the second part)

Cairo.Surface is leaking, programmer is missing a call to Dispose
Set MONO_CAIRO_DEBUG_DISPOSE to track allocation traces

=== Dock finished booting ===
Here, when I use docklet's "Recent Documents", suddenly "Docky" crashes.

free(): invalid pointer
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) GLib.List.g_free (intptr) <0x0005f>
  at GLib.ListBase.Empty () <0x0013c>
  at GLib.ListBase.Dispose (bool) <0x0000f>
  at GLib.ListBase.Dispose () <0x00018>
  at Docky.Services.SystemService.LaunchWithFiles (GLib.File,System.Collections.Generic.IEnumerable`1<GLib.File>) <0x005eb>
  at Docky.Services.SystemService.Launch (GLib.File,System.Collections.Generic.IEnumerable`1<GLib.File>) <0x00703>
  at Docky.Services.SystemService.Open (System.Collections.Generic.IEnumerable`1<GLib.File>) <0x0001b>
  at Docky.Services.SystemService.Open (GLib.File) <0x00053>
  at Docky.Items.FileDockItem.Open () <0x0002b>
  at Docky.Items.FileDockItem.OnClicked (uint,Gdk.ModifierType,double,double) <0x00027>
  at Docky.Items.AbstractDockItem.Clicked (uint,Gdk.ModifierType,double,double) <0x0004a>
  at Docky.Menus.ProxyMenuItem.<ProxyMenuItem>m__0 (object,System.EventArgs) <0x00029>
  at Docky.Menus.MenuItem.SendClick () <0x00032>
  at Docky.Menus.MenuItemWidget.OnButtonReleaseEvent (Gdk.EventButton) <0x0002b>
  at Gtk.Widget.buttonreleaseevent_cb (intptr,intptr) <0x0008e>
  at (wrapper native-to-managed) Gtk.Widget.buttonreleaseevent_cb (intptr,intptr) <0x000b3>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00059>
  at Gtk.Application.Run () <0x0000b>
  at Docky.Docky.Main (string[]) <0x005eb>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000d1>

Native stacktrace:

	mono(+0xc8514) [0x56510a3f7514]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f50529fe890]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f5052421e97]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f5052423801]
	/lib/x86_64-linux-gnu/libc.so.6(+0x89897) [0x7f505246c897]
	/lib/x86_64-linux-gnu/libc.so.6(+0x9090a) [0x7f505247390a]
	/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4cc) [0x7f505247ae1c]
	[0x40af6030]

Debug info from gdb:

[New LWP 28034]
[New LWP 28035]
[New LWP 28036]
[New LWP 28037]
[New LWP 28053]
[New LWP 28055]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f50529fe23a in __waitpid (pid=28054, stat_loc=0x7ffcfe8ebc6c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30	../sysdeps/unix/sysv/linux/waitpid.c: そのようなファイルやディレクトリはありません.
  Id   Target Id         Frame 
* 1    Thread 0x7f50535be780 (LWP 28031) "docky" 0x00007f50529fe23a in __waitpid (pid=28054, stat_loc=0x7ffcfe8ebc6c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  2    Thread 0x7f50513ff700 (LWP 28034) "SGen worker" 0x00007f50529f99f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56510a8eaa08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  3    Thread 0x7f504f034700 (LWP 28035) "Finalizer" 0x00007f50529fc6d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x56510a8db640) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  4    Thread 0x7f503f0c9700 (LWP 28036) "gmain" 0x00007f50524f7bf9 in __GI___poll (fds=0x56510c05c120, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  5    Thread 0x7f503e8c8700 (LWP 28037) "gdbus" 0x00007f50524f7bf9 in __GI___poll (fds=0x56510c059540, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  6    Thread 0x7f502ad92700 (LWP 28053) "pool" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  7    Thread 0x7f502a591700 (LWP 28055) "pool" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 7 (Thread 0x7f502a591700 (LWP 28055)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f504db2ff2a in g_cond_wait_until () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f504dabd4f1 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f504db127a4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f504db11e05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f50529f36db in start_thread (arg=0x7f502a591700) at pthread_create.c:463
#6  0x00007f505250488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f502ad92700 (LWP 28053)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f504db2ff2a in g_cond_wait_until () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f504dabd4f1 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f504db127a4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f504db11e05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f50529f36db in start_thread (arg=0x7f502ad92700) at pthread_create.c:463
#6  0x00007f505250488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f503e8c8700 (LWP 28037)):
#0  0x00007f50524f7bf9 in __GI___poll (fds=0x56510c059540, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f504daea439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f504daea7d2 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f504e0d6e76 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f504db11e05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f50529f36db in start_thread (arg=0x7f503e8c8700) at pthread_create.c:463
#6  0x00007f505250488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f503f0c9700 (LWP 28036)):
#0  0x00007f50524f7bf9 in __GI___poll (fds=0x56510c05c120, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f504daea439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f504daea54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f504daea591 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f504db11e05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f50529f36db in start_thread (arg=0x7f503f0c9700) at pthread_create.c:463
#6  0x00007f505250488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f504f034700 (LWP 28035)):
#0  0x00007f50529fc6d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x56510a8db640) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem at entry=0x56510a8db640, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f50529fc7c8 in __new_sem_wait_slow (sem=0x56510a8db640, abstime=0x0) at sem_waitcommon.c:181
#3  0x000056510a513dc9 in ?? ()
#4  0x000056510a4f1be1 in ?? ()
#5  0x000056510a5b114a in ?? ()
#6  0x00007f50529f36db in start_thread (arg=0x7f504f034700) at pthread_create.c:463
#7  0x00007f505250488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f50513ff700 (LWP 28034)):
#0  0x00007f50529f99f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56510a8eaa08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56510a8eaa20, cond=0x56510a8ea9e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56510a8ea9e0, mutex=0x56510a8eaa20) at pthread_cond_wait.c:655
#3  0x000056510a57f863 in ?? ()
#4  0x00007f50529f36db in start_thread (arg=0x7f50513ff700) at pthread_create.c:463
#5  0x00007f505250488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f50535be780 (LWP 28031)):
#0  0x00007f50529fe23a in __waitpid (pid=28054, stat_loc=0x7ffcfe8ebc6c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x000056510a3f75f0 in ?? ()
#2  <signal handler called>
#3  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#4  0x00007f5052423801 in __GI_abort () at abort.c:79
#5  0x00007f505246c897 in __libc_message (action=action at entry=do_abort, fmt=fmt at entry=0x7f5052599b9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#6  0x00007f505247390a in malloc_printerr (str=str at entry=0x7f5052597d88 "free(): invalid pointer") at malloc.c:5350
#7  0x00007f505247ae1c in _int_free (have_lock=0, p=0x56510c27aa10, av=0x7f50527cec40 <main_arena>) at malloc.c:4157
#8  __GI___libc_free (mem=0x56510c27aa20) at malloc.c:3124
#9  0x0000000040af6030 in ?? ()
#10 0x000056510c27aa20 in ?? ()
#11 0x00007ffcfe8ed470 in ?? ()
#12 0x00007ffcfe8ed4d0 in ?? ()
#13 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.
=================================================================

中止 (コアダンプ)
$

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to docky in Ubuntu.
https://bugs.launchpad.net/bugs/1769367

Title:
  Docky.exe assert failure: free(): invalid pointer

Status in docky package in Ubuntu:
  New

Bug description:
  Ubuntu 18.04 LTS (Japanese environment)

  Docky version: 2.2.1.1-1
  Kernel version: 4.15.0.20

  When I use docklet's "Recent Documents" at "Docky", suddenly "Docky"
  will end. (Crash)

  The following URL address was displayed, but it can not be found.
  DuplicateOf
  https://bugs.launchpad.net/bugs/1758268

  Since I can not find known problems in automatic reporting, I reported
  it manually.

  ---

  In the previous time,
  A failure occurred with the following installation method.
  $ sudo apt update
  $ sudo apt install docky

  This has been reported.

  1. I right click on "Recent Documents".
  2. A list of document creation history appears.
  3. I clicked one from the list.
  4. The file opens in the "gedit" application.
  5. After that, we do not accept any input.
  I can not take screenshots.
  6. After a while, the dock suddenly disappeared from the desktop screen.
  7. After a while, the error report screen opened.
  "Application Docky suddenly ended."

  ---

  This time,
  I registered "ppa" and installed "docky".
  Since the version is the same, the same failure occurs.

  This report is about the trouble that occurred at that time.
  I sent it for troubleshooting reference.

  ---

  $ sudo apt --purge remove docky
  $ sudo apt autoremove
  ↓
  dpkg: Warning: During deletion of libmono-security4.0-cil, it could not be deleted because the directory '/usr/lib/mono' is not empty

  dpkg: Warning: During deletion of libmono-security4.0-cil, it could
  not be deleted because the directory '/etc/mono/certstore' is not
  empty

  $ sudo apt-add-repository ppa:docky-core/stable

  Now, since "bionic" is not supported, I corrected it.
  http://ppa.launchpad.net/docky-core/stable/ubuntu bionic main
  ↓
  http://ppa.launchpad.net/docky-core/stable/ubuntu artful main

  $ sudo apt update
  $ sudo apt upgrade
  $ sudo apt install docky
  ↓
  docky is already the latest version (2.2.1.1-1).

  Since the version is the same, the same failure occurs.

  ProblemType: Crash
  DistroRelease: Ubuntu 18.04
  Package: docky 2.2.1.1-1
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  AssertionMessage: free(): invalid pointer
  CrashCounter: 1
  CurrentDesktop: ubuntu:GNOME
  Date: Sat May  5 19:20:56 2018
  ExecutablePath: /usr/lib/docky/Docky.exe
  ExecutableTimestamp: 1441271557
  InstallationDate: Installed on 2018-05-04 (0 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  InterpreterPath: /usr/bin/mono-sgen
  PackageArchitecture: all
  ProcCmdline: mono /usr/lib/docky/Docky.exe
  ProcCwd: /home/ubn
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=ja_JP.UTF-8
   SHELL=/bin/bash
  Signal: 6
  SourcePackage: docky
  StacktraceTop:
   __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
   __GI_abort () at abort.c:79
   __libc_message (action=action at entry=do_abort, fmt=fmt at entry=0x7f2ec001bb9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
   malloc_printerr (str=str at entry=0x7f2ec0019d88 "free(): invalid pointer") at malloc.c:5350
   _int_free (have_lock=0, p=0x5648a618d790, av=0x7f2ec0250c40 <main_arena>) at malloc.c:4157
  Title: Docky.exe assert failure: free(): invalid pointer
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docky/+bug/1769367/+subscriptions




More information about the Ubuntu-mono mailing list