It looks like the error string set by g_dbus_get_finish() is pointing to
garbage. This is possibly an issue for upstream glib?
Here's the code where the error occurred:
/* Callback for getting our connection to DBus */
static void
bus_get_cb (GObject * object, GAsyncResult * res, gpointer user_data)
{
GError * error = NULL;
GDBusConnection * connection = g_bus_get_finish(res, &error);
if (error != NULL) {
g_error("OMG! Unable to get a connection to DBus: %s",
error->message);
g_error_free(error);
return;
}
And here's the backtrace, notice that args1 (which would be the
error->message string for %s) is garbage:
#0 g_logv (log_domain=0xebbd60 "libindicator", log_level=<optimized out>,
format=0xebce88 "OMG! Unable to get a connection to DBus: %s", args1=0xbfc70bac
"h\037`\b\364_8") at /build/buildd/glib2.0-2.29.90/./glib/gmessages.c:577
depth = 0
domain = 0x0
data = 0x0
log_func = 0x2d9270 <g_log_default_handler>
domain_fatal_mask = <optimized out>
masquerade_fatal = <optimized out>
test_level = <optimized out>
was_fatal = 0
was_recursion = 0
i = <optimized out>
#1 0x002da1b3 in g_log (log_domain=0xebbd60 "libindicator",
log_level=G_LOG_LEVEL_ERROR, format=0xebce88 "OMG! Unable to get a connection
to DBus: %s") at /build/buildd/glib2.0-2.29.90/./glib/gmessages.c:591
args = 0xbfc70bac "h\037`\b\364_8"
#2 0x00eba1b3 in bus_get_cb (object=0x0, res=0x85ede48, user_data=0x85edd90)
at /build/buildd/libindicator-0.3.93/./libindicator/indicator-service.c:364
error = 0x85fe710
connection = 0x0
priv = <optimized out>
__PRETTY_FUNCTION__ = "bus_get_cb"
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/852027
Title:
indicator-session-service crashed with signal 5 in bus_get_cb()
To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/852027/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs