After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683523 - warning at startup
warning at startup
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: applet
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-09-06 18:52 UTC by William Jon McCann
Modified: 2013-11-13 16:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bt (3.66 KB, text/plain)
2012-09-06 18:52 UTC, William Jon McCann
  Details
BluetoothAgent: return early in case of errors (1.03 KB, patch)
2012-09-06 19:15 UTC, Giovanni Campagna
committed Details | Review

Description William Jon McCann 2012-09-06 18:52:23 UTC
Created attachment 223684 [details]
bt

I get the following warning when I start the shell.

Window manager warning: Log level 8: g_variant_unref: assertion `value != NULL' failed
Comment 1 Giovanni Campagna 2012-09-06 19:13:28 UTC
Do you also see a "Agent registration failed:" before that?
It could explain the real cause of this.
In any case, reassigning to gnome-bluetooth, and preparing a patch to fix the warning.
Comment 2 William Jon McCann 2012-09-06 19:15:02 UTC
Yeah:
Agent registration failed: GDBus.Error:org.bluez.Error.AlreadyExists: Already Exists
Comment 3 Giovanni Campagna 2012-09-06 19:15:22 UTC
Created attachment 223691 [details] [review]
BluetoothAgent: return early in case of errors

Prevents a warning from unreffing a NULL variant.
Comment 4 Bastien Nocera 2012-09-06 19:26:13 UTC
Review of attachment 223691 [details] [review]:

Indeed, thanks.

The prefix for the commit subject is "lib:" though.
Comment 5 Giovanni Campagna 2012-09-06 19:29:53 UTC
Comment on attachment 223691 [details] [review]
BluetoothAgent: return early in case of errors

Pushed, thank you for the review.
Leaving the bug open to understand the real warning, the one about
agent registration.
I don't know bluez very well, so I'll leave it to Bastien.
Comment 6 Bastien Nocera 2013-11-13 16:05:01 UTC
I don't see the warnings any more, and we recently ported to BlueZ 5 with a lot of fixes. Let's file a new bug if that reappears.