[PATCH 1/1] exported-object: add logging statements to debug crash
- From: Thomas Haller <thaller redhat com>
- To: networkmanager-list gnome org
- Subject: [PATCH 1/1] exported-object: add logging statements to debug crash
- Date: Tue, 15 Mar 2016 15:12:51 +0100
---
Hi Ali,
unfortunately, I still cannot figure out what's wrong. Could you
try with the following patch and show the logging output?
(no need to run in debugger).
Thanks,
Thomas
src/nm-exported-object.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/nm-exported-object.c b/src/nm-exported-object.c
index b6d30aa..e49e6c6 100644
--- a/src/nm-exported-object.c
+++ b/src/nm-exported-object.c
@@ -279,6 +279,10 @@ nm_exported_object_class_add_interface (NMExportedObjectClass *object_class,
}
va_end (ap);
+ nm_log_info (_NMLOG_DOMAIN, ">>> nm_exported_object_class_add_interface: dbus-object-class=%s,
exported-object-class=%s",
+ G_OBJECT_CLASS_NAME (dbus_object_class),
+ G_OBJECT_CLASS_NAME (object_class));
+
/* Properties */
dbus_properties = g_object_class_list_properties (dbus_object_class, &n_dbus_properties);
for (i = 0; i < n_dbus_properties; i++) {
@@ -287,6 +291,8 @@ nm_exported_object_class_add_interface (NMExportedObjectClass *object_class,
if (g_str_has_prefix (dbus_properties[i]->name, "g-"))
continue;
+ nm_log_info (_NMLOG_DOMAIN, ">>> nm_exported_object_class_add_interface: check property
\"%s\"", dbus_properties[i]->name);
+
object_property = g_object_class_find_property (G_OBJECT_CLASS (object_class),
dbus_properties[i]->name);
g_assert (object_property != NULL);
--
2.5.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]