while starting mysqld with --bootstrap and setting userstat=1 in my.cnf , also crashed at the same place(Bug #1008609).
I don't know if only the two cases can lead to this problem so this fix may be much safer:
if ( thd->net.vio != NULL && thd->net.vio->type == VIO_TYPE_SSL)
while starting mysqld with --bootstrap and setting userstat=1 in my.cnf , also crashed at the same place(Bug #1008609).
I don't know if only the two cases can lead to this problem
so this fix may be much safer:
if ( thd->net.vio != NULL && thd->net.vio->type == VIO_TYPE_SSL)