Discussion:
[Bug 1740522] [NEW] GLib: g_variant_new_string: assertion 'string != NULL' failed
Federated Jam
2017-12-29 17:05:53 UTC
Permalink
Public bug reported:

I saw this in the Logs application

gdm3
GLib: g_variant_new_string: assertion 'string != NULL' failed

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gdm3 3.26.1-3ubuntu3
Uname: Linux 4.14.7-041407-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 29 17:01:28 2017
InstallationDate: Installed on 2017-12-19 (9 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.gdm3.custom.conf: 2017-12-19T18:13:29.216565

** Affects: gdm3 (Ubuntu)
Importance: Undecided
Status: New


** Tags: amd64 apport-bug artful
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.ubuntu.com/mai
Daniel van Vugt
2018-01-02 09:43:47 UTC
Permalink
Sounds like a problem with gnome-terminal:

Dec 27 12:51:56 hostname gnome-terminal-[5255]: g_variant_new_string: assertion 'string != NULL' failed
Dec 27 12:51:56 hostname gnome-terminal-[5255]: g_variant_new_variant: assertion 'value != NULL' failed
Dec 27 12:51:56 hostname gnome-terminal-[5255]: g_variant_get_type: assertion 'value != NULL' failed

What makes you say it's a gdm3 bug?

** Changed in: gdm3 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/lis
Federated Jam
2018-01-03 15:21:50 UTC
Permalink
According to the Logs application, the sender of the message was gdm3,
so it seemed a reasonable guess.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/d
Daniel van Vugt
2018-01-04 01:56:03 UTC
Permalink
Probably both are true... A quick google shows many apps experiencing
that same assertion failure.

If you'd like to keep this bug about the gdm3 case then we'll need some
log file(s) (or screenshots?) of the problem being reported against
gdm3. I'm hoping for a little bit more contextual information.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.u
Federated Jam
2018-01-04 10:26:24 UTC
Permalink
I also saw many comments about this via the web, but didn't see any bugs
people could track the situation with.

The screenshot that informed my report is attached.

If there's any more information that will help find the root cause, I'm
happy to provide it.

** Attachment added: "Screenshot of the Logs application showing an assertion error, sent from gdm3"
Loading Image...
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lis
Federated Jam
2018-01-04 10:49:07 UTC
Permalink
It would be an easy fix if the assertion message printed the backtrace
of the apps calling in glib.

I wonder if the system packages are compiled in RelWithDbgInfo by
default, so that a stacktrace would be useful in release for fixing bugs
like this. I wonder if there's a way to extend G_DEBUG with a "slient-
stacktraces" option that would report a core file to the system on each
critical/warning, because I assume it's in Ubunutu's best interests to
fix all of these they can, but of course you don't want all the apps
crashing, so G_DEBUG=fatal-criticals doesn't seem it will work.

(Very much a newbie to Ubuntu and GNOME, just wondering...)
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://list
Daniel van Vugt
2018-01-05 01:57:39 UTC
Permalink
Thanks. Confirmed, but it doesn't seem to be causing any serious problem
right now (?)

I can see the error against gdm3 in Ubuntu 18.04 too, by running:

journalctl /usr/sbin/gdm3


** Changed in: gdm3 (Ubuntu)
Importance: Undecided => Low

** Changed in: gdm3 (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
htt
Daniel van Vugt
2018-01-05 02:02:05 UTC
Permalink
Next step: Please report the issue to the GDM developers using this
link:

https://bugzilla.gnome.org/enter_bug.cgi?product=gdm

And when done, tell us the ID of the newly-created bug.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.ubunt
Federated Jam
2018-01-05 10:57:02 UTC
Permalink
but it doesn't seem to be causing any serious problem right now (?)
At the moment I have an issue where *sometimes* when I return to my
computer and the screen has gone to sleep, it takes an incredibly long
time to show me the login prompt.

Could be my graphics driver (polaris) or the login manager (gdm) or
maybe something I have no idea about it. So maybe it is serious, maybe
not.

ID of new bug https://bugzilla.gnome.org/show_bug.cgi?id=792236

** Bug watch added: GNOME Bug Tracker #792236
https://bugzilla.gnome.org/show_bug.cgi?id=792236
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop
Daniel van Vugt
2018-01-08 08:32:58 UTC
Permalink
That is highly likely unrelated to the log messages we're talking about.
Please ensure your two issues have two different bug reports.

** Also affects: gdm via
https://bugzilla.gnome.org/show_bug.cgi?id=792236
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.ubu
crazyzubr
2018-03-19 06:58:16 UTC
Permalink
I have this bug on Ubuntu 18.04. My log for gdm3:

Mar 19 09:50:59 hostname systemd[1]: Stopping GNOME Display Manager...
Mar 19 09:50:59 hostname gdm3[1081]: Freeing conversation 'gdm-password' with active job
Mar 19 09:50:59 hostname gdm3[1081]: Child process -1118 was already dead.
Mar 19 09:50:59 hostname gdm3[1081]: Child process -1118 was already dead.
Mar 19 09:50:59 hostname gdm3[1081]: GLib: g_variant_new_string: assertion 'string != NULL' failed
Mar 19 09:50:59 hostname gdm3[1081]: Failed to contact accountsservice: Ошибка вызова StartServiceByName для org.freedesktop.Accounts: GDBus.Error:org.freedesktop.systemd1.ShuttingDown: Refusing activation,
Mar 19 09:50:59 hostname gdm3[1081]: GLib: g_hash_table_find: assertion 'version == hash_table->version' failed
Mar 19 09:50:59 hostname systemd[1]: Stopped GNOME Display Manager.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/
Oleksandr Vakhovskyi
2018-05-12 17:58:22 UTC
Permalink
I have the same problem after upgrading ubuntu from 17.10 to 18.04. And GUI doesn't start.
What should I do?
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.c
Daniel van Vugt
2018-05-16 02:55:30 UTC
Permalink
If this bug is a problem for you then please ask the gdm developers to prioritize it here:
https://bugzilla.gnome.org/show_bug.cgi?id=792236
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1740522

Title:
GLib: g_variant_new_string: assertion 'string != NULL' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1740522/+subscriptions
--
desktop-bugs mailing list
desktop-***@lists.ubuntu.com
https://lists.ubuntu.c
Loading...