Colin Guthrie wrote:
I'll try and create a small test app for the upstream devs as, this was uber confusing to debug in the pulse app.
As promised. I can exhibit the behaviour on my system with this test app. No silly setuid bits needed here!
Col
/* Compile me with: gcc -o testx -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include test.c -ldbus-1 */ #include <stdlib.h> #include <stdio.h> #include <dbus/dbus.h> int main(int argc, char* argv[]) { DBusError dbus_error; DBusConnection *bus = NULL; printf("Hello\n"); dbus_error_init(&dbus_error); if (!(bus = dbus_bus_get(DBUS_BUS_SYSTEM, &dbus_error))) { printf("Could not connect to system bus\n"); return 1; } /*dbus_connection_set_exit_on_disconnect(bus, FALSE);*/ dbus_shutdown(); printf("World\n"); return 0; }
_______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss