Geary core Dump

After last updates, geary crash with this:

malloc(): invalid next size (unsorted)
zsh: abort (core dumped) geary

I’ve tried these:

Downgrade Geary
Restore default parameters of Geary with dconf-editor
Delete geary directories in .config and .local of my home directory and reboot.
Delete and reinstall Geary

The only thing fully functionnal had to create a new user account and launch geary in this new account. That’s not an acceptable solution.

Anyone can help me to fix this ?

OS: Manjaro (last updated)

If you could please take a look at the tips in Creating Quality Backtraces for Crash Reports – Michael Catanzaro's Blog it would definitely help the Geary developers to have a better understanding of what’s causing the crash.

My dump:

GNU gdb (GDB) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from geary...
(No debugging symbols found in geary)
(gdb) run
Starting program: /usr/bin/geary --debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffec5f3640 (LWP 8059)]
[New Thread 0x7fffebdf2640 (LWP 8060)]
 [deb] 14:43:41.0680 GLib-GIO:_g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
 [deb] 14:43:41.0724 GLib:unsetenv() is not thread-safe and should not be used after threads are created
 [deb] 14:43:41.0724 Gtk:Connecting to session manager
 [deb] 14:43:41.0730 GLib-GIO:_g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
 [deb] 14:43:41.0730 dconf:watch_fast: "/org/gnome/Geary/" (establishing: 0, active: 0)
[New Thread 0x7fffeae39640 (LWP 8061)]
 [deb] 14:43:41.0731 dconf:watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
 [deb] 14:43:41.0731 dconf:watch_established: "/org/gnome/Geary/" (establishing: 1)
 [deb] 14:43:41.0731 dconf:watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
 [msg] 14:43:41.0734 geary:application-client.vala:984: Geary 40.0 (tags/gnome-40.0-0-ge561775c1) prefix=/usr exec_dir=/usr/bin is_installed=true
[New Thread 0x7fffea638640 (LWP 8062)]
[New Thread 0x7fffe94ff640 (LWP 8063)]
[Detaching after fork from child process 8064]
[New Thread 0x7fffe8cfe640 (LWP 8065)]
 [deb] 14:43:41.0854 dconf:watch_fast: "/org/freedesktop/folks/" (establishing: 0, active: 0)
 [deb] 14:43:41.0854 dconf:watch_established: "/org/freedesktop/folks/" (establishing: 1)
 [deb] 14:43:41.0856 geary:application-plugin-manager.vala:599: Loading autoload plugin: desktop-notifications
 [deb] 14:43:41.0859 geary:application-plugin-manager.vala:599: Loading autoload plugin: special-folders
 [deb] 14:43:41.0861 geary:application-plugin-manager.vala:599: Loading autoload plugin: folder-highlight
 [deb] 14:43:41.0863 geary:application-plugin-manager.vala:599: Loading autoload plugin: notification-badge
 [deb] 14:43:41.0865 geary:util-migrate.vala:153: Migrating release config from /home/elyoake/.var/app/org.gnome.Geary/config/geary to /home/elyoake/.config/geary
 [deb] 14:43:41.0865 Gcr:starting initialize of registered modules
[New Thread 0x7fff9bffd640 (LWP 8066)]
[New Thread 0x7fff9ac0b640 (LWP 8068)]
 [deb] 14:43:41.0925 dconf:watch_fast: "/org/gnome/evolution/" (establishing: 0, active: 0)
[New Thread 0x7fff9a40a640 (LWP 8069)]
 [deb] 14:43:41.0926 dconf:watch_established: "/org/gnome/evolution/" (establishing: 1)
[New Thread 0x7fff99c09640 (LWP 8070)]
[New Thread 0x7fff99408640 (LWP 8071)]
[New Thread 0x7fff98a90640 (LWP 8072)]
*[wrn] 14:43:41.0945 folks:Failed to find primary PersonaStore with type ID 'eds' and ID 'f8683c5a9844899fdb9cf6246691169855809a0c'.
Individuals will not be linked properly and creating new links between Personas will not work.
The configured primary PersonaStore's backend may not be installed. If you are unsure, check with your distribution.

Thread 1 "geary" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff7cd3066 in geary_logging_write_record () from /usr/lib/geary/libgeary-client-40.0.so```

After started geary with that:

valgrind --track-origins=yes geary

Geary started, and now no more problems, but I don’t understand WHY ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.