Subject: Bug#928029: planner: segfaulted; now segfaults on every start-up

From: Jonathan Dowland <[email-masked]>
Date: Fri, 26 Apr 2019 12:16:02 +0100

Package: planner
Version: 0.14.6-7
Severity: important

planner segfaulted me shortly after starting it for the first time
(upon inserting a new task); now, it segfaults upon each attempt to
start it.

▶ planner
Gtk-Message: 12:10:14.171: Failed to load module "canberra-gtk-module"

(planner:13551): GLib-GObject-CRITICAL **: 12:10:14.318: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(planner:13551): GLib-GObject-WARNING **: 12:10:14.319: invalid unclassed pointer in cast to 'GDelayedSettingsBackend'

(planner:13551): GLib-GObject-WARNING **: 12:10:14.319: invalid unclassed pointer in cast to 'GSettingsBackend'

(planner:13551): GLib-GIO-CRITICAL **: 12:10:14.319: g_settings_backend_path_changed: assertion 'G_IS_SETTINGS_BACKEND (backend)' failed

(planner:13551): GLib-GObject-CRITICAL **: 12:10:14.319: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
**
GLib-GObject:ERROR:../../../gobject/gobject.c:4447:g_weak_ref_set: assertion failed: (weak_locations != NULL)
Aborted (core dumped)

▶ gdb $(which planner) core
GNU gdb (Debian 8.2.1-2) 8.2.1
Copyright (C) 2018 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /usr/bin/planner...Reading symbols from /usr/lib/debug/.build-id/9c/0b4d0a054dc7d4d8e82b55d1663930716ae3f9.debug...done.
done.
[New LWP 13554]
[New LWP 13551]
[New LWP 13553]
[New LWP 13552]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `planner'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fc3e7ed98bb in raise () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7fc3e20cd700 (LWP 13554))]
(gdb) bt
#0  0x00007fc3e7ed98bb in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fc3e7ec4535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fc3e8222dc3 in g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, 
    func=0x7fc3e83662e8 <__FUNCTION__.15331> "g_weak_ref_set", message=<optimized out>) at ../../../glib/gtestutils.c:2596
#3  0x00007fc3e827c68a in g_assertion_message_expr (domain=domain@entry=0x7fc3e8363078 "GLib-GObject", 
    file=file@entry=0x7fc3e836528e "../../../gobject/gobject.c", line=line@entry=4447, 
    func=func@entry=0x7fc3e83662e8 <__FUNCTION__.15331> "g_weak_ref_set", 
    expr=expr@entry=0x7fc3e836570a "weak_locations != NULL") at ../../../glib/gtestutils.c:2619
#4  0x00007fc3e8341b26 in g_weak_ref_set (weak_ref=0x55e169ffe290, object=0x0) at ../../../gobject/gobject.c:4447
#5  0x00007fc3e8341b7b in g_weak_ref_clear (weak_ref=0x55e169ffe290) at ../../../gobject/gobject.c:4350
#6  0x00007fc3e84a6217 in g_settings_backend_invoke_closure (user_data=0x7fc3d806c040) at ../../../gio/gsettingsbackend.c:275
#7  0x00007fc3e84a6370 in g_settings_backend_dispatch_signal (backend=0x55e169c595d0, function_offset=8, 
    name=0x55e169fec000 "/org/gnome/planner/views/task-view/wbs/", origin_tag=0x0, names=0x0)
    at ../../../gio/gsettingsbackend.c:334
#8  0x00007fc3e3657f09 in dconf_engine_watch_established (reply=<optimized out>, error=<optimized out>, 
    handle=0x55e169fbf910, engine=0x55e169be6140) at ../engine/dconf-engine.c:963
#9  dconf_engine_watch_established (engine=0x55e169be6140, handle=0x55e169fbf910, reply=<optimized out>, 
    error=<optimized out>) at ../engine/dconf-engine.c:938
#10 0x00007fc3e365abec in dconf_gdbus_method_call_done (source=<optimized out>, result=<optimized out>, 
    user_data=user_data@entry=0x55e169fbf910) at ../gdbus/dconf-gdbus-thread.c:254
#11 0x00007fc3e8469719 in g_task_return_now (task=0x7fc3d80588d0) at ../../../gio/gtask.c:1148
#12 0x00007fc3e846a196 in g_task_return (task=0x7fc3d80588d0, type=<optimized out>) at ../../../gio/gtask.c:1206
#13 0x00007fc3e84bfb1a in g_dbus_connection_call_done (source=<optimized out>, result=0x7fc3d8009930, 
    user_data=user_data@entry=0x7fc3d80588d0) at ../../../gio/gdbusconnection.c:5715
#14 0x00007fc3e8469719 in g_task_return_now (task=0x7fc3d8009930) at ../../../gio/gtask.c:1148
#15 0x00007fc3e8469759 in complete_in_idle_cb (task=0x7fc3d8009930) at ../../../gio/gtask.c:1162
#16 0x00007fc3e8254dd8 in g_main_dispatch (context=0x55e169c6c160) at ../../../glib/gmain.c:3182
#17 g_main_context_dispatch (context=context@entry=0x55e169c6c160) at ../../../glib/gmain.c:3847
#18 0x00007fc3e82551c8 in g_main_context_iterate (context=context@entry=0x55e169c6c160, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#19 0x00007fc3e825525c in g_main_context_iteration (context=context@entry=0x55e169c6c160, may_block=may_block@entry=1)
    at ../../../glib/gmain.c:3981
#20 0x00007fc3e365affd in dconf_gdbus_worker_thread (user_data=0x55e169c6c160) at ../gdbus/dconf-gdbus-thread.c:82
#21 0x00007fc3e827d425 in g_thread_proxy (data=0x55e169b45c00) at ../../../glib/gthread.c:784
#22 0x00007fc3e806afa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#23 0x00007fc3e7f9b82f in clone () from /lib/x86_64-linux-gnu/libc.so.6

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages planner depends on:
ii  libart-2.0-2         2.3.21-4
ii  libatk1.0-0          2.30.0-2
ii  libc6                2.28-8
ii  libcairo2            1.16.0-4
ii  libgdk-pixbuf2.0-0   2.38.1+dfsg-1
ii  libglade2-0          1:2.6.4-2+b1
ii  libglib2.0-0         2.58.3-1
ii  libgnomecanvas2-0    2.30.3-4
ii  libgtk2.0-0          2.24.32-3
ii  libpango-1.0-0       1.42.4-6
ii  libpangocairo-1.0-0  1.42.4-6
ii  libpython2.7         2.7.16-1
ii  libxml2              2.9.4+dfsg1-7+b3
ii  libxslt1.1           1.1.32-2
ii  planner-data         0.14.6-7
ii  python               2.7.16-1
ii  shared-mime-info     1.10-1

Versions of packages planner recommends:
ii  gconf2       3.2.6-5
ii  planner-doc  0.14.6-7

planner suggests no packages.

-- no debconf information