12 Replies Latest reply: Feb 11, 2013 1:57 PM by Ralph Johns (UK)
willviles Level 1 Level 1 (0 points)

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)
  • 1. Re: Someone sent me file:*** via iMessage.
    root_wheel Level 1 Level 1 (0 points)

    that's.....tragic... I got the same problem with 'file:***', still cannot understand and have no solutions...

    wish luck!

     

    <Edited By Host>

  • 2. Re: Someone sent me file:*** via iMessage.
    RenzoL Level 1 Level 1 (0 points)

    A temporary solution is to go in System Preferences-> Language and Text and deselect both "spell checking" and "substitute text and symbols"

     

    R

  • 3. Re: Someone sent me file:*** via iMessage.
    willviles Level 1 Level 1 (0 points)

    I regret to inform you that didn't work Renzo!

  • 4. Re: Someone sent me file:*** via iMessage.
    Topher Kessler Level 6 Level 6 (9,340 points)

    Go to the Finder an then select Library from the Go menu (hold the option key to reveal this in the menu). Then open the Messages folder in the window that appears, and remove the files that begin with the name "chat." Then try reopening Messages.

  • 5. Re: Someone sent me file:*** via iMessage.
    willviles Level 1 Level 1 (0 points)

    Already tried moving/removing all the chat.db files my friend. Didn't work. But thanks!

  • 6. Re: Someone sent me file:*** via iMessage.
    stevejobsfan0123 Level 7 Level 7 (32,315 points)

    Actually, I think in the Messages folder, you go to Archives, locate the date of the message you received and delete the specific message.

  • 7. Re: Someone sent me file:*** via iMessage.
    macjack Level 9 Level 9 (50,510 points)

    willviles wrote:

     

    My friend sent me file:*** to test if it crashes iMessage.

    Nice friend!

  • 8. Re: Someone sent me file:*** via iMessage.
    Linc Davis Level 10 Level 10 (117,995 points)

    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.

  • 9. Re: Someone sent me file:*** via iMessage.
    willviles Level 1 Level 1 (0 points)

    Linc,

     

    Thank you very much! Step 1 & 2 didn't work, but Step 3 did. It allowed me to get back in and delete the conversation which contained the file:*** naughty text! Also, I didn't have any specific settings, and all my conversation history is intact, so fantastic outcome!

     

    Thank you for your time

  • 10. Re: Someone sent me file:*** via iMessage.
    ~Bee Level 7 Level 7 (30,770 points)

    will --

     

    Are you talking about a URL with three slashes in it?  If so, this is known problem with no fixes.

  • 11. Re: Someone sent me file:*** via iMessage.
    abdullafromlondon Level 1 Level 1 (0 points)

    Easy fix. Enter this exactly into your Terminal:

     

    sqlite3 ~/Library/Messages/chat.db "delete from message where text like \"%File:%\"

  • 12. Re: Someone sent me file:*** via iMessage.
    Ralph Johns (UK) Level 9 Level 9 (67,500 points)

    HI,

     

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

     

     

    3Sigcopy2.png
    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