Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Someone sent me file:*** via iMessage.

My friend sent me file:*** to test if it crashes iMessage. Turns out it does. Though what we didn't anticipate is that it crashes it so severely that you can't open iMessage at all.


I've tried deleting the message off my iPhone, but that hasn't worked. I've tried moving/deleting the chat.db file in lib/messages. Doesn't work. Tried going through the archive folder to delete the conversation history. However, it's not been archived yet because iMessage doesn't open long enough to archive it.


Is there any fix yet? Apple are making too many mistakes with their software at the moment. This has to change.


<Edited By Host>

MacBook Pro with Retina display, OS X Mountain Lion (10.8.2)

Posted on Feb 5, 2013 1:51 AM

Reply
12 replies

Feb 5, 2013 4:48 PM in response to willviles

Read this whole message before doing anything.

Back up all data.

Quit Messages if it’s running.

Step 1

Hold down the option key and select

Go Library

from the Finder menu bar. Delete the following items from the Library folder (either may not exist):


  • Caches/com.apple.Messages
  • Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent


Leave the Library folder open. Log out and log back in. Try Messages again. If it works now, stop here. Close the Library folder.

Step 2

If you still have problems, quit Messages again. Go back to the Finder and move the following item from the open Library folder to the Desktop:


Messages


Note: you are not moving the Messages application. You’re moving a folder named “Messages.”

Test. If Messages now works, delete the Messages folder on the Desktop. Otherwise, quit Messages again. Put back the folder you moved, overwriting the newer one that may have been created in its place, and continue.

Step 3

In the Preferences subfolder, there may be several files having names that begin with "com.apple.iChat". There should also be one with the name "com.apple.imagent.plist". Move them all to the Desktop.

Also in the Preferences folder, there's a subfolder named "ByHost". Open it and do the same thing.

Log out and log back in. Test again. This time Messages should perform normally, but your settings will be lost. You may be able to put back some of the "com.apple.iChat" files you moved to the Desktop in this step. Relaunch and test after each one. Eventually you should find one or more that causes Messages to malfunction. Delete those files and recreate whatever settings they contained. Don't put back the "com.apple.imagent.plist" file.

If the issue is still not resolved, quit Messages again and put all the items you moved to the Desktop back where they were. You don’t need to replace the files you deleted in step 1. Stop here and post again.

If you later decide that you don’t like the results of steps 2 and 3, you can undo them completely by quitting Messages and restoring the items you deleted in those steps from your backup.

Feb 11, 2013 1:57 PM in response to abdullafromlondon

HI,


I don't use Terminal much but would that not delete all references to "File" in the chat.db ?



User uploaded file
9:57 PM Monday; February 11, 2013

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Someone sent me file:*** via iMessage.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.