maybe a pmm bug

mysqld would be forced to restart when pmm-admin add mysql. The version is 5.7.13-6-log Percona Server. The following info is from mysql error log.

07:26:06 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
Please help us make Percona Server better by reporting any
bugs at [url]System Dashboard - Percona JIRA

key_buffer_size=33554432
read_buffer_size=131072
max_used_connections=879
max_threads=100001
thread_count=17
connection_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 38516969 K bytes of memory
Hope that’s ok; if not, decrease some variables in the equation.

Thread pointer: 0x7f954e8dd000
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong…
stack_bottom = 7f9d6ee3bbe8 thread_stack 0x40000
/data/soft/mysql/bin/mysqld(my_print_stacktrace+0x2c)[0xec501c]
/data/soft/mysql/bin/mysqld(handle_fatal_signal+0x461)[0x79d141]
/lib64/libpthread.so.0(+0xf7e0)[0x7fa1c77577e0]
/data/soft/mysql/bin/mysqld(_ZN23PFS_connection_iterator12visit_globalEbbbbbP22PFS_connection_visitor+0x164)[0xf6cd44]
/data/soft/mysql/bin/mysqld(_ZN30table_ews_global_by_event_name13make_idle_rowEP15PFS_instr_class+0x46)[0xf80f06]
/data/soft/mysql/bin/mysqld(_ZN30table_ews_global_by_event_name8rnd_nextEv+0x85)[0xf81145]
/data/soft/mysql/bin/mysqld(_ZN13ha_perfschema8rnd_nextEPh+0x66)[0xf39716]
/data/soft/mysql/bin/mysqld(_ZN7handler11ha_rnd_nextEPh+0x164)[0x7fe174]
/data/soft/mysql/bin/mysqld(_Z13rr_sequentialP11READ_RECORD+0x20)[0xc0db90]
/data/soft/mysql/bin/mysqld(_Z10sub_selectP4JOINP7QEP_TABb+0x147)[0xc7c0b7]
/data/soft/mysql/bin/mysqld(_ZN4JOIN4execEv+0x237)[0xc74e77]
/data/soft/mysql/bin/mysqld(_Z12handle_queryP3THDP3LEXP12Query_resultyy+0x17d)[0xce40cd]
/data/soft/mysql/bin/mysqld[0x75c79d]
/data/soft/mysql/bin/mysqld(_Z21mysql_execute_commandP3THDb+0x46ae)[0xca75fe]
/data/soft/mysql/bin/mysqld(_Z11mysql_parseP3THDP12Parser_state+0x5d5)[0xcaa675]
/data/soft/mysql/bin/mysqld(_Z16dispatch_commandP3THDPK8COM_DATA19enum_server_command+0x92f)[0xcab02f]
/data/soft/mysql/bin/mysqld(_Z10do_commandP3THD+0x1b7)[0xcac9c7]
/data/soft/mysql/bin/mysqld(_Z26threadpool_process_requestP3THD+0xcf)[0xd4fe2f]
/data/soft/mysql/bin/mysqld[0xd5efbe]
/data/soft/mysql/bin/mysqld(pfs_spawn_thread+0x1b4)[0xf3ab44]
/lib64/libpthread.so.0(+0x7aa1)[0x7fa1c774faa1]
/lib64/libc.so.6(clone+0x6d)[0x7fa1c5a4a93d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f956bfbe030): is an invalid pointer
Connection ID (thread ID): 1411714
Status: NOT_KILLED

You may download the Percona Server operations manual by visiting
[url]http://www.percona.com/software/percona-server/[/url]. You may find information
in the manual which will help you identify the cause of the crash.
2016-09-28T07:26:09.111231Z mysqld_safe Number of processes running now: 0
2016-09-28T07:26:09.113019Z mysqld_safe mysqld restarted

It does not look as PMM bug.

Looks like there is an issue with Percona Server, may be its configuration, may be out of memory.