Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbus_1.10.20 arch64 #11

Open
alejandrolozano2 opened this issue Jan 9, 2019 · 2 comments
Open

dbus_1.10.20 arch64 #11

alejandrolozano2 opened this issue Jan 9, 2019 · 2 comments

Comments

@alejandrolozano2
Copy link

Hi,

It is a great library I was able to get something up and running on my PC.
But when I try it with a aarch64 I get the below:

arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file ../../dbus-1.10.20/dbus/dbus-connection.c line 5577.
This is normally a bug in some application using the D-Bus library.

Do you know what could be the issue?

Thanks,
Alejandro

@martinhaefner1
Copy link
Contributor

martinhaefner1 commented Jan 10, 2019 via email

@chardin-cpi
Copy link
Contributor

strace your application - likely you are trying to do a dbus_launch if the bus service is not there, and on most systems you need to be root or the proper user to do that. This was on stripped own ubuntu 18.04 system when I tracked this down.

There could be multiple reasons that the connection is null because it is relying on the internal dbus lib to create and establish the connection - the dbus_launch was the case I hit, but hopefully the strace (or strace -f to follow the child) can give you a notion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants