Public bug reported:
example XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="de.name.service">
<!-- generated -->
<property name="status/device" type="ay" access="readwrite">
<annotation name="org.gtk.GDBus.C.Name" value="device"/>
<annotation name="org.gtk.GDBus.C.ForceGVariant" value="true"/>
</property>
<!-- generated -->
</interface>
</node>
gdbus-codegen creates function "de_name_service_proxy_get_property" and
tries to "g_value_set_variant(&value, variant);" but the variant
variable is not initialized yet. The line "g_value_init(&value,
G_TYPE_VARIANT);" is missing.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libglib2.0-dev 2.80.0-6ubuntu3.8
ProcVersionSignature: Ubuntu 6.17.0-108014.14~24.04.1tux1-tuxedo 6.17.9
Uname: Linux 6.17.0-108014-tuxedo x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Mon Mar 16 09:18:44 2026
SourcePackage: glib2.0
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.apport: [modified]
mtime.conffile..etc.default.apport: 2025-03-18T11:19:52.463997
** Affects: glib2.0 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble third-party-packages wayland-session
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2144532
Title:
gdbus-codegen does not alway init GVariant
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/2144532/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs