In ha_tokudb_admin.cc, the analysis jobs incorrectly use locally scoped buffers for thd_proc_info which does_not_copy the status but just holds the pointer. Status buffers need to remain in scope.
Issue forwarded from Rich Prohaska https://jira.mariadb.org/browse/MDEV-10403
https://github.com/georgelorchpercona/percona-server/tree/ps-5.6-DB-1003
http://jenkins.percona.com/view/PS%205.6/job/percona-server-5.6-param/1247/
https://github.com/percona/percona-server/pull/687
https://github.com/georgelorchpercona/percona-server/tree/ps-5.7-DB-1003
http://jenkins.percona.com/view/5.7/job/mysql-5.7-param/259/
https://github.com/percona/percona-server/pull/688