I am unable to run a stable, minimal runloop with a generated net.connman.Manager adapter via the latest gitorious sources as of this posting.
Runloop is using the provided BusDispatcher; my minimal test main() is as follows (with generated adapter header, and application source including derived proxy class/main() as file attachments):
int main (int argc, char** argv) { DBus::BusDispatcher dispatcher; DBus::_init_threading(); DBus::default_dispatcher = &dispatcher; DBus::Connection conn = DBus::Connection::SystemBus(); ConnmanClient client(conn, "/", "net.connman"); dispatcher.enter(); return 0; }
With the connmand server running and monitoring your network interfaces, disabling/re-enabling the primary network interface:
:::#!/bin/sh
the runloop segfaults while processing the GetServices callback (which is emitted every time the network interfaces change, and which is successfully handled for non-primary network interfaces, or transitions to 'down' on the primary; only transitions to 'up' on the primary cause a reliable segfault).
FYI the GetServices DBus method signature is ''.
This ticket was posted in an incomplete state; a duplicate ticket has been posted with the above mentioned attachments. Please dis-regard/close-in-error this ticket