OpenVPN does not work?

Zheng, Jeff jeff.zheng at
Tue Jan 25 23:33:14 PST 2011

Hi Daniel,

Below is the output from gdb.

> Can you start connman in gdb and when it crashes dump the
> backtrace and the log here? E.g.

connmand[6049]: src/ipconfig.c:__connman_ipconfig_save() ipconfig 0x80c6ee8 identifier vpn_image_build_sh_intel_com_mydomain
connmand[6049]: src/ipconfig.c:__connman_ipconfig_save() ipconfig 0x80c6f50 identifier vpn_image_build_sh_intel_com_mydomain
connmand[6049]: src/resolver.c:connman_resolver_remove_all() interface vpn0
connmand[6049]: src/wpad.c:__connman_wpad_start() service 0x80c6a00
connmand[6049]: plugins/pacrunner.c:proxy_changed() service 0x80c6a00
connmand[6049]: src/notifier.c:__connman_notifier_connect() type 8
connmand[6049]: src/tethering.c:__connman_tethering_update_interface() interface eth0
connmand[6049]: plugins/dnsproxy.c:dnsproxy_default_changed() service 0x80bcf58
connmand[6049]: Disabling DNS server
connmand[6049]: Disabling DNS server
connmand[6049]: Enabling DNS server
connmand[6049]: plugins/pacrunner.c:default_service_changed() service 0x80bcf58
connmand[6049]: src/ondemand.c:ondemand_default_changed() service 0x80bcf58
connmand[6049]: src/profile.c:__connman_profile_changed()
connmand[6049]: src/service.c:__connman_service_lookup_from_network() network 0x80bc280
connmand[6049]: src/connection.c:find_active_gateway()
connmand[6049]: src/inet.c:connman_inet_del_ipv6_host_route() index 2 host (null)
connmand[6049]: src/inet.c:connman_inet_clear_ipv6_gateway_address() index 2, gateway (null)
connmand[6049]: src/inet.c:connman_inet_del_network_route() ifname eth0
connmand[6049]: Deleting host route failed (No such process)
connmand[6049]: src/inet.c:connman_inet_clear_gateway_address()
connmand[6049]: src/inet.c:connman_inet_clear_gateway_address() ifname eth0
connmand[6049]: Removing default gateway route failed (No such process)

Program received signal SIGSEGV, Segmentation fault.
0x0087d933 in strchr () from /lib/
(gdb) bt full
#0  0x0087d933 in strchr () from /lib/
No symbol table info available.
#1  0x080895a5 in set_connected (provider=0x80b4878,
    connected=<value optimized out>) at src/provider.c:305
        nameservers = 0x0
        value = 0x0
        list = <value optimized out>
        err = 0
        element = <value optimized out>
        name = 0x80c9258 "vpn0"
        second_ns = <value optimized out>
        service = 0x80c6a00
#2  0x0806f847 in vpn_newlink (flags=69841, change=0, user_data=0x80b4878)
    at plugins/vpn.c:143
        provider = 0x80b4878
        data = 0x80c0f98
#3  0x08093b84 in connman_rtnl_add_newlink_watch (index=4, callback=
    0x806f7f0 <vpn_newlink>, user_data=0x80b4878) at src/rtnl.c:249
        flags = <value optimized out>
        watch = 0x80c4ea0
        __FUNCTION__ = "connman_rtnl_add_newlink_watch"
#4  0x0806f7b1 in vpn_notify (task=0x80c1110, msg=0x80b9270, user_data=
---Type <return> to continue, or q <return> to quit---
    0x80b4878) at plugins/vpn.c:171
        provider = 0x80b4878
        data = 0x80c0f98
        vpn_driver_data = <value optimized out>
        name = <value optimized out>
        state = <value optimized out>
        index = 4
#5  0x08075198 in task_filter (connection=0x80b2240, message=0x80b9270,
    user_data=0x0) at src/task.c:402
        task = 0x80c1110
        notify = <value optimized out>
        path = <value optimized out>
        member = <value optimized out>
#6  0x00b99feb in dbus_connection_dispatch () from /lib/
No symbol table info available.
#7  0x080526b0 in message_dispatch (data=0x80b2240) at gdbus/mainloop.c:80
        conn = 0x80b2240
#8  0x00a87413 in ?? () from /lib/
No symbol table info available.
#9  0x00a86253 in g_main_context_dispatch () from /lib/
No symbol table info available.
#10 0x00a86877 in ?? () from /lib/
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#11 0x00a86e15 in g_main_loop_run () from /lib/
No symbol table info available.
#12 0x08073ef7 in main (argc=1, argv=0xbffff714) at src/main.c:250
        context = <value optimized out>
        error = 0x0
        conn = 0x80b2240
        err = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 0,
          dummy4 = 0, dummy5 = 0, padding1 = 0x9980c0}
        sa = {__sigaction_handler = {sa_handler = 0x8073bb0 <sig_term>,
            sa_sigaction = 0x8073bb0 <sig_term>}, sa_mask = {__val = {
    0 <repeats 32 times>}}, sa_flags = 0, sa_restorer = 0}

More information about the connman mailing list