balena-io-experimental / balena-kodi

A boilerplate for getting up and running with Kodi on your resin-enabled rpi!
Apache License 2.0
20 stars 17 forks source link

Error from D-Bus LIbrary #4

Open NGenetzky opened 6 years ago

NGenetzky commented 6 years ago

First I want to thank you for creating such an awesome application.

I noticed the following error when I run the container.

24.03.18 12:21:16 (-0500) process 212: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2821.
24.03.18 12:21:16 (-0500) This is normally a bug in some application using the D-Bus library.

Environment:

janvda commented 5 years ago

I am getting same error. See my log file.

10.01.19 23:02:31 (+0100)  main  Systemd init system enabled.
10.01.19 23:02:31 (+0100)  main  systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
10.01.19 23:02:31 (+0100)  main  Detected virtualization 'other'.
10.01.19 23:02:31 (+0100)  main  Detected architecture 'arm'.
10.01.19 23:02:31 (+0100)  main  Set hostname to <4d176de>.
10.01.19 23:02:34 (+0100)  main  /usr/bin/kodi: 1: /usr/bin/kodi: fbset: not found
10.01.19 23:02:34 (+0100)  main  process 207: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2821.
10.01.19 23:02:34 (+0100)  main  This is normally a bug in some application using the D-Bus library.
10.01.19 23:02:34 (+0100)  main  process 207: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2821.
10.01.19 23:02:34 (+0100)  main  This is normally a bug in some application using the D-Bus library.
10.01.19 23:02:34 (+0100)  main  process 207: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2821.
10.01.19 23:02:34 (+0100)  main  This is normally a bug in some application using the D-Bus library.
10.01.19 23:02:34 (+0100)  main  process 207: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2821.
10.01.19 23:02:34 (+0100)  main  This is normally a bug in some application using the D-Bus library.
10.01.19 23:02:34 (+0100)  main  process 207: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2821.
10.01.19 23:02:34 (+0100)  main  This is normally a bug in some application using the D-Bus library.
10.01.19 23:02:34 (+0100)  main  process 207: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2821.
10.01.19 23:02:34 (+0100)  main  This is normally a bug in some application using the D-Bus library.
10.01.19 23:02:34 (+0100)  main  process 207: arguments to dbus_connection_close() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2934.
10.01.19 23:02:34 (+0100)  main  This is normally a bug in some application using the D-Bus library.
10.01.19 23:02:34 (+0100)  main  process 207: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2821.
10.01.19 23:02:34 (+0100)  main  This is normally a bug in some application using the D-Bus library.

Environment:

Despite the above errors, kodi version v17.4 has been started.

janvda commented 5 years ago

According to following page https://www.balena.io/docs/learn/develop/runtime/#dbus-communication-with-host-os we should use for balena supervisor versions 1.7.0 and newer (both balenaOS 1.x and 2.x) DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket instead of DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host_run/dbus/system_bus_socket so this most likely must be corrected in the start.sh script

janvda commented 5 years ago

FYI my fork ( https://github.com/janvda/balena-kodi ) covers a version that is working on raspberry pi and it also installs a pretty recent Kodi version (18.2)