(gdb) run --defaults-file=/Applications/mysql/enterprise/agent/etc/mysql-monitor-agent.ini Starting program: /Applications/mysql/enterprise/agent/sbin/mysql-monitor-agent --defaults-file=/Applications/mysql/enterprise/agent/etc/mysql-monitor-agent.ini Reading symbols for shared libraries ..+++.....+............................................................+++++ done Breakpoint 2 at 0x374d4: file network-socket.c, line 747. Reading symbols for shared libraries . done Reading symbols for shared libraries ....... done Breakpoint 1 at 0x1016faf: file agent_mysqld.c, line 112. Pending breakpoint 1 - "agent_mysqld_is_local" resolved Reading symbols for shared libraries . done Reading symbols for shared libraries . done [Switching to process 2409 thread 0x2703] Breakpoint 1, agent_mysqld_is_local (m=0x1115e00) at agent_mysqld.c:112 112 agent_mysqld.c: No such file or directory. in agent_mysqld.c (gdb) bt full #0 agent_mysqld_is_local (m=0x1115e00) at agent_mysqld.c:112 dst_addr = (network_address *) 0x90003f63 src_addr = (network_address *) 0x1800038 is_local = 0 #1 0x010174dd in agent_mysqld_init_connection (m=0x1115e00) at agent_mysqld.c:312 res = (MYSQL_RES *) 0x0 err = 16923836 have_binlog_on = 0 have_set_binlog_0 = 0 __PRETTY_FUNCTION__ = "agent_mysqld_init_connection" #2 0x01017f03 in agent_mysqld_connect (m=0x1115e00) at agent_mysqld.c:622 m = (agent_mysqld *) 0x1115e00 tv = { tv_sec = 303307112, tv_usec = 1 } log_level = 16871298 #3 0x01014b78 in agent_item_class_update_mysqld_from_fieldnames (_key=0x1117200, _value=0x1115e00, _userdata=0xb0305d88) at job_collect_mysql.c:765 row_num = 2849465 i = 16 res = (MYSQL_RES *) 0x1e2e fields = (MYSQL_FIELD *) 0x10 row = (MYSQL_ROW) 0x1 query = { str = 0xb0305d78 "#]0##\035", len = 2931549, allocated_len = 16 } instance = (agent_item_instance_t *) 0xb0305ce8 q_len = 26 q = 0x11258d0 "SHOW DATABASES LIKE 'test'" class = (agent_item_class_t *) 0x1125560 query = (GString *) 0x16 _userdata = (gpointer) 0x16 #4 0x002a3962 in g_hash_table_foreach (hash_table=0x1115490, func=0x10146b2 , user_data=0xb0305d88) at ghash.c:1071 node = (GHashNode *) 0x1117270 i = 7 __PRETTY_FUNCTION__ = "g_hash_table_foreach" hash_table = (GHashTable *) 0x1115490 func = (GHFunc) 0x10146b2 user_data = (gpointer) 0xb0305d88 #5 0x0101546d in agent_item_class_update_all_from_fieldnames (class=0x1125560, _userdata=0x1125180) at job_collect_mysql.c:1473 iter = { class = 0x1125560, query = 0x11258c0 } conf = (agent_plugin_config_t *) 0x1115e00 class = (agent_item_class_t *) 0x16 _userdata = (gpointer) 0x16 #6 0x0100b21c in knownitems_class_iter (_key=0x1125890, _value=0x1125560, data=0xb0305e80) at job_list_knowndataitems.c:195 target = (agent_target *) 0x16 _key = (gpointer) 0x1125890 _value = (gpointer) 0x1125560 data = (gpointer) 0xb0305e80 #7 0x002a3962 in g_hash_table_foreach (hash_table=0x1115a10, func=0x100b1d3 , user_data=0xb0305e80) at ghash.c:1071 node = (GHashNode *) 0x11258b0 i = 0 __PRETTY_FUNCTION__ = "g_hash_table_foreach" hash_table = (GHashTable *) 0x1115a10 func = (GHFunc) 0x100b1d3 user_data = (gpointer) 0xb0305e80 #8 0x002a3962 in g_hash_table_foreach (hash_table=0x110a6c0, func=0x100b296 , user_data=0xb0305e80) at ghash.c:1071 node = (GHashNode *) 0x1115af0 i = 7 __PRETTY_FUNCTION__ = "g_hash_table_foreach" hash_table = (GHashTable *) 0x110a6c0 func = (GHFunc) 0x100b296 user_data = (gpointer) 0xb0305e80 #9 0x0100b345 in job_list_knowndataitems_get_items (dst_ns=0x11220a0, src_ns=0x110a650, target=0x0) at job_list_knowndataitems.c:230 filter = { ns = 0x11220a0, classes = 0x1131200, class = 0x1131030, target = 0x0 } dst_ns = (agent_item_namespaces_t *) 0x16 src_ns = (agent_item_namespaces_t *) 0x16 target = (agent_target *) 0x16 #10 0x0100b44c in job_list_knowndataitems_thread (_thr=0x111f150) at job_list_knowndataitems.c:267 response = (job_response_t *) 0x111ca10 tv = { tv_sec = 1232535209, tv_usec = 164997 } job = (job_task_t *) 0x1120370 sndq = (struct _GAsyncQueue *) 0x110acc0 rcvq = (struct _GAsyncQueue *) 0x111b010 _thr = (void *) 0x16 #11 0x002d56c0 in g_thread_create_proxy (data=0x111c940) at gthread.c:635 __PRETTY_FUNCTION__ = "g_thread_create_proxy" data = (gpointer) 0x111c940 #12 0x90023d67 in _pthread_body () No symbol table info available. (gdb) c Continuing. Breakpoint 2, network_address_is_local (dst_addr=0x1131420, src_addr=0x11314a0) at network-socket.c:747 747 network-socket.c: No such file or directory. in network-socket.c (gdb) bt full #0 network_address_is_local (dst_addr=0x1131420, src_addr=0x11314a0) at network-socket.c:747 dst_addr = (network_address *) 0x1131420 #1 0x01017075 in agent_mysqld_is_local (m=0x1115e00) at agent_mysqld.c:134 dst_addr = (network_address *) 0x1131420 src_addr = (network_address *) 0x11314a0 is_local = 0 #2 0x010174dd in agent_mysqld_init_connection (m=0x1115e00) at agent_mysqld.c:312 res = (MYSQL_RES *) 0x0 err = 16923836 have_binlog_on = 0 have_set_binlog_0 = 0 __PRETTY_FUNCTION__ = "agent_mysqld_init_connection" #3 0x01017f03 in agent_mysqld_connect (m=0x1115e00) at agent_mysqld.c:622 m = (agent_mysqld *) 0x1115e00 tv = { tv_sec = 303307112, tv_usec = 1 } log_level = 16871298 #4 0x01014b78 in agent_item_class_update_mysqld_from_fieldnames (_key=0x1117200, _value=0x1115e00, _userdata=0xb0305d88) at job_collect_mysql.c:765 row_num = 2849465 i = 16 res = (MYSQL_RES *) 0x1e2e fields = (MYSQL_FIELD *) 0x10 row = (MYSQL_ROW) 0x1 query = { str = 0xb0305d78 "#]0##\035", len = 2931549, allocated_len = 16 } instance = (agent_item_instance_t *) 0xb0305ce8 q_len = 26 q = 0x11258d0 "SHOW DATABASES LIKE 'test'" class = (agent_item_class_t *) 0x1125560 query = (GString *) 0x1131420 _userdata = (gpointer) 0x1131420 #5 0x002a3962 in g_hash_table_foreach (hash_table=0x1115490, func=0x10146b2 , user_data=0xb0305d88) at ghash.c:1071 node = (GHashNode *) 0x1117270 i = 7 __PRETTY_FUNCTION__ = "g_hash_table_foreach" hash_table = (GHashTable *) 0x1115490 func = (GHFunc) 0x10146b2 user_data = (gpointer) 0xb0305d88 #6 0x0101546d in agent_item_class_update_all_from_fieldnames (class=0x1125560, _userdata=0x1125180) at job_collect_mysql.c:1473 iter = { class = 0x1125560, query = 0x11258c0 } conf = (agent_plugin_config_t *) 0x9001883c class = (agent_item_class_t *) 0x1131420 _userdata = (gpointer) 0x1131420 #7 0x0100b21c in knownitems_class_iter (_key=0x1125890, _value=0x1125560, data=0xb0305e80) at job_list_knowndataitems.c:195 target = (agent_target *) 0x1131420 _key = (gpointer) 0x1125890 _value = (gpointer) 0x1125560 data = (gpointer) 0xb0305e80 #8 0x002a3962 in g_hash_table_foreach (hash_table=0x1115a10, func=0x100b1d3 , user_data=0xb0305e80) at ghash.c:1071 node = (GHashNode *) 0x11258b0 i = 0 __PRETTY_FUNCTION__ = "g_hash_table_foreach" hash_table = (GHashTable *) 0x1115a10 func = (GHFunc) 0x100b1d3 user_data = (gpointer) 0xb0305e80 #9 0x002a3962 in g_hash_table_foreach (hash_table=0x110a6c0, func=0x100b296 , user_data=0xb0305e80) at ghash.c:1071 node = (GHashNode *) 0x1115af0 i = 7 __PRETTY_FUNCTION__ = "g_hash_table_foreach" hash_table = (GHashTable *) 0x110a6c0 func = (GHFunc) 0x100b296 user_data = (gpointer) 0xb0305e80 #10 0x0100b345 in job_list_knowndataitems_get_items (dst_ns=0x11220a0, src_ns=0x110a650, target=0x0) at job_list_knowndataitems.c:230 filter = { ns = 0x11220a0, classes = 0x1131200, class = 0x1131030, target = 0x0 } dst_ns = (agent_item_namespaces_t *) 0x1131420 src_ns = (agent_item_namespaces_t *) 0x1131420 target = (agent_target *) 0x1131420 #11 0x0100b44c in job_list_knowndataitems_thread (_thr=0x111f150) at job_list_knowndataitems.c:267 response = (job_response_t *) 0x111ca10 tv = { tv_sec = 1232535209, tv_usec = 164997 } job = (job_task_t *) 0x1120370 sndq = (struct _GAsyncQueue *) 0x110acc0 rcvq = (struct _GAsyncQueue *) 0x111b010 _thr = (void *) 0x1131420 #12 0x002d56c0 in g_thread_create_proxy (data=0x111c940) at gthread.c:635 __PRETTY_FUNCTION__ = "g_thread_create_proxy" data = (gpointer) 0x111c940 #13 0x90023d67 in _pthread_body () No symbol table info available. (gdb) p dst_addr $1 = (network_address *) 0x1131420 (gdb) p src_addr $2 = (network_address *) 0x11314a0 (gdb) x/nfu 0x1131420 0x1131420: 1429143914 (gdb) x/nfu 0x11314a0 0x11314a0: 0 (gdb) s 748 in network-socket.c (gdb) s g_log (log_domain=0x0, log_level=G_LOG_LEVEL_MESSAGE, format=0x3ba28 "%s: is-local family %d != %d") at gmessages.c:516 516 gmessages.c: No such file or directory. in gmessages.c (gdb) s 517 in gmessages.c