Mobs will try and path to somewhere they can't go and will continue to try and get there. I've noticed in three separate spots in my world and two of them involve half slabs, one cobble, the other dark oak. The other spot is my horse pen which is made with dark oak fences.
Here are gifs of the problem if these are allowed.
https://gfycat.com/rightcolddogwoodtwigborer
https://gfycat.com/piercingcompetentiberianchiffchaff
Related issues
is duplicated by
relates to
Comments

Is this still an issue ion the latest versions?

This is still an issue in 1.12.0.
This bug should be fixed in the latest beta version, and the fix will be included in a future update when that is ready for full release (no specific date can be given). We will leave this ticket open as a point of reference until the fix has been fully released.
(We are still working on a related pathfinding issue at MCPE-49607.)

You can see this bug in action, along with how to reproduce here:
https://youtu.be/CRwmy_XiGK0?t=343

In 1.13 this issue was fixed, but currently it affects walls with a full block like stone and a non full block like soul sand so this hasn't fully been fixed, so I think I have to create a new bug report, so I'll do it.

I created a bug report for this: MCPE-60160
also it affects & takes up cpu which heats my device and make laggy...