There is a major bug spreading via text message that causes iPhones to crash.
Update: Here’s a fix for the iOS bug that crashes iPhones.

The message is comprised of Arabic letters and can be received through SMS or iMessage. Once you receive this while the phone is in locked screen mode, it can cause the Messages app to completely stop working and eventually crash the entire phone. TNW mentions that the bug could be related to iOS processing of its Unicode text.
Beware of any messages containing the following characters:

As for the workaround, you must “send a photo or piece of text to the original sender using the share sheet in another app.” Reports also state the it is currently affecting iPhones running iOS 7 and 8. Apple is already aware of the matter and is working on a fix.

its very often that mobile softwares always have bugs good thing that they always update to fix these glitches.
Mobile Application Development Service