On Mon, 2014-08-04 at 11:16 +0000, Saurav Babu wrote:
> Sometimes while switching network dhcp_initialize() fails because
> interface is not up and hence dhcp->dhcp_client remains NULL. Here we
> don't check return type of dhcp_initialize() and go on to call
> function g_dhcp_client_start() and crash occurs.

Could you actually post the logs when this happens? The log from just
before the start of the switch until the crash happens would be very
much more informative. The fix proposed does work and it will be
applied, but the root cause remains unknown with only the backtrace.

Just checking, but is this a regular desktop/laptop and a standard
ethernet card?

Cheers,

        Patrik


_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to