Skip to content

Conversation

Trial97
Copy link
Contributor

@Trial97 Trial97 commented Jan 5, 2024

When running an application without dbus connection I get the following crash:

GameMode ERROR: Could not connect to bus: Failed to connect to socket /run/firejail/mnt/dbus/user: Permission denied
dbus[5]: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2832.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace

I'm well aware that gamemode will not run without dbus but for the calling real_gamemode_query_status function I would expect the function to just return the fact that it's not accessible( by returning -1) and not just close the app if failed.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants