-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
touchegg fails to catch and report the exception and aborts #611
Comments
Hi! Touchégg is executed in 2 different processes that communicate using D-Bus over Unix socket. I have never try to run it on *BSD, but it looks like D-Bus abstract namespace is not supported... You probably have more luck trying a pre-compiled package. I have no idea about how package management works on FreeBSD, but it looks like this port is quite updated: I'm not sure if you can ask questions on freshports to other BSD users, they will probably know how to fix this error. |
|
FreeBSD does not support abstract Unix sockets, causing the app to crash with error "Error creating D-Bus server: Abstract namespace not supported". As pointed out by @yurivict, the FreeBSD port of Touchégg patches "src/daemon/dbus.h" to fix this issue: https://cgit.freebsd.org/ports/tree/sysutils/touchegg/files/patch-src_daemon_dbus.h Apply a similar patch upstream to fix #611.
That exception should not be handled, the program can not work without D-Bus connection, so printing the error and aborting is a valid option.
That's the proper fix, thanks for the link! I just applied a similar fix, but including OpenBSD and NetBSD here: #612 |
Unhandled exceptions generally don't print the message. Some Linuxes do have a hook that prints the message, but this is rather a hack. On BSDs unhandled exceptions just cause program termination with the error message |
FreeBSD does not support abstract Unix sockets, causing the app to crash with error "Error creating D-Bus server: Abstract namespace not supported". As pointed out by @yurivict, the FreeBSD port of Touchégg patches "src/daemon/dbus.h" to fix this issue: https://cgit.freebsd.org/ports/tree/sysutils/touchegg/files/patch-src_daemon_dbus.h Apply a similar patch upstream to fix #611.
Ah, I see, on Linux those errors are displayed in the journal, i.e., |
touchegg aborts on exception:
Exception is thrown from here and never caught:
Your environment
touchegg --version
in the terminal to check the versionThe text was updated successfully, but these errors were encountered: