TextEdit/Preview quit unexpectedly

Discussion in 'Mac OS X Lion (10.7)' started by C64, Jul 24, 2011.

  1. C64 macrumors 65816

    C64

    Joined:
    Sep 3, 2008
    #1
    TextEdit and Preview suddenly aren't working anymore.

    I deleted the preferences of the apps, rebooted a few times, but no change. They bounce a few times, then disappear followed by the error:

    "Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple."


    Any ideas?
     
  2. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #2
    Any clues in the report it sends to Apple or in the system log? It should generate a crash report at least.
     
  3. C64 thread starter macrumors 65816

    C64

    Joined:
    Sep 3, 2008
    #3
    Code:
    Process:         TextEdit [484]
    Path:            /Applications/TextEdit.app/Contents/MacOS/TextEdit
    Identifier:      com.apple.TextEdit
    Version:         1.7 (288)
    Build Info:      TextEdit-288000000000000~4
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [183]
    
    Date/Time:       2011-07-25 01:47:24.744 +0200
    OS Version:      Mac OS X Server 10.7 (11A2061)
    Report Version:  9
    
    Interval Since Last Report:          222338 sec
    Crashes Since Last Report:           34
    Per-App Interval Since Last Report:  4167 sec
    Per-App Crashes Since Last Report:   14
    Anonymous UUID:                      2436C48E-96DE-4E5B-8F34-90C56C587654
    
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    
    Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
    Exception Codes: 0x0000000000000001, 0x0000000000000000
    
    Application Specific Information:
    dyld: launch, running initializers
    /usr/lib/libSystem.B.dylib
    xpchelper reply message validation: sandbox creation failed: 1002
    Container object initialization failed: NSCocoaErrorDomain:257 The file “Preferences” couldn’t be opened because you don’t have permission to view it.
     
    Source: ~/Library/Containers/com.apple.TextEdit/Data/Library/Preferences
    Dest: ~/Library/Containers/com.apple.TextEdit/Data/Library/Preferences
    Source permissions info:
      0 stat: 13
     -1 stat: 13
     -2 stat: 13
     -3 stat: 13
     -4 stat: 13
     -5 stat: 13
     -6 stat: 13
     -7 m:040750 R acl:(null)
        fs: hfs, fsid: e000002, mf: 0480d000
    
    Application Specific Signatures:
    sandbox creation failed: 1002
    
    I tried this:

    Simple fix for the Preview and TextEdit Crash after Lion OS X Update

    But this didn't work, and now even Dropbox won't start-up anymore :)
     
  4. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #4
     

    Attached Files:

  5. Tortri, Jul 24, 2011
    Last edited: Jul 24, 2011

    Tortri macrumors 6502a

    Tortri

    Joined:
    Aug 30, 2010
    #5
    You've opened a text or photo from a linked directory like your downloads. If I remember correctly I just relinked it back where it should be, opened TextEdit, close any documents, exited out then relinked the directory again to what I had originally linked to. Hasn't messed up since.

    I'll see if I can find the website I found about this.


    edit: How to Link, Still looking for the method reference.
    http://mattgemmell.com/2011/06/21/using-os-x-with-an-ssd-plus-hdd-setup

    Reference
    http://lnxg.wordpress.com/2011/07/21/psa-textedit-preview-10-7-crash/

    https://discussions.apple.com/thread/3194666?start=0&tstart=0
     
  6. christeeezy macrumors member

    Joined:
    Jun 16, 2011
    #6
    Thanks a lot for this information. Same problem as OP, but this fixed it for me.
     
  7. brayhite macrumors 6502a

    Joined:
    Jun 21, 2010
    Location:
    N. Kentucky
    #7
    Part of my details say this:

    Application Specific Information:
    dyld: launch, running initializers
    /usr/lib/libSystem.B.dylib
    xpchelper reply message validation: sandbox creation failed: 1002
    Container object initialization failed: NSCocoaErrorDomain:513 You don’t have permission to save the file “Containers” in the folder “Library”.

    I've read each link in this thread and don't see any alias folders or symlinks (don't know what that is) in the Users folders. So I haven't a clue what I need to do to fix this.
     
  8. brayhite macrumors 6502a

    Joined:
    Jun 21, 2010
    Location:
    N. Kentucky
    #8
    I emailed Tim Cook about this issue and my email got passed on to Executive Relations, where a guy named Tajai made an attempt to call me at my house (was never home when he called) the past three days, and I called him back today.

    After talking with him briefly, then being passed on to Ed from Support, the fix that did the trick for me was the following:

    Shut the computer down.
    Start it while holding the Option key.
    Select the Recovery HD.
    Open Terminal from the Utilities menu in the top.
    Type in "resetpassword".
    Select your account and change your password.
    Go to the bottom and select Reset where it says something about Permissions (forget what exactly it says).
    Make sure your account was still selected.
    After that, go to the top left and select Restart under the Apple menu.
    Let it restart as normal, and log in with the new password.
    You may have some issues with keychain asking for your password and your new one isn't working. If this happens (it did to me), click cancel and let your desktop load. Then go to your Library<Keychains folder and drag the login.keychain file onto your desktop.
    Restart the computer again.
    Log in.
    See if TextEdit and Preview works!

    I'm almost positive these were all the steps, so hopefully they make sense and work for you anyone who tries it.
     
  9. munkery macrumors 68020

    munkery

    Joined:
    Dec 18, 2006
    #9
    Anybody else notice that TextEdit quits if it doesn't have an active window when Safari is launched?

    Is this normal?
     
  10. jayman99 macrumors member

    Joined:
    Jan 10, 2009
    #10
    This worked for me perfectly! I didn't have to go through the ending part with canceling, dragging the keychain, etc. I just chose to Update the Keychain. Thank you for your contribution on this topic!
     

Share This Page