Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881387 - dev-util/meld: SIGTRAPs immediately (Settings schema 'org.gnome.meld' is not installed)
Summary: dev-util/meld: SIGTRAPs immediately (Settings schema 'org.gnome.meld' is not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-15 11:12 UTC by Sam James
Modified: 2022-12-05 11:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-15 11:12:50 UTC
$ meld
Trace/breakpoint trap

----

(gdb) r
Starting program: /usr/bin/python3.10 /usr/bin/meld
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe89046c0 (LWP 21730)]
[New Thread 0x7fffe3fff6c0 (LWP 21731)]
[New Thread 0x7fffe37fe6c0 (LWP 21732)]
[New Thread 0x7fffe2ffd6c0 (LWP 21733)]

Thread 1 "python3.10" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffb9c0, n_fields=4) at ../glib-2.74.1/glib/gmessages.c:563
563         G_BREAKPOINT ();
(gdb) bt
#0  g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffb9c0, n_fields=4) at ../glib-2.74.1/glib/gmessages.c:563
#1  0x00007fffe9cecc20 in g_log_default_handler
    (log_domain=log_domain@entry=0x7fffe9ab8b7c "GLib-GIO", log_level=log_level@entry=6, message=message@entry=0x5555558bdcd0 "Settings schema 'org.gnome.meld' is not installed", unused_data=unused_data@entry=0x0) at ../glib-2.74.1/glib/gmessages.c:3312
#2  0x00007fffe9cece87 in g_logv (log_domain=0x7fffe9ab8b7c "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib-2.74.1/glib/gmessages.c:1402
#3  0x00007fffe9ced10b in g_log
    (log_domain=log_domain@entry=0x7fffe9ab8b7c "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7fffe9adcc50 "Settings schema '%s' is not installed")
    at ../glib-2.74.1/glib/gmessages.c:1471
#4  0x00007fffe9a60e67 in g_settings_set_property (object=0x5555559352a0 [GSettings], prop_id=<optimized out>, value=<optimized out>, pspec=<optimized out>)
    at ../glib-2.74.1/gio/gsettings.c:596
#5  0x00007fffe9c1138d in object_set_property (object=0x5555559352a0 [GSettings], pspec=0x55555584d5d0 [GParamString], value=0x7fffffffbf10, nqueue=0x0, user_specified=<optimized out>)
    at ../glib-2.74.1/gobject/gobject.c:1794
#6  0x00007fffe9c11cb8 in g_object_new_internal (class=class@entry=0x55555585d000, params=params@entry=0x7fffffffbe10, n_params=n_params@entry=1) at ../glib-2.74.1/gobject/gobject.c:2273
#7  0x00007fffe9c13993 in g_object_new_valist (object_type=<optimized out>, first_property_name=<optimized out>, var_args=var_args@entry=0x7fffffffc0e0)
    at ../glib-2.74.1/gobject/gobject.c:2567
#8  0x00007fffe9c14025 in g_object_new (object_type=<optimized out>, first_property_name=<optimized out>) at ../glib-2.74.1/gobject/gobject.c:2040
#9  0x00007fffe9bf3ffa in ffi_call_unix64 () at /usr/src/debug/dev-libs/libffi-3.4.4/libffi-3.4.4/src/x86/unix64.S:104
#10 0x00007fffe9bf3434 in ffi_call_int (cif=0x555555954908, fn=0x7fffe9a61fc0 <g_settings_new>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>)
    at /usr/src/debug/dev-libs/libffi-3.4.4/libffi-3.4.4/src/x86/ffi64.c:673
#11 0x00007fffe9bf3b86 in ffi_call (cif=cif@entry=0x555555954908, fn=<optimized out>, rvalue=rvalue@entry=0x7fffffffc3a8, avalue=0x55555578f880)
    at /usr/src/debug/dev-libs/libffi-3.4.4/libffi-3.4.4/src/x86/ffi64.c:710
#12 0x00007fffe9e27ca1 in pygi_invoke_c_callable
    (function_cache=function_cache@entry=0x555555954860, state=state@entry=0x7fffffffc440, py_args=py_args@entry=('org.gnome.meld',), py_kwargs=py_kwargs@entry=0x0)
    at ../pygobject-3.42.2/gi/pygi-invoke.c:684
#13 0x00007fffe9e299b7 in _function_cache_invoke_real (py_kwargs=0x0, py_args=('org.gnome.meld',), state=0x7fffffffc440, function_cache=0x555555954860)
    at ../pygobject-3.42.2/gi/pygi-cache.c:783
#14 _constructor_cache_invoke_real (function_cache=0x555555954860, state=0x7fffffffc440, py_args=('org.gnome.meld',), py_kwargs=0x0) at ../pygobject-3.42.2/gi/pygi-cache.c:929
#15 0x00007fffe9e29b3f in pygi_function_cache_invoke
    (function_cache=<optimized out>, py_args=py_args@entry=(<GObjectMeta(__module__='gi.overrides.Gio', __doc__='Provide dictionary-like access to GLib.Settings.', __init__=<function at remote 0x7fffe8e2ad40>, __contains__=<function at remote 0x7fffe8e2add0>, __len__=<function at remote 0x7fffe8e2ae60>, __iter__=<function at remote 0x7fffe8e2aef0>, __bool__=<function at remote 0x7fffe8e2af80>, __nonzero__=<function at remote 0x7fffe8e2af80>, __getitem__=<function at remote 0x7fffe8e2b010>, __setitem__=<function at remote 0x7fffe8e2b0a0>, keys=<function at remote 0x7fffe8e2b130>, __gsignals__={}) at remote 0x5555557efe90>, 'org.gnome.meld'), py_kwargs=py_kwargs@entry=0x0) at ../pygobject-3.42.2/gi/pygi-cache.c:862
#16 0x00007fffe9e28669 in pygi_callable_info_invoke
    (user_data=0x0, cache=<optimized out>, kwargs=0x0, py_args=(<GObjectMeta(__module__='gi.overrides.Gio', __doc__='Provide dictionary-like access to GLib.Settings.', __init__=<function at remote 0x7fffe8e2ad40>, __contains__=<function at remote 0x7fffe8e2add0>, __len__=<function at remote 0x7fffe8e2ae60>, __iter__=<function at remote 0x7fffe8e2aef0>, __bool__=<function at remote 0x7fffe8e2af80>, __nonzero__=<function at remote 0x7fffe8e2af80>, __getitem__=<function at remote 0x7fffe8e2b010>, __setitem__=<function at remote 0x7fffe8e2b0a0>, keys=<function at remote 0x7fffe8e2b130>, __gsignals__={}) at remote 0x5555557efe90>, 'org.gnome.meld'), info=<optimized out>) at ../pygobject-3.42.2/gi/pygi-invoke.c:727
#17 0x00007fffe9e1949c in _callable_info_call (self=0x7fffe8e6ddf0, args=('org.gnome.meld',), kwargs=0x0) at ../pygobject-3.42.2/gi/pygi-info.c:548
#18 0x00007ffff7d4c697 in _PyObject_MakeTpCall (tstate=0x555555576880, callable=<gi.FunctionInfo at remote 0x7fffe8e6ddf0>, args=<optimized out>, nargs=1, keywords=<optimized out>)
    at Objects/call.c:215
#19 0x00007ffff7d48c51 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fffe9ed27d0, callable=<optimized out>, tstate=<optimized out>)
    at ./Include/cpython/abstract.h:112
#20 _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fffe9ed27d0, callable=<optimized out>, tstate=<optimized out>) at ./Include/cpython/abstract.h:99
#21 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fffe9ed27d0, callable=<optimized out>) at ./Include/cpython/abstract.h:123
#22 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, trace_info=0x7fffffffc610, tstate=<optimized out>) at Python/ceval.c:5891
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-15 11:15:25 UTC
This is enough to sort it:
```
diff --git a/dev-util/meld/meld-3.22.0-r1.ebuild b/dev-util/meld/meld-3.22.0-r1.ebuild
index 6d023ef276db..0a95ea070835 100644
--- a/dev-util/meld/meld-3.22.0-r1.ebuild
+++ b/dev-util/meld/meld-3.22.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{8..11} )
 PYTHON_REQ_USE="xml(+)"
 
-inherit gnome.org meson python-single-r1 xdg
+inherit gnome.org gnome2-utils meson python-single-r1 xdg
 
 DESCRIPTION="A graphical diff and merge tool"
 HOMEPAGE="http://meldmerge.org/"
@@ -64,11 +64,13 @@ src_install() {
 }
 
 pkg_postinst() {
+       gnome2_schemas_update
        xdg_icon_cache_update
        xdg_desktop_database_update
 }
 
 pkg_postrm() {
+       gnome2_schemas_update
        xdg_icon_cache_update
        xdg_desktop_database_update
 }
```
Comment 2 Larry the Git Cow gentoo-dev 2022-12-04 17:15:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f395bd59c413c4f7018e4cb32013ec8535a411bd

commit f395bd59c413c4f7018e4cb32013ec8535a411bd
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-12-04 17:13:12 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-12-04 17:15:35 +0000

    dev-util/meld: Do more postinst updates
    
    Closes: https://bugs.gentoo.org/870064
    Closes: https://bugs.gentoo.org/870067
    Closes: https://bugs.gentoo.org/881387
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/meld/{meld-3.22.0-r1.ebuild => meld-3.22.0-r2.ebuild} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-05 11:22:16 UTC
Thanks! I would've just fixed it myself but I don't feel confident with the gsettings bits.