Illustrator CS5 keeps crashing on every exit. I am hoping someone can identify a more appealing solution than the workaround I found.
Steps I take to reproduction the problem (with or without creating or opening documents between):
Once the Illustrator application window and taskbar icon disappear, a message window pops up, "Adobe Illustrator CS5.1 has stopped working. Windows is checking for a solution." The only option is to click the "Cancel" button. The window pops up again. So, I click the "Cancel" button again.
The following errors are added to the Windows application error logs (note the two different exception codes):
Functioning or inconclusive workarounds:
Common solutions having no effect:
When you quit, Illustrator is trying to save your prefs, so try resetting your illustrator prefs. Or you may have a permissions issue, very common in WIN7, that is not allowing the prefs to write.
Adobe OWL is a shared library that provides a consistent look and behavior to the user interface (UI) of those Adobe applications that incorporate it. Adobe CS4 applications which incorporate this library include: Contribute, Dreamweaver, Illustrator, InDesign, Fireworks, Flash and Photoshop.
Resetting the Illustrator preferences is a great idea. However, it is also one I've already tried ("also tried removing verious Illustrator settings folders...").
I rather favor your idea on the permissions issue. I did try granting my user account permissions to everything Adobe. Plus, I tried launching Illustrator as an Administrator. Still, something could have been missed, such as a Windows process spawned by Illustrator or any other non-Adobe process.
Good ideas... keep them coming.
I did get through to USGrant7 who had the success from the other post. However, the steps to "Verify" Illustrator do not affect anything. After reading the help files for SysInternals Process Explorer, I found that the verify button only checks signed program files to ensure the signature is still valid. It does not change anything.
Finally, A FIX !!!!!!!!
If you are reading this for your own fix, you likely have TeamViewer installed.
"What?!", you say. "How on Earth did he know I have that on my computer?"
As odd as it sounds, TeamViewer with it's Quick Connect feature is the culprit.
Explanatory Hypothesis (Here's What I Think is Going On)
Since Adobe likes to be different even on a PC, they add their own computer code to handle the application's window dressing instead of standard Windows GUI architecture code. Notice the title bar looks different than that of any non-Adobe software installed on your computer. They decided to re-invent the wheel, so to speak.
What I believe is going on is that while TeamViewer is running, it monitors for windowed processes (those you see as a window on the screen). And, for almost every one of these processes, TeamViewer adds a little button near the standard minimize-window button. This little button being added is called a Quick Connect button, a TeamViewer feature that let's you share your application's window with another computer running TeamViewer.
So, I believe that the Quick Connect button is causing the clash between Adobe's insistance on a non-Windows look and TeamViewer's assumption that every software publisher would use Windows GUI.
“Yeah, yeah. That’s all good. So, how do I fix it?”
Here's the skinny:
Good luck and happy illustrating without crashing every single time you exit Illustrator.
While I appreciate your posting this fix and sharing your hypothesis on the matter, I spent quite a bit of time finding the culprit and sharing it with the folks here back in January. We contacted TeamViewer and were able to find the fix and Wolfen_R shared the feedback received. It's great that more and more people are getting the solution to this ongoing problem, but it really seems as though you just found our thread and rewrote our solution and are now asking for people to "vote accordingly."
On the other hand, I suppose you could have figured this all out on your own without googling "Flash CS5 crashes on exit" or "Adobe Illustrator has stopped working when closing illustrator" so my apologies if i'm coming off pissy. I'm just one of those people who like to cite my sources and give credit where credit is due and I may have jumped the gun.
Again, so glad this is helping people and you're making the fix more well known and easier to understand. Peace.
It was pointed out that I failed to cite a source for part of the information. Since Adobe Forums seems to not allow edits to posts which already have a reply, the information below (of this comment) applies to all above references by myself to Flash.
Zotovs, Antons, SntaCruz83, and Wolfen_R. "Adobe Forums: AdobeOwl.dll_unloaded - Help Needed." Adobe Forums. N.p., n.d. Web. 8 Sept. 2012. <http://forums.adobe.com/message/4131161>.
Point taken. I would not have known it affected Flash had I not stumbled across the discussion by Antons Zotovs. I have updated my comments on this topic citing contributions of yourself and others using MLA format.
Thank you for your efforts to resolve the issue and for sharing your results.