Sd driver hang at enable wide bus check

I make file browser with st32f746 discovery
When some string functions (like strchr strcat) on file path or on some touch pointer
Sddriver stuck at driver initialize and after check I found it stuck at enable widebus 4b and if I cancelled that step in driver or changed to 1 b itworks
I'm sure it is not driver or card problem
It is some pointers or string functions

If any one face like that problem please help

More questions in this forum