That black pop up has the same layout and position than the error messages from some apps. That's strange.
You could try to clear cache for your stock messaging app. Have you disabled the notifications for that app? Check that all notifications for sms are on, even in the lock screen, and see if that pop up still comes.