And here is one with dhcp: __connman_service_lookup_from_network
returns an invalid pointer:

0x0000003105446781 in _IO_vfprintf_internal (s=<value optimized out>, 
    format=<value optimized out>, ap=<value optimized out>) at vfprintf.c:1567
1567              process_string_arg (((struct printf_spec *) NULL));
(gdb) bt
#0  0x0000003105446781 in _IO_vfprintf_internal (s=<value optimized out>, 
    format=<value optimized out>, ap=<value optimized out>) at vfprintf.c:1567
#1  0x00000031054f9ba5 in __vasprintf_chk (result_ptr=0x7fffffffe108, flags=1, 
format=
    0x47157b "%s_%s_%s", args=0x7fffffffe120) at vasprintf_chk.c:68
#2  0x000000310788591b in vasprintf (string=0x7fffffffe108, format=<value 
optimized out>, 
    args=<value optimized out>) at /usr/include/bits/stdio2.h:199
#3  g_vasprintf (string=0x7fffffffe108, format=<value optimized out>, 
    args=<value optimized out>) at gprintf.c:318
#4  0x00000031078611e0 in g_strdup_vprintf (format=<value optimized out>, 
    args=<value optimized out>) at gstrfuncs.c:255
#5  0x000000310786127d in g_strdup_printf (format=<value optimized out>) at 
gstrfuncs.c:281
#6  0x0000000000443d02 in __connman_service_lookup_from_network 
(network=0x6a6120)
    at src/service.c:4574
#7  0x0000000000452059 in dhcp_invalid (dhcp=0x6a8330) at src/dhcp.c:68
#8  0x0000000000452261 in lease_lost_cb (dhcp_client=0x6abc70, 
user_data=0x6a8330)
    at src/dhcp.c:119
#9  0x0000000000412f01 in start_rebound_timeout (user_data=0x6abc70) at 
gdhcp/client.c:903
#10 0x00000031078435eb in g_timeout_dispatch (source=<value optimized out>, 
    callback=<value optimized out>, user_data=<value optimized out>) at 
gmain.c:3585
#11 0x0000003107841e33 in g_main_dispatch (context=0x6940e0) at gmain.c:2149
#12 g_main_context_dispatch (context=0x6940e0) at gmain.c:2702
#13 0x0000003107842610 in g_main_context_iterate (context=0x6940e0, block=1, 
dispatch=1, 
    self=<value optimized out>) at gmain.c:2780
#14 0x0000003107842c82 in g_main_loop_run (loop=0x6951a0) at gmain.c:2988
#15 0x000000000042e7bb in main (argc=1, argv=0x7fffffffe658) at src/main.c:303
(gdb) f 6
#6  0x0000000000443d02 in __connman_service_lookup_from_network 
(network=0x6a6120)
    at src/service.c:4574
4574            name = g_strdup_printf("%s_%s_%s",
(gdb) p *network
$5 = {element = {refcount = 91845672, index = 49, name = 0x3105797428 
"\030ty\005\061", path = 
    0x0, type = 33, state = CONNMAN_ELEMENT_STATE_UNKNOWN, error = 7037056, 
enabled = 0, 
    devname = 0x3105797218 "\300\fl", children = Traceback (most recent call 
last):
  File "/usr/share/glib-2.0/gdb/glib.py", line 152, in pretty_printer_lookup
    return GHashPrinter(val)
  File "/usr/share/glib-2.0/gdb/glib.py", line 119, in __init__
    if self.val != 0 and string_hash != None and self.val["hash_func"] == 
string_hash:
RuntimeError: Cannot access memory at address 0x60
0x40, parent = 0x20, driver = 0x6a61b0, driver_data = 0x3105797200, destruct = 
0, {private = 
    0x21, device = 0x21, network = 0x21}, properties = 0x6b6080 = 
{[0x3105797698] = 
    0x3105797698, [0x6b6080] = 0x31057976b8, [0x31057976c8] = 0x31057976c8, 
[0x6a5320] = 
    0x31057976e8, [0x31057976f8] = 0x31057976f8, [0x3105797708] = 0x3105797718, 
[
    0x3105797728] = 0x3105797728, [0x6a9ef0] = 0x3105797748, [0x3105797758] = 
0x3105797758, [
    0x3105797768] = 0x6bc080, [0x3105797788] = 0x3105797788, [0x3105797798] = 
0x31057977a8, [
    0x31057977b8] = 0x31057977b8, [0x31057977c8] = 0x31057977d8, [0x31057977e8] 
= 
    0x31057977e8, [0x31057977f8] = 0x3105797808, [0x6bf2d0] = 0x6bf2d0, 
[0x6b84e0] = 
    0x3105797838, [0x6b6c80] = 0x6b6c80, [0x3105797858] = 0x3105797868, 
[0x6b9e60] = 0x6b9e60, 
      [0x3105797888] = 0x3105797898, [0x31057978a8] = 0x31057978a8, 
[0x31057978b8] = 
    0x31057978c8, [0x31057978d8] = 0x31057978d8, [0x31057978e8] = 0x31057978f8, 
[
    0x3105797908] = 0x3105797908, [0x3105797918] = 0x3105797928, [0x3105797938] 
= 
    0x3105797938, [0x3105797948] = 0x3105797958, [0x3105797968] = 0x3105797968, 
[
    0x3105797978] = 0x3105797988, [0x3105797998] = 0x3105797998, [0x31057979a8] 
= 
    0x31057979b8, [0x31057979c8] = 0x31057979c8, [0x31057979d8] = 0x31057979e8, 
[
    0x31057979f8] = 0x31057979f8, [0x0] = 0x0, [0x3105474e90] = 0x3105474fb0, 
[0x0] = 0x20000, 
      [0x1000000000000] = 0x0}, hostname = 0x3105797218 "\300\fl", domainname = 
    0x80 <Address 0x80 out of bounds>, ipv4 = {method = 32, address = 0x6a61f0 
"", peer = 
    0x3105797200 "", netmask = 0x0, gateway = 0x21 <Address 0x21 out of 
bounds>, network = 
    0x6b6080 "0", broadcast = 0x3105797218 "\300\fl", nameserver = 
    0xc0 <Address 0xc0 out of bounds>, timeserver = 0x20 <Address 0x20 out of 
bounds>, pac = 
    0x6a6230 "\360\211i"}, ipv6 = {method = 6582120, address = 
    0x6a5100 "utube-ui\001l\006google\300\030\300-", prefix_len = 33, gateway = 
0x6b6080 "0", 
      network = 0x3105797218 "\300\fl"}}, type = 256, available = 0, connected 
= 32, roaming = 
    0, hidden = 6972016, strength = 0 '\000', frequency = 0, identifier = 
    0x3100646f68 <Address 0x3100646f68 out of bounds>, name = 0x6989f0 "0", 
node = 
    0x21 <Address 0x21 out of bounds>, group = 0x6b6080 "0", driver = 
0x3105797218, 
  driver_data = 0x140, connecting = 32, associating = 0, device = 0x698bd0, 
wifi = {ssid = 
    0x79636176, ssid_len = 7013712, mode = 0x51 <Address 0x51 out of bounds>, 
channel = 24704, 
    security = 0x3105797218 "\300\fl", passphrase = 0x6b1170 "_psk", eap = 
    0x31 <Address 0x31 out of bounds>, identity = 0x3105797238 "\020\017j", 
ca_cert_path = 
    0x3105797238 "\020\017j", client_cert_path = 
    0x32313137204e41 <Address 0x32313137204e41 out of bounds>, private_key_path 
= 
    0x67616e6100000000 <Address 0x67616e6100000000 out of bounds>, 
private_key_passphrase = 
    0x1b0 <Address 0x1b0 out of bounds>, phase2_auth = 0x30 <Address 0x30 out 
of bounds>, 
    wps = 7014112, use_wps = 0, pin_wps = 
    0x3264663538626339 <Address 0x3264663538626339 out of bounds>}}
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to