Wolfssl crash on EAP-TTLS-PAP client

Today I tried to use openwrt 21.02 as client for EAP-TTLS-PAP my ap.
I used wpad-wolfssl and failed to connect.
So I checked eapol-test-wolfssl and found they stopped by seg fault.
eap-test-openssl, wapd-openssl runs well on my ap.
I can reproduce on both TP-link WR902AC and Raspberry pi 4B.