Slashdot Mirror


Leopard Upgraders Getting "Blue Screen of Death"

Z80xxc! writes "Some Mac users upgrading to Apple's new Leopard operating system are encountering long delays on reboot — an experience they liken to the Windows 'Blue Screen of Death.' While some of those upgrading were able to access their computer after waiting for as long as several hours, others were forced to do a complete reinstall. Some suspect that a framework called 'Application Enhancer' by Unsanity LLC may be causing the problem, but there has been no official word from Apple at this point."

37 of 542 comments (clear)

  1. Archive and install by sagefire.org · · Score: 4, Interesting

    Archive and install!

    It's the safest way to upgrade. Yes, it's less convenient, but way better than finding out that some 3rd party tweak is not compatible the hard way...

    1. Re:Archive and install by Anonymous Coward · · Score: 5, Informative

      There have been plenty of issues with archive and install as well. Just backup your home directory to that lovely new HD you got for time machine, and then unplug it and Erase and Install Leopard. I had no issues.

      Then restore the data from the backup drive, erase the backup drive and then you can turn on time machine.

      See, those years of doing Windows upgrades finally paid off for something :P

      Or, if you actually get the blue screen:

      1. Reboot into single-user mode (hold Cmd-S while booting machine)
      2. Follow the directions OSX gives you when you get to the prompt (I think these were them - just type the two commands it tells you to):
      fsck -fy /
      3. Remove the following files:
      rm -rf /Library/Preference Panes/Application Enhancer.prefpane
      rm -rf /Library/Frameworks/Application Enhancer.framework
      rm -rf /System/Library/SystemConfiguration/Application Enhancer.bundle
      rm -rf /Library/Preferences/com.unsanity.ape.plist
      4. Exit, to continue booting normally
      exit

      Via: http://discussions.apple.com/thread.jspa?threadID=1195031&tstart=0

    2. Re:Archive and install by Space+cowboy · · Score: 5, Informative

      There are three options on any Mac OS install

        - Plain old upgrade. Just lays down the new OS on top of the old one

        - Archive and install. Takes a backup of your current stuff, lays down a clean OS, and recovers your stuff from the backup it made

        - Erase and install. Erases the disk/partition, and installs the OS.

      (2) or (3) are the best option. I use (3) because my home directory is on a different disk to my boot disk, and I did that on purpose so I could do nice clean installs. (2) works well too though.

      --
      Physicists get Hadrons!
    3. Re:Archive and install by goombah99 · · Score: 4, Informative

      On macs apps are self contained entities (normally) thus archiving means moving all the apps out of the application folder and into another folder. You can then at your leisure drag them back one by one.
      It also moves all your preference settings and fonts to another folder, and cleans out the startup items list. (fonts and preferences are the only two things that normally leak beyond the app container (there's a few other exceptions for special apps, but as a rule installing an app does not barf all over your computer with DLLs and Registry hooks. On macs, the OS polls the App in Applications folder for its capabilities and files it likes to open, so the app does not need to modify a registry. as a result unistalls are normally as simple as dragging the app out of the application folder.

      So after an archive and install you drag back the things you want to keep. The only hassle is sometimes you need to look for the associated preference setting which is where most apps store their activation key.

      A few non apple apps behave linux like and shove things into /usr/local/bin or libs or /share/man. So restoring those takes a bit more work. But on the otherhand those are exactly the kind of Cruft you want to blow out between major system updates. So archive and install is the way to go in previous updates

      Rumor was that apple worked hard to make the non-archive and install mode (update) smart enough to remove all the bad crap and leave the okay crap. Apparently not!

      But if it is APE then well then that's kinda understandable its the singlemost invasive kernel mod of all.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    4. Re:Archive and install by morgan_greywolf · · Score: 5, Funny

      Oh, yeah, you expect Aunt Tillie to be able to do that? All these command-line fixes just show how Mac OS X is not yet ready for the desktop, and how Linux is superior because "it just works." ;)

      (Laugh. It's funny.)

    5. Re:Archive and install by Lars+T. · · Score: 4, Informative

      I use (3) because my home directory is on a different disk to my boot disk, and I did that on purpose so I could do nice clean installs. (2) works well too though.

      But don't you have to then reinstall all of your apps? That's like Win98 logic.

      Why would he - this is a Mac, not Windows.
      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    6. Re:Archive and install by shawnce · · Score: 4, Informative

      Safer to do the following given the spaces in the paths (or escape the spaces in the path using \)...

      3. Remove the following files:
      rm -rf "/Library/Preference Panes/Application Enhancer.prefpane"
      rm -rf "/Library/Frameworks/Application Enhancer.framework"
      rm -rf "/System/Library/SystemConfiguration/Application Enhancer.bundle"
      rm -rf "/Library/Preferences/com.unsanity.ape.plist"

    7. Re:Archive and install by Hijacked+Public · · Score: 5, Insightful

      Like most problems of society, drug use is not likely the cause of the above errant moderation.

      I get mod points quite often and I've fucked up applying them a few times. Each time it was related to the fact that the current UI for moderating is drop down menu (which is just fine) that applies whatever moderation is selected immediately upon being clicked (no fine). This would be halfway fine if there were some means to un-mod a post, or at least re-mod it, but there is not.If my mouse pointer is off slightly when I click an item in the list I'll have applied the wrong moderation and can do nothing about it.

      This is obviously dumb. I don't want to be bothered like I'm using Windows, but some things involving user selections on a computer need either a confirmation step that is distinct from the selection or have a Back button.

      --
      "Sacrifice for the good of The State" - The State
    8. Re:Archive and install by TheBig1 · · Score: 5, Informative

      Ummm... no. Please don't flame until you know what the heck you are talking about.

      When you drag an application from a disk image to anywhere on the system, Apple's launch services register the application, based on the configuration within the application bundle. It has nothing to do with the /Applications folder - you can drag to your desktop if you want, and it will work the same way.

    9. Re:Archive and install by Anonymous Coward · · Score: 5, Informative

      I've never found an app that I couldn't easily scoop up and move to a new machine.

      1) Grab application or directory off /Applications and drag to other computer
      2) Grab plists from ~/Library/Preferences
      3) Copy any related resources from /Library/Application Support and ~/Library/Application Support
      4) Check in /Library/StartupItems and ~/Library/StartupItems for any related startup items

      About 90% of applications are fully migrated after step 1)

      This doesn't cover drivers or other wierdness like PreferencePanes, but those are usually stand alone files that can be copied over.

    10. Re:Archive and install by steeviant · · Score: 4, Informative

      " Wow, what a terrible idea. It's like WinXP logic for font installing- Explorer is consistent _except_ for the font folder which calls the font register-er when you drop files into it. Finder is consistent _except_ for the applications folder which installs system services and processes scripts every time you drop a dmg into it. Hm. "

      If you're going to criticize something it helps if you have the slightest clue what you're talking about. Try actually using a Mac sometime, you might be pleasantly surprised.

      There's nothing special about the /Applications directory, no special installation magic goes on when you drag an application from one disk to another. The application itself is basically a special kind of folder which contains all of the resources and even extra libraries required for it to function, this avoids the need to use an installer at all in most cases because most of the resources reqired for the application are in the application.

      By contrast, Windows applications have a tendency to sprawl over the hard drive, copying things into shared system-wide resource directories because that is how a library is registered in the windows world. The windows start menu is used to cut through what would otherwise be a very cluttered place, the "\Program Files" directory.

      On the Mac the equivalent, "/Applications" contains the actual application in it's entirety. Again; in contrast linking applications into the Start Menu is one of the many functions of an installer in Windows. Without installers you wouldn't have any idea where the application went and would have to navigate the troubled waters of "\Program Files" alone.

      The other magic usually handled by installers in Windows happens when you first load an application, at which point it exchanges information with the OS, the OS from that point on knows where on the disk the application is so that even if you move it around the filesystem hierarchy it will still be able to find it, it also exchanges information about what mimetypes the app would like to be associated with so that it can show up in the "open with..." list for certain file types and declare itself able to handle any types of files it might create.

      If you need to register system services, then you need an application installer or a monkey willing to do it by hand (a user, for example). In that case mac applications install like Windows ones, by using an installer package.

  2. the offical word from unsanity is it's broken by bombastinator · · Score: 5, Informative

    Unsanity is officially listed by the company not to worik with 10.5

    http://www.wire-heads.com/istrip/index.php?strip_id=26

  3. Leopard install with Application Enhancer by conspirasseur · · Score: 4, Informative

    I have done this on two Macs so far, my PowerBook G4 @1.5 GHz and a G5 iMac @2.1 GHz Both have Application Enhancer as well as Fruit Menu, WindowShade X and other Unsanity products installed. They still show up in System Preferences, but are not functioning. I'm hoping for updates soon. However, their presence in my systems had no ill effect on my Leopard upgrades.

  4. Re:jesus h christ by Anonymous Coward · · Score: 5, Interesting

    Using APE is an insanity of the first order anyway. Dealing with Unsanity's refusal to help is what made me dump all their products.

    Me: "Hi APE is causing crashes on my mac"
    Unsanity: "No it's not, it can't. This is why.... "
    Me: "OK, that makes sense thanks"

    two weeks later

    Me: "Hi, APE definitely is causing crashes on my mac"
    Unsanity: "No, it can't be, because... "
    Me: "I just did a fresh install. it survived multiple reboots in its completely standard configuration. I installed APE, now X, Y and Z all crash"
    Unsanity: "Well it's not APE, because APE does ... "
    Me: "I removed APE, and instantly it's working again"
    Unsanity: "Well it can't be APE, because ... "
    Me: "Fuck you"

  5. Safe Mode by Monkeys+with+Guns · · Score: 5, Informative

    Anyone experiencing this should try holding shift while booting. Any additional frameworks, kexts, and whatever will be left out and the system will boot cleanly. If that works, then the offending software should show up in a log and can be identified and removed.

    There is no need to reinstall when something can be removed easily with a safe boot. Too bad Apple doesn't talk up safe booting more so people will know it is there.

  6. iBSOD by Junior+J.+Junior+III · · Score: 4, Funny

    It really IS catching up with Vista!

    --
    You see? You see? Your stupid minds! Stupid! Stupid!
  7. Mod parent up by phillymjs · · Score: 5, Interesting

    This is hardly the first time Unsanity's stuff has caused problems with a new version of OS X. If people are too damned dumb to uninstall their unsupported-hack add-ons before upgrading, that's their problem, not Apple's.

    And no matter how much better OS X is than Windows w/r/t the "it just works" aspect, things can and do still go wrong sometimes. A little pre-upgrade basic system maintenance never hurts (at least repair permissions and verify/repair the target disk from Disk Utility on the Leopard CD), and neither does making a bootable clone of the system in case you have to revert.

    ~Philly

    1. Re:Mod parent up by pebs · · Score: 4, Insightful

      If things go wrong sometimes, then I would say that "it just works" isn't all that true. I don't use Apple stuff, but I still have a pretty good impression of their integration/user experience work.

      I just started getting into Apple stuff with the release of the G4 Mac Mini. I then subsequently got a Mac Pro to replace my main machine which was running Linux. I decided to give OS X a fair chance to see if really was better than Linux.

      In my experience "it just works" is far from accurate. It's definitely a slick environment and worth using, but comes with enough issues that it doesn't live up to the hype. But I guess its a mistake to listen to the hype (Apple's products fell far short of my expectations due to hype).

      The problem, as with any commercial vendor, is that you are often stuck waiting for the company to fix things. For example, iLife apps crash. They crash a *LOT*. What can you possibly do other than wait for them to fix the bugs? OS X itself is usually pretty solid. Occasional something just won't work right. Sometimes I actually have to REBOOT to fix things. This is just not what I expect from an OS based on UNIX. I suspect (partially from experience) that they just haven't gotten it together after the Intel switch.

      Apple's products have just as many problems as any other OS vendor. They may be different problems, but don't believe anyone who says they don't exist. And Apple is a company that is constantly changing things (OS9 -> OSX, PowerPC -> Intel, frequent OS updates), so you can't possibly expect stability from them. Having control over the hardware apparently still isn't enough to achieve this.

      --
      #!/
  8. Re:When posting replies to this article by ORBAT · · Score: 5, Funny

    Hippocracy? Is that the system of government where horses are the ruling class?

  9. Boot verbosely by kithrup · · Score: 5, Informative

    Command-v during the boot chime (or "sudo nvram boot-args=-v" to set it permanently). This shows a lot of "scary" unixy output, but it's great for diagnosing a boot problem.

    Of course, I'm a cli guy :).

  10. Oh, irony... by xyankee · · Score: 4, Funny

    What makes this all the more ironic is that in the new CoverFlow Finder, PCs on the network are displayed with a Blue Screen of Death... teeeheee!

  11. I hate monopolies! by Anonymous Coward · · Score: 5, Funny

    I hate monopolies, and I am posting from my Apple computer, which uses Apple's OSX, and has an Apple mouse, keyboard, and monitor. I connect wirelessly through my Apple router, email with my Apple webmail account. I'm also listening to music on my Apple iPod, which I purchased from my Apple iTunes account.

    Damn that evil Microsoft monopoly!!! Always forcing everyone to use their products!!

  12. Re:When posting replies to this article by nine-times · · Score: 4, Insightful

    Just remember, if windows got taken down by a third party app, not only would you be screaming and shouting...

    Not under circumstances like this, we wouldn't. Some of Unsanity's programs are pretty invasive little things that fuck around with the OS in ways that Apple doesn't support. From their site:

    What exactly is Application Enhancer? It is a combination of a Framework and a system daemon. Application Enhancer performs its task by loading plugins (Application Enhancer modules) containing executable code into the running applications. Once loaded, the APE module performs the needed modifications (such as redefining the minimize window action, or customizing the standard Apple menu) on the launched application memory space, never touching any files on disk, utilizing set of functions defined in the Application Enhancer framework.

    So yeah, if you have even a vague understanding of what this product does, it shouldn't be any surprise that it could cause problems if you threw it on a new/unknown version of the operating system. This isn't just a "3rd party application". It's not like if Windows crashed when you installed Firefox (which Microsoft would get criticized for), but more like if Windows crashed when you tried to use an obscure and invasive 3rd party WindowsXP hack on Windows Vista (which Microsoft would not get criticized for).

    And it's not even clear that OSX itself crashed (as in a kernel panic). For as few details are available, it could just be that Finder or the installer crashed, which wouldn't be surprising if APE is screwing around with those applications' memory space.

  13. Re:jesus h christ by Anonymous Coward · · Score: 5, Informative

    APE is a third party product that is not a part of OS X.

    However, recently Logitech has started using APE as a part of their driver package for their mice and keyboards, in effect installing something known to cause headaches behind people's backs.

    Therefore the many people that use Logitech products may have APE without explicitly having installed it.

    Either way, I can hardly see how Apple is at fault.

  14. Re:jesus h christ by Anonymous Coward · · Score: 5, Funny

    Does this APE shit have to be intentionally installed by users? It's usually flung at you. It will stick to your system if you don't clean it soon enough.

  15. come on, Apple, move into the 21st century by m2943 · · Score: 5, Insightful

    Too bad Apple doesn't talk up safe booting more so people will know it is there.

    Too bad Apple doesn't do the user-friendly thing, which is to offer users "safe mode" when the previous boot failed. That's what both Linux and Windows do, and it's the right thing to do (well, even better would be detecting and disabling broken extensions, but I guess that's too hard for any of them).

  16. Re:Funny by dgatwood · · Score: 5, Informative

    If you had Linux apps that worked the way APE does, it would bring down the entire system, too. The only reason you don't is that Linux doesn't have a community of people who long for the olden days of Mac OS 9. I'll explain.

    Back in Mac OS 9, apps didn't have protected memory, and thus you could write extensions to the OS that quite literally rewrote parts of applications and the OS itself. Mac OS X uses a more proper model like Linux. However, some people still want to do those sorts of mods to the OS. The result was that the Unsanity folks created APE. APE basically sits down at the linker level and starts an additional thread with its own code running inside the address space of the target application. This thread then loads plug-ins that modify the behavior of the app.

    You should immediately see the problem with this. You have a bunch of people who don't have anything to do with the author of an application writing code that mass-modifies dozens of applications, libraries, etc., essentially doing binary patching on the running OS. There's no other phrase to describe this other than mind-bogglingly dangerous. In a biological comparison, it's like rewriting the genetic code of the entire planet using only a single person as a template---as soon as you hit a person with slightly different biology, the patch goes completely wrong. Similarly, when APE tries to operate on new versions of the OS, new versions of applications, new versions of frameworks and libraries, etc., it tends to result in cutting a path of destruction rather than enhancing anything.

    What blows my mind is that APE isn't smart enough to check the OS version and NOT LOAD. It is truly unbelievable. How hard is it to say if [ "$(sw_vers -productVersion | sed -E 's/([0-9]+\.[0-9]+)\..*/\1/')" != "10.4" ] ; then syslog -s "unknown OS version." ; exit 0; fi? Every OS release, APE causes some sort of major problem for a lot of users. Every OS release, people just keep coming back and reinstalling it even after seeing the fallout. I just don't get it. It's like Stockholm Syndrome or something....

    IMHO, the Unsanity team should be taken out and beaten with wet noodles until the mere sight of a Chinese restaurant causes them to have nightmares for a year.

    --

    Check out my sci-fi/humor trilogy at PatriotsBooks.

  17. indeed by m2943 · · Score: 4, Funny

    Unfortunately for Apple, it's OS competitor has a much better track record in the quality of new releases.

    You're right: Ubuntu kicks Apple's ass not just in terms of included functionality, graphics, and price, but also in terms of smooth upgrades.

  18. Unsanity's APE is a nasty hack by iliketrash · · Score: 4, Informative

    Unsanity's Application Enhancer uses the debugger framework to access and modify an application's memory space. Since Leopard randomizes memory, one might expect that trouble would ensue.

    The Unsanity hacks have been a source of trouble for many users for several years. Unsanity has vehemently denied that their products are the trouble, and by a twisted piece of logic, it is the application itself which is misbehaving when things go wrong. It's not hard to find heated discussions of these things on message boards and sites like versiontracker.com and macupgrade.com. The source of the disagreements might be related to how long a person leaves an application open, with the probability of mayhem increasing with time since launch. These remarks relate to pre-Leopard versions of the OS; it seems that Unsanity is finally caught with their pants down and no place to crap.

  19. Re:Application Enhancer is trouble by AusIV · · Score: 4, Informative

    Hell Linux you can do something similar most of the time.

    I'm not aware of anything quite as straightforward as copying files to an external hard drive and copying them back, but with Ubuntu it goes something like this:

    $ dpkg --get-selections > /backup/installed-software.log
    Then on the new system:

    # dpkg --set-selections < /backup/installed-software.lo
    # dselect
    Then Ubuntu goes back to the repositories and grabs everything again.
  20. Re:Funny by commodoresloat · · Score: 4, Funny

    How hard is it to say if [ "$(sw_vers -productVersion | sed -E 's/([0-9]+\.[0-9]+)\..*/\1/')" != "10.4" ] ; then syslog -s "unknown OS version." ; exit 0; fi? Speak for yourself... I'm still stuck on how to pronounce "sw-vers"...
  21. Re:When posting replies to this article by NMerriam · · Score: 4, Insightful

    you don't need to look hard to see what comments get moderated up on this site. Groupthink is strong here, whether you notice it or not.


    I've noticed that is the latest groupthink to make the rounds. it's a statement about as useful as "i know I'll get modded down for this..." which inevitably gets modded up.

    There are a lot of people on slashdot (and I guess in the world in general) who seem to enjoy being the victim of some massive conspiracy, rather than perhaps recognizing that when lots of people disagree with them it really is just a lot of people thinking they're wrong.
    --
    Recursive: Adj. See Recursive.
  22. Why Linux doesn't have this problem. by argent · · Score: 5, Interesting

    You have a bunch of people who don't have anything to do with the author of an application writing code that mass-modifies dozens of applications, libraries, etc., essentially doing binary patching on the running OS.

    I've done that as well. I mean, binary patching the actual OS, not just applications running in userland. Sometimes you gotta do it.

    If you knew what GNU libc does to try and avoid having to make people rebuild applications when upgrading libraries, you'd run screaming. They have code in there to look for libraries at runtime and dynamically load different variants of other libraries depending on what you're using and what you have installed. The glibc team has people who do nothing but look for cases where they have to adapt for different libraries and different kernel versions.

    The reason that you don't have more of a problem on Linux is that there's no central Steve Jobs for Linux who dictates the way the GUI works, so if you don't like the way Enlightenment or fvwm or Windowmaker behaves, you can change it. The downside of this is that there's no single framework you can modify or replace to make global changes. There used to be, back when everyone used Athena Widgets, and you could replace libXaw with libXaw95 to get a Windows 95 look, or with libXawSTeP to get a NeXTSTeP look. Now, instead, you get Battluin GUIs between the Gnome and KDE yobbos.

    And there's all kinds of Windows hacks that do similar stuff to APE, from development tools to simple user interface enhancements. And, yes, they can cause problems and break in new versions of the OS.

    What Unsanity has done is to create a framework that makes this kind of thing relatively safe compared to having everyone build their own. Unfortunately since they're not at Apple or someone that Apple is willing to support (because they are undoing the things that The Steve has decreed) there's an unhealthy passive-aggressive relationship between Apple and Unsanity that doesn't exist between (say) Debian and the glibc team.

    And, yes, they should be disabling themselves on upgrade. And Apple should look at the things that people are using Haxies for and make the things they are trying to get rid of optional.

    The other thing is, on Windows people simply don't put their trust in having an upgrade work. They do clean installs. And they wait on upgrading Windows until this kind of thing gets shaken out.

  23. Re:Funny by Rosyna · · Score: 4, Informative

    What blows my mind is that APE isn't smart enough to check the OS version and NOT LOAD


    You meant why doesn't APE do this?

    // Check so we don't load on 10.5
            SInt32 vers = 0;
            err = Gestalt(gestaltSystemVersion, &vers);
            if (err or (vers >= 0x1050))
            {
                    return paramErr;
            }


    (which I just took from the APE source code).
  24. The problem IS caused by Application Enhancer by Overly+Critical+Guy · · Score: 5, Informative

    Some suspect that a framework called 'Application Enhancer' by Unsanity LLC may be causing the problem, but there has been no official word from Apple at this point."


    There's no suspicion about it; that's exactly what's causing the problem. Application Enhancer is an input manager, and input managers are no longer supported in Leopard. People installing it knew the risks they were taking when they installed it on Tiger. Instructions have already been posted online on how to remove Application Enhancer from the command-line.

    Sorry, there's no big "BSOD" error in Leopard's install. It's a hacky piece of software people shouldn't have been installing in the first place.
    --
    "Sufferin' succotash."
  25. 20 and counting..... by CaptScarlet22 · · Score: 5, Informative

    14 upgrades, 4 reformats and 2 archive and install. 0 problems.

    Thats 10 G5's and 4 Mac Pro's with upgrades.

    Thats 4 MacBook Pros reformats.

    Thats 2 Powerbooks with archive and install.

    You can mod me any way you like, but it wont change the success I've had with Leopard....Awesome.

    --
    It's left blank because I have nothing to say to you punks!
  26. Re:Funny by plate_o_shrimp · · Score: 4, Informative

    Per Unsanity's web page, the current version checks. Previous versions don't. They say "Please accept our sincere apologies for all the trouble that was caused. We have underestimated the number of people running "outdated" versions of our software."
    http://www.unsanity.org/archives/haxies/leopard.php

    Personally, I think APE and the Unsanity haxies are %$^%$ and I stay as far away from them as I can!

    --
    This sig has exceed its monthly bandwidth allotment.