4 Replies Latest reply on Nov 7, 2008 11:16 PM by hinsight46

    Problems Installing Adobe AIR on OSX

    grtflex4

      Has anyone had successful experience deploying the AIR runtime + AIR apps in mixed OS X environments? How about from another bootstrap installer on OSX?

      We have a large QA lab with various OSX machines. On a number of them, we can't install the Adobe AIR runtime using a command similar to this:

      /Volumes/Adobe\ AIR/Adobe\ AIR\ Installer.app/Contents/MacOS/Adobe\ AIR\ Installer -silent -location "/Path/To/Install" mypackage.air

      After running this the Adobe AIR runtime is not installed. So, we switched to executing the same command but with sudo. This correced the issue on these problematic machines.

      HOWEVER, using sudo or running the installer as root causes problems on many other machines. On OS X 10.4 Server machines the Adobe AIR Installer returns exit code 4, or crashes with a Bus error and error code 138. On a 10.5 client a popup appears with the text "This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version". Note that these machines would install the application and runtime fine without sudo before and will still do so now if we run the installer as a regular admin user instead.

        • 1. Re: Problems Installing Adobe AIR on OSX
          grtflex4 Level 1
          I forgot to say that when running under sudo or as root (logging in as root) on OSX, that the crashreport logs look very near the same as what was reported in this thread:

          http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=75&catid=697&threadid =1374298&enterthread=y

          However, the workaround of adjusting the languages did not work.

          Here is a portion of the crashreporter log:

          **********

          Host Name: skywarp
          Date/Time: 2008-10-06 15:29:40.175 -0400
          OS Version: 10.4.11 (Build 8S2169)
          Report Version: 4

          Command: Adobe AIR Installer
          Path: /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
          Parent: WindowServer [166]

          Version: 1.0 (1.1.0.5790)

          PID: 987
          Thread: 0

          Exception: EXC_BAD_ACCESS (0x0001)
          Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

          Thread 0 Crashed:
          0 com.apple.Foundation 0x927e7f91 +[NSString stringWithUTF8String:] + 27
          1 com.adobe.AIR 0x069f50a6 0x696b000 + 565414
          2 com.adobe.AIR 0x06970350 0x696b000 + 21328
          3 com.adobe.AIR 0x0697077f 0x696b000 + 22399
          4 com.adobe.air.Installer 0x00003625 RuntimeAppMain(char const*, int) + 195
          5 com.adobe.air.Installer 0x000037f3 main + 59
          6 com.adobe.air.Installer 0x00002786 _start + 216
          7 com.adobe.air.Installer 0x000026ad start + 41

          Thread 0 crashed with X86 Thread State (32-bit):
          eax: 0x00000000 ebx: 0x927e7f84 ecx: 0xffffffff edx: 0x00000001
          edi: 0x00000000 esi: 0x00000000 ebp: 0xbffffab8 esp: 0xbffffa80
          ss: 0x0000001f efl: 0x00010246 eip: 0x927e7f91 cs: 0x00000017
          ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

          Binary Images Description:
          0x1000 - 0x6fff com.adobe.air.Installer 1.0 (1.1.0.5790) /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
          0x696b000 - 0x70dcfff com.adobe.AIR 1.0 (1.1.0.5790) /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR
          0x8fe00000 - 0x8fe4afff dyld 46.16 /usr/lib/dyld
          0x90000000 - 0x90171fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
          0x901c1000 - 0x901c3fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
          0x901c5000 - 0x90202fff com.apple.CoreText 1.1.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.f ramework/Versions/A/CoreText
          0x90229000 - 0x902fefff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/ATS
          0x9031e000 - 0x90773fff com.apple.CoreGraphics 1.258.79 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/CoreGraphics
          0x9080a000 - 0x908d2fff com.apple.CoreFoundation 6.4.11 (368.35) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
          0x90910000 - 0x90910fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
          • 2. Re: Problems Installing Adobe AIR on OSX
            tzeng Adobe Employee

            "On a 10.5 client a popup appears with the text "This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version"."

            Could you get an installation log?
            • 3. Re: Problems Installing Adobe AIR on OSX
              tzeng Adobe Employee
              You need to have admin privilege to install AIR Runtime and applications.
              You might be able to install before with earlier versions (before 1.0 GM) I believe.

              If you can use sudo or root, why can't you log in as admin?

              Do you have more than one partition on your machines and switch to different partitions for different versions of OS?

              -ted
              • 4. Problems Installing Adobe AIR on OSX
                hinsight46
                Did we find a solution to this?

                I "solved" the popup dialog bug on Leopard with advice from an Adobe employee on the Apple Installer-dev mailing list by prepending "sudo -u $USER" to the whole command and it got rid of the "AIR is required to install AIR" box.

                However, I just sent the product to QA today and have this nasty [NSString stringWithUTF8String:] crash in the installer on Tiger. Wondering if we have come up with a solution to this. Below is a copy of the topmost portion of the crash log from the Tiger installation.

                Command: Adobe AIR Installer
                Path: /var/tmp/folders.501/TemporaryItems/airriLsis/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
                Parent: updater [422]

                Version: ??? (???)

                PID: 425
                Thread: 0

                Exception: EXC_BAD_ACCESS (0x0001)
                Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

                Thread 0 Crashed:
                0 com.apple.Foundation 0x927e1ecd +[NSString stringWithUTF8String:] + 27
                1 com.adobe.AIR 0x0a9f50a6 0xa96b000 + 565414
                2 com.adobe.AIR 0x0a970350 0xa96b000 + 21328
                3 com.adobe.AIR 0x0a97077f 0xa96b000 + 22399
                4 Adobe AIR Installer 0x00003625 RuntimeAppMain(char const*, int) + 195
                5 Adobe AIR Installer 0x000037f3 main + 59
                6 Adobe AIR Installer 0x00002786 _start + 216
                7 Adobe AIR Installer 0x000026ad start + 41

                Thread 0 crashed with X86 Thread State (32-bit):
                eax: 0x00000000 ebx: 0x927e1ec0 ecx: 0xffffffff edx: 0x00000001
                edi: 0x00000000 esi: 0x00000000 ebp: 0xbffff9c8 esp: 0xbffff990
                ss: 0x0000001f efl: 0x00010246 eip: 0x927e1ecd cs: 0x00000017
                ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

                Binary Images Description:
                0x1000 - 0x6fff Adobe AIR Installer /var/tmp/folders.501/TemporaryItems/airriLsis/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
                0xa96b000 - 0xb0dcfff com.adobe.AIR 1.0 (1.1.0.5790) /var/tmp/folders.501/TemporaryItems/airriLsis/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR
                0x8fe00000 - 0x8fe4afff dyld 46.16 /usr/lib/dyld