What looks like caulk was used in this DIY attempt at filling in the gaps in mortar created by the wall cracks. We've seen everything from caulk to spray foam to rubberized paint, and the thing they all have in common is that they don't work. It's especially dangerous to treat the symptoms of a wall crack without finding the source.