I have a Mac Mini with Lion and the latest version of iTunes installed. Occasionally iTunes will do something strange and today was one of those days. I was on iTunes listening to some music and podcasts. When I was finished I went to shut it down. After I shut it down it popped back open. I tried to shut it down again and the same thing happened. I then tried to force close it and still it popped open. The only way I could get rid of it was to shut the computer down by using the power button. This is not a practical solution so I started to do some research.
I started to search the Apple forums for an answer. The first answer I found said to repair your disk permissions. To repair permissions you go under Utilities, then Disk Utilities and then choose your home hard drive and then click repair disk permissions. Repairing disk permissions took about twenty minutes and when it was done, I restarted iTunes and then closed it down and again it popped back open. Another person suggested moving the iTunes .plist from the Preference folder which is in the Home Folder to the Desktop. So I tried that and again iTunes popped back open. I went back and re-entered the search string and realized I had been looking at an older forum. I found a more recent forum from 2011 and one of the posters commented that on occasion a dashboard widget can cause this problem. The light bulb went off in my head, when I remembered that I had attempted to use the Red Alarm Widget earlier in the day. I deleted the widget and that solved the problem. I still not sure why it worked since when I reinstalled the widget and restarted iTunes with the alarm turned on, I was able to successfully close iTunes down. The same thing had happened once before several months ago and that time the problem application was Plex. Again when I uninstalled Plex and then reinstalled it everything worked normally. Have you run into this problem and did you find a different solution. Finally does anyone know what is causing this problem to spring up every once in a while.