SAN FRANCISCO (AP)– A newly-discovered glitch in Apple’s software can cause iPhones to mysteriously shut down when they receive a certain text message.

Apple says it’s aware of the problem and is working on a fix. But some pranksters are sharing information about the glitch on social media and using it to crash other peoples’ phones.

READ MORE: PG&E Equipment May Be Involved In Start Of Small Wildfire That Merged With Dixie Fire

The problem only occurs when the iPhone receives a message with a specific string of characters, including some Arabic characters, according to several tech blogs. When an iPhone isn’t being used, it typically shows a shortened version of the message on the phone’s lock screen. That shortened combination of characters apparently triggers the crash.

READ MORE: Officials Issue Health Caution In San Joaquin Valley Following Wildfire

Affected phones will restart automatically. Owners can prevent the problem by using phone settings to turn off the message “previews” feature.

MORE NEWS: Dixie Fire Update: New Evacuation Orders For Lake Almanor Communities; Flames Threaten Greenville

© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.