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

textedit and preview crashing in osx lion when changing network location

I did upgrade to lion on launch and noticed that textedit and preview work quite well except when changing network location: after a few seconds of spinning ball, both crash.

Tried repairing permissions, deleting "containers" folders in my library and so on, without luck.

Anyone is experiencing the same problem?

This is an excerpt of the crash log:


Process: TextEdit [663]

Path: /Applications/TextEdit.app/Contents/MacOS/TextEdit

Identifier: TextEdit

Version: ??? (???)

Code Type: X86-64 (Native)

Parent Process: TextEdit [656]



Date/Time: 2011-08-18 01:14:19.349 +0200

OS Version: Mac OS X 10.7.1 (11B26)

Report Version: 9



Interval Since Last Report: 7146 sec

Crashes Since Last Report: 17

Per-App Crashes Since Last Report: 15

Anonymous UUID: 5E6B69BE-D41B-45F4-BA5B-1DD8298A76AA



Crashed Thread: 0 Dispatch queue: com.apple.main-thread



Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x00000001c0a529a0



VM Regions Near 0x1c0a529a0:

MALLOC metadata 0000000108342000-0000000108343000 [ 4K] rw-/rwx SM=PRV

-->

MALLOC_TINY 00007fc808c00000-00007fc808f00000 [ 3072K] rw-/rwx SM=COW



Application Specific Information:

objc[656]: garbage collection is OFF

*** multi-threaded process forked ***

MacBook, Mac OS X (10.7), Unibody late 2008, 4 GB RAM

Posted on Aug 17, 2011 4:16 PM

Reply
25 replies

Aug 24, 2011 12:08 AM in response to zioflat

UPDATE 2: I'm having this issue both on my iMac and my Macbook, so I suppose it's a lion bug and not simply something related to something that went wrong during the update (permissions or something like this). It's both in 10.7 and 10.7.1.

I'm going to try on my wife's Macbook to see if it's something related to some software or setting I'm using; in the meanwhile, can someone out there try to reproduce this issue? Just open textedit and change the network location from the menu bar (you should create one other than "automatic" for "locations" to show up just below "dock"): at this point you should get the spinning ball and then a window telling you that textedit just crashed. Try to do a couple of times if it doesn't crash the first one.

BTW I noticed that textedit doesn't crash if you have the network preference pane open and active ("system preferences" showed on the menu bar) and change the location from the menu bar.

I think I'm going to give a call to Applecare to see if there's some plan to get this corrected in some next update.

Aug 24, 2011 11:42 AM in response to bbenny

Thanks for replying.


Same even with my wife's white macbook (late 2009). So it seems to be a quite widespread issue; curiously it didn't surface until now, since network locations in the menu bar are all but hidden.

However, I did already file a bug report through Apple's feedback form.

Tomorrow I'm going to call Applecare and hear if the have any workaround or if they're already aware of this issue.

Aug 24, 2011 1:33 PM in response to MatzeOne

This seems to be a different case from the ones described in other threads about textedit and preview crashes. Even the crash reports posted seem different.

I didn't create any symlink (at least, as far as I know), and textedit and preview don't crash at startup but work flawlessly except when changing network location, and only from the menu bar, not from network preference pane. I'm more keen on thinking that it's something related to how network settings are managed by the os.

Did you experience exactly the same issue?

Anyway, I could try the terminal script you posted, except for the fact I don't know where to point the new symlink at the end (since actually I didn't create any)...

Sep 10, 2011 1:33 AM in response to zioflat

Probably I've found some sort of workaround.

Textedit crashes when changing network location only if it's the active window (I mean if "textedit" is shown next to the apple in the menu bar).

So if you are using textedit (or preview) and have to change network location, first switch to another application, then change the location from the menu bar. This should do the trick.

Anyway, I hope it will be fixed in 10.7.2.

May 10, 2012 8:48 AM in response to zioflat

Press the Option key and choose "Library" from the Go menu in the Finder. Then go to the "Containers" folder and move the following directories to the desktop (or another safe location outside of the "Containers" folder):


com.apple.TextEdit

com.apple.Preview


When this is done, try launching the programs again and see if the crashes happen when you change network settings.

textedit and preview crashing in osx lion when changing network location

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