#0 malloc_consolidate (av=av@entry=0x7f558b1c6b20 ) at malloc.c:4167 [Error: malloc.c was not found in source tree] #1 0x00007f558ae843be in _int_malloc (av=av@entry=0x7f558b1c6b20 , bytes=bytes@entry=8192) at malloc.c:3448 [Error: malloc.c was not found in source tree] #2 0x00007f558ae8721a in __libc_calloc (n=, elem_size=) at malloc.c:3234 [Error: malloc.c was not found in source tree] #3 0x00007f558ae793b3 in __GI___open_memstream (bufloc=bufloc@entry=0x7ffc798b0bb0, sizeloc=sizeloc@entry=0x7ffc798b0bb8) at memstream.c:83 [Error: memstream.c was not found in source tree] #4 0x00007f558af02a4d in __GI___vsyslog_chk (pri=30, pri@entry=6, flag=flag@entry=1, fmt=fmt@entry=0x5560910fd518 "Endpoint unregistered: sender=%s path=%s", ap=ap@entry=0x7ffc798b0c80) at ../misc/syslog.c:167 [Error: syslog.c was not found in source tree] #5 0x00005560910a1d0b in vsyslog (__ap=0x7ffc798b0c80, __fmt=0x5560910fd518 "Endpoint unregistered: sender=%s path=%s", __pri=6) at /usr/include/x86_64-linux-gnu/bits/syslog.h:47 [Error: syslog.h was not found in source tree] #6 info (format=format@entry=0x5560910fd518 "Endpoint unregistered: sender=%s path=%s") at src/log.c:172 #7 0x000055609106a703 in media_endpoint_remove (endpoint=0x5560914ca890) at profiles/audio/media.c:205 200: if (endpoint->sep) { 201: a2dp_remove_sep(endpoint->sep); 202: return; 203: } 204: 205: info("Endpoint unregistered: sender=%s path=%s", endpoint->sender, 206: endpoint->path); 207: 208: adapter->endpoints = g_slist_remove(adapter->endpoints, endpoint); 209: 210: if (media_adapter_find_endpoint(adapter, NULL, NULL, #8 0x0000556091061d9b in a2dp_unregister_sep (sep=0x5560914c1650) at profiles/audio/a2dp.c:1577 #9 0x000055609106311a in a2dp_remove_sep (sep=) at profiles/audio/a2dp.c:1737 #10 0x000055609106a6e0 in media_endpoint_remove (endpoint=) at profiles/audio/media.c:201 196: static void media_endpoint_remove(struct media_endpoint *endpoint) 197: { 198: struct media_adapter *adapter = endpoint->adapter; 199: 200: if (endpoint->sep) { 201: a2dp_remove_sep(endpoint->sep); 202: return; 203: } 204: 205: info("Endpoint unregistered: sender=%s path=%s", endpoint->sender, 206: endpoint->path); #11 0x000055609106a7d2 in release_endpoint (endpoint=) at profiles/audio/media.c:481 476: } 477: 478: g_dbus_send_message(btd_get_dbus_connection(), msg); 479: 480: done: 481: media_endpoint_remove(endpoint); 482: } 483: 484: static const char *get_name(struct a2dp_sep *sep, void *user_data) 485: { 486: struct media_endpoint *endpoint = user_data; #12 0x000055609106a858 in path_free (data=0x5560914c4be0) at profiles/audio/media.c:1882 1877: static void path_free(void *data) 1878: { 1879: struct media_adapter *adapter = data; 1880: 1881: while (adapter->endpoints) 1882: release_endpoint(adapter->endpoints->data); 1883: 1884: while (adapter->players) 1885: media_player_destroy(adapter->players->data); 1886: 1887: adapters = g_slist_remove(adapters, adapter); #13 0x00005560910e58b6 in remove_interface (data=0x5560914c2850, name=name@entry=0x5560910fd41c "org.bluez.Media1") at gdbus/object.c:659 654: process_properties_from_interface(data, iface); 655: 656: data->interfaces = g_slist_remove(data->interfaces, iface); 657: 658: if (iface->destroy) { 659: iface->destroy(iface->user_data); 660: iface->user_data = NULL; 661: } 662: 663: /* 664: * Interface being removed was just added, on the same mainloop #14 0x00005560910e5e16 in g_dbus_unregister_interface (connection=0x5560914b8e70, path=, name=0x5560910fd41c "org.bluez.Media1") at gdbus/object.c:1383 1378: return FALSE; 1379: 1380: if (data == NULL) 1381: return FALSE; 1382: 1383: if (remove_interface(data, name) == FALSE) 1384: return FALSE; 1385: 1386: g_free(data->introspect); 1387: data->introspect = NULL; 1388: #15 0x00007f558baa909d in g_slist_foreach (list=, func=func@entry=0x5560910b2fc0 , user_data=user_data@entry=0x5560914c2680) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gslist.c:878 [Error: gslist.c was not found in source tree] #16 0x00005560910b3d30 in unload_drivers (adapter=0x5560914c2680) at src/adapter.c:4202 4197: profile->adapter_remove(profile, adapter); 4198: } 4199: 4200: static void unload_drivers(struct btd_adapter *adapter) 4201: { 4202: g_slist_foreach(adapter->drivers, remove_driver, adapter); 4203: g_slist_free(adapter->drivers); 4204: adapter->drivers = NULL; 4205: 4206: g_slist_foreach(adapter->profiles, remove_profile, adapter); 4207: g_slist_free(adapter->profiles); #17 adapter_remove (adapter=adapter@entry=0x5560914c2680) at src/adapter.c:5238 5233: device_remove(l->data, FALSE); 5234: 5235: g_slist_free(adapter->devices); 5236: adapter->devices = NULL; 5237: 5238: unload_drivers(adapter); 5239: 5240: db = btd_gatt_database_get_db(adapter->database); 5241: gatt_db_unregister(db, adapter->db_id); 5242: adapter->db_id = 0; 5243: #18 0x00005560910bf13c in adapter_unregister (adapter=0x5560914c2680) at src/adapter.c:7510 7505: new_default->is_default = true; 7506: } 7507: 7508: adapter_list = g_list_remove(adapter_list, adapter); 7509: 7510: adapter_remove(adapter); 7511: btd_adapter_unref(adapter); 7512: 7513: return 0; 7514: } 7515: #19 index_removed (index=, length=, param=, user_data=) at src/adapter.c:8107 8102: if (!adapter) { 8103: warn("Ignoring index removal for a non-existent adapter"); 8104: return; 8105: } 8106: 8107: adapter_unregister(adapter); 8108: } 8109: 8110: static void read_index_list_complete(uint8_t status, uint16_t length, 8111: const void *param, void *user_data) 8112: { #20 0x00005560910e9aec in queue_foreach (queue=0x5560914bd4d0, function=function@entry=0x5560910ea540 , user_data=user_data@entry=0x7ffc798b0ea0) at src/shared/queue.c:220 215: queue_ref(queue); 216: while (entry && queue->head && queue->ref_count > 1) { 217: struct queue_entry *next; 218: 219: next = entry->next; 220: function(entry->data, user_data); 221: entry = next; 222: } 223: queue_unref(queue); 224: } 225: #21 0x00005560910eb161 in process_notify (param=, length=0, index=, event=, mgmt=0x5560914bd100) at src/shared/mgmt.c:304 299: struct event_index match = { .event = event, .index = index, 300: .length = length, .param = param }; 301: 302: mgmt->in_notify = true; 303: 304: queue_foreach(mgmt->notify_list, notify_handler, &match); 305: 306: mgmt->in_notify = false; 307: 308: if (mgmt->need_notify_cleanup) { 309: queue_remove_all(mgmt->notify_list, match_notify_removed, #22 can_read_data (io=, user_data=0x5560914bd100) at src/shared/mgmt.c:370 365: break; 366: default: 367: util_debug(mgmt->debug_callback, mgmt->debug_data, 368: "[0x%04x] event 0x%04x", index, event); 369: 370: process_notify(mgmt, event, index, length, 371: mgmt->buf + MGMT_HDR_SIZE); 372: break; 373: } 374: 375: mgmt_unref(mgmt); #23 0x00005560910f6e15 in watch_callback (channel=, cond=, user_data=) at src/shared/io-glib.c:170 165: 166: if (!destroy && (cond & (G_IO_ERR | G_IO_NVAL))) 167: return FALSE; 168: 169: if (watch->callback) 170: result = watch->callback(watch->io, watch->user_data); 171: else 172: result = false; 173: 174: return result ? TRUE : FALSE; 175: } #24 0x00007f558ba8b04a in g_main_dispatch (context=0x5560914b6810) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154 [Error: gmain.c was not found in source tree] #25 g_main_context_dispatch (context=context@entry=0x5560914b6810) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769 [Error: gmain.c was not found in source tree] #26 0x00007f558ba8b3f0 in g_main_context_iterate (context=0x5560914b6810, block=block@entry=1, dispatch=dispatch@entry=1, self=) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840 [Error: gmain.c was not found in source tree] #27 0x00007f558ba8b712 in g_main_loop_run (loop=0x5560914b1df0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4034 [Error: gmain.c was not found in source tree] #28 0x000055609105809d in main (argc=1, argv=0x7ffc798b1218) at src/main.c:687