AIR App Crashes iOS After Loading Remote Image

I have had this problem both with the latest official AIR SDK 3.3 (3.3.0.3670) and 3.4 release (3.4.0.2540) when doing a Standard build.  I am loading a few files one after the other from a remote server on an iPad.  After loading some xmls and swfs successfully, my app crashes and closes without any error message upon loading an image file (I've tried both png and jpg with the same result).  I have both progress and complete event listeners on the loader and the crash happens after all bytes are loaded and before the complete event triggers.  So it seems as if there is some problem with initializing/decompressing the image.  The crash log reports things along the lines of "EXC_BAD_ACCESS" and "KERN_INVALID_ADDRESS."
This problem does not occur if the files are loaded from the application directory --- only when they are loaded from the remote server.  It is also not occuring with the preview AIR SDK 3.4 with iOS6 Support release (3.4.0.3010).  It is also not occuring on the desktop simulator (adl) or the Fast mode debug option.
Right now all I can gather is that it is a bug with the AIR SDK that seems to be resolved in upcoming versions, however I am due to submit my app to the app store September 4th so I don't really have the time to wait!
Please advise on how I can go about tackling this issue.
The issue occurs with any combination of the following:
Flash Builder 4.6
Flex SDK 4.5.1 or 4.6
AIR SDK 3.3 or 3.4
iPad 1/2/3 with iOS 5.1.1

Hi,
Could you please consider it raising via bugbase.adobe.com and share the bug number here for reference. Also, we would request you to attach sample source files which can replicate the issue.
-Thanks for reporting it.
Pahup

Similar Messages

  • IOS 5: Manually load REMOTE images in HTML emails ...?

    I've been clamoring for this feature forever, and Apple finally added it in 3.0.... the ability to NOT download remotely hosted HTML images in emails [mainly to prevent additional spam]..... unfortunately, if you turn off the loading of remote images in your settings, you're unable to load them in manually on a per-email basis.
    SO CLOSE!
    Does anyone know if this is possible now on iOS 5? Would love it to work like their desktop mail app

    varjak paw wrote:
    Settings -> Mail, Contacts, Calendars -> Load Remote Images -> Off
    Regards.
    Yes that's how you turn it off.  Now that you have it off, and an image arrives whose images you want to view, you can't do it.  You can turn the setting back on, but then all the other emails whose images you don't want to open, will open, leaving you vulnerable.  There should be a button in the mail viewer to load images when viewing an e-mail if this setting is off, just like Mail in OSX.  I think it's an oversight.

  • Embedding swf files in AIR app for ios

    Hi,
    After going through a lot of articles already available, I found answers with varying views on the following questions:-
    1) Can we embed swf files using the embed tag in air app for ios, with symbols exported ?
    Something like [Embed(source="someSWF",symbol="exportedSymbol")]
    and also something like [Embed(source="someSWF")].
    From what I understand, one can't embed swf's with actionscript byte code in them. So exporting symbols actually creates class linkages which leads to creation of abc. But I'm unsure on this because some sources say otherwise.
    2) Can we embed swf files using embed tag in air app for ios, without symbols exported ?
    Something like [Embed(source="someSWF")]
    and also something like [Embed(source="someSWF" mimeType = "application/octet-stream")]
    I read somewhere else, that you can actually embed symbols separately by providing symbol tag in embed tag but not entire swf (which leads to uncompiled actionscript error) but not sure about this as this is contradictory to finding #1.
    3) If #2 is possible, then do embedding two different swfs with same symbol names would cause a conflict and result in #3747 error ?
    Please note I am not asking about the Loader class here but using the Embed keyword for embedding swfs.
    Also do the results differ with AIRSDK 3.8 and 3.9 and using different swf-version in compiler flags ?
    In our application we started getting error #3747 in class creation of one of the embedded swfs (like new EmbeddedClass()) when we changed from swf-version 17 to 21 using AIRSDK 3.8. So was this error not there earlier or it was there but swf-version was suppressing it ?
    Any help is much appreciated.
    Thanks!

    I am fairly sure that the answer to your questions is: “no”.
    For embed to work the AIR app would have to be working in interpreter mode, and that can work for local testing, but can’t work for submitting apps. An easy change for you to do would be to use SWCs instead of Embed. Other than that you’re looking at Loader, but also a tricky command line build of the app.

  • Load remote images in iPad Mail?

    In Mail Settings I have load remote images off. On my computer I can click a button in Apple Mail to load remote images. Is there any way I can tell the Mail ap on my iPad to load remote images on a single message without having to make the global change in Settings?

    You're welcome. I played around with the mail app for a while and still couldn't find a way to do it so I'm pretty convinced now that it isn't possible.

  • Music app crashes constantly after iOS5 update and won't restart.

    I have an iPhone 4 that I updated to iOS5 last week. The first time I tried the new Music App, it ran very sluggishly. I then connected it to my JVC car stereo via the dock connector (Made for iPod), and the Music App crashed. After crashing, it just shows a blank white screen when you try to start the app, then crashes again after about ten seconds.
    I can delete all the music from the iPhone via iTunes, and then re-add it, which seems to work for getting the Music App working again. But as soon as I try to connect it to the dock connector on my car stereo, it crashes again as previously described. Grrr.

    No answers, only wanted to commiserate—I had a similar problem, and now my iPhone 5 running iOS 5 is showing the blank white screen for the Music app every time. No music showing anywhere, even when NOT connected to the dock in my car. I was wondering if the bug was related to the number of songs/size of files (since I have a crapload of music). This has to be happening to others...
    My Music App screen:

  • Load remote images in html mail setting does not get saved. I have to turn it off every time I log in. Is this a bug?

    Load remote images in html mail setting does not get saved. I have to turn it off every time I log in. Is this a bug?

    Plug your phone into the wall charger for at least 30 minutes...make sure you have a sim card in the phone...then:
    Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.
    Make sure you have no anti-virus software running or any firewalls...turn all of that stuff off.

  • HT5316 I've been working with Mainstage 2.1.3 and have experienced concerts crashing immediately after loading.  I'm not installing Mainstage 2.2.2 to see if that helps alleviate the issue.  My question is: should I uninstall Mainstage 2.1.3 now?

    Hi all,
    I've been working with Mainstage 2.1.3 and have experienced concerts crashing immediately after loading.  In an attempt to solve crash issue, I've installed Mainstage 2.2.2 to see if that helps alleviate the issue.  My question is: should I uninstall Mainstage 2.1.3 now in order to save memory?
    thanks,
    korriefromca

    Hi
    korriefromca wrote:
    My question is: should I uninstall Mainstage 2.1.3 now in order to save memory?
    You would only save about 500MB by deleting MS 2.1.3. You may find it useful to keep the application, or perhaps to make a zip and then delete the original
    CCT

  • In mail. What does it mean to to turn off on 'Load remote images?'

    In mail. What does it mean to turn off or on 'Load Remote Images?'

    From Mail's help:
    Show or hide remote images
    Some messages may use HTML to include remote images that, when retrieved from the sender’s servers, reveal information about your Mac. You can protect your privacy by not loading remote images contained in messages you receive. In addition, when you don’t load remote images, messages display more quickly.
    Choose Mail > Preferences, and then click Viewing.
    Select or deselect the “Display remote images in HTML messages” checkbox to show or hide the images.
    If you chose to hide remote images, a banner is displayed across the top of messages that contain remote images, asking whether you want to load them for viewing.
    If Mail detects that a message is junk mail, HTML images aren’t displayed.

  • What causes an AIR app crash (non-error type)

    Gidday guys
    Pretty general question, but I'm curious as to what I should be looking for if...
    - I randomly get the Test Movie Terminated message when compiling or running a desktop AIR app from Flash Pro IDE
    - the installed AIR app crashes/terminates randomly from no apparent reason?
    No compiler errors or warnings are generated.
    Cheers

    'The most important thing to notice is the red line. This represents the budget time that you have to keep below on each frame, if you’re to meet the framerate you want to achieve. For example, on a SWF running at 30 frames per second (fps), you have a budget of 33ms per frame (1000ms / 30 frames). In other words, if you spend more than 33ms per frame, your application will start stuttering and skipping frames, which you really don’t want to happen!'
    Does that mean when I'm coding, I should be making sure that functions etc are complete before the frame finishes? ie if my project is 12 fps, a function should never take longer than 83ms to complete?
    no, (and going over budget wouldn't crash flash).  going over budget means flash is not able to maintain the targeted frame rate.  go over budget enough and you'll see your display stutter instead of maintain smooth animation.  that's not relevant to a data app and not relevant to a crash problem.
    you want to check the memory use and see if it is relentlessly increasing as you use your app.  in particular, what's scout tell you when your app crashes.
    My project isn't frame really specific - ie there's no animation or frame reliant graphics in particular. It's a data based app.
    Does it just mean that my display will slow down if I'm jamming more processing in that a frame can handle, and should I be worried about it if my display isn't particularly important?
    no, that's not a problem.

  • Windows 8 apps crash immediately after opening

    Windows 8 apps crash immediately after opening
    when ever i open any app downloaded from windows store some of them crashes immediately.......
    after re-installing it only works for 1-2 days then again same problem  

    Hi,
    Please also check these two blogs to see if any suggestion work for you when the issue happens again:
    Fix Store App in Windows 8.1
    http://blogs.msdn.com/b/notime/archive/2013/10/18/fix-store-app-in-windows-8-1.aspx
    What to do if your Windows 8 Modern App fails to start
    http://blogs.technet.com/b/askperf/archive/2013/10/11/what-to-do-if-your-windows-8-modern-app-fails-to-start.aspx
    If the issue still persists, please post back the %TEMP%\winstore.log
    and saved AppModel-Runtime and Apps event logs under Event Viewer>Applications and Services Logs>Microsoft>Windows here for our research.
    Please upload them to a file sharing service like Onedrive or "Rapidshare" and put a link to them in your reply.
    Kate Li
    TechNet Community Support

  • Adobe Air app crashes on iPad2 but not iPad3 on iOS 8.1

    I have an app built with Flash Builder 4.7 using Adobe Air (version 15.0.0.356). The app runs some interactive animations (.swc files) and after running for a while on iPad2 the app crashes (can reproduce crash in same scene exactly 5 seconds into animation every time) but runs perfectly fine on the iPad3 both using iOS 8.1. Is this a fixable memory issue? an sdk problem?

    I have an app built with Flash Builder 4.7 using Adobe Air (version 15.0.0.356). The app runs some interactive animations (.swc files) and after running for a while on iPad2 the app crashes (can reproduce crash in same scene exactly 5 seconds into animation every time) but runs perfectly fine on the iPad3 both using iOS 8.1. Is this a fixable memory issue? an sdk problem?

  • Having trouble with the Air/app crashing after 3 or so hours on Win 7.

    Heya.
    I have been battling with this issue for a few days now, trying to debug what might be the root cause. The application is a reaction game with organic creatures and movement via Bezier Splines and some physics. It uses some really intense calculations while the game is running. Anyhow, the game is being ran on a dedicated machine with Win 7 and AIR installed. It should be able to function about 13-16hours in a row, since it is a part of a science centers show, and it should be touring europe in the near future as well. Needless to say having the app crash every few hours isn't really an option.
    So, after about 3 hours (checking from Win 7 error log) Windows notifies me that the application has stopped working and it just freezes the whole thing. I've been running it over nights to see when this error happens, and it seems to happen pretty consistently after around 3-4 hours of runtime with constant games. (having the game play itself)
    This is what Windows error log says
    Faulting application name: APPLICATIONNAME.exe, version: 0.0.0.0, time stamp: 0x4b66b0f3
    Faulting module name: Adobe AIR.dll, version: 1.5.3.9130, time stamp: 0x4b66b06a
    Exception code: 0xc0000005
    Fault offset: 0x00256e29
    Faulting process id: 0xaf8
    Faulting application start time: 0x01cae2f060312579
    Faulting application path: C:\Users\Muffinssi\Desktop\APPLICATIONNAME.exe
    Faulting module path: C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll
    Report Id: 2b358e12-4efb-11df-84f7-64b9e8d85ac7
    Now from what I've tested from extended running of the game by itself, it doesn't leak memory, and it doesn't seem to throw any Flash based error at all. I set the Debug flag on the installed AIR app, and checked the trace log for any errors, there were none. Also no flash/air specific modal window about an error, only the Win 7 error about it stopped working.
    I am at a loss here, what could be causing this error? Any ideas on how to fix this? I would really appreciate it!
    Cheers
    Niilo

    If you get any form of strange behaviour from your BB then, with the power-on, remove the battery and leave it out for a couple of minutes.
    If that doesn't sort the problem then post again or use the search facility above.
    Blackberry Best Advice - Back-up weekly
    If I have helped you please check the "Kudos" star on the right >>>>

  • Loading and download SWFs for AIR apps on iOS from server

    Dear
    I develop app for ios using adobe air i need to loading and download swf in my server to my local device
    i make it loading from server and play but i need to download it locally in device to play offline
    Please Help
    Thank You

    If I undestand correct, the unload() is unsuported yet, so it just hangs in the memory
    In the tests I did, when I put two loads for the same swf, the app freezes, so I don´t know what you can do there.
    For the "code", you just need to put the LoaderContext on the loads, something like this:
    Frame 1:
    var myLoader:Loader;
    var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
    if(myLoader == null){myLoader = new Loader(); addChild(myLoader); }
    else {myLoader.unload();}
    Frame 2:
    myLoader.unload();
    myLoader.load(new URLRequest("file1.swf"),loaderContext);
    Frame 3:
    myLoader.unload();
    myLoader.load(new URLRequest("file2.swf"),loaderContext);
    Frame 4:
    myLoader.unload();
    myLoader.load(new URLRequest("file3.swf"),loaderContext);
    Regards,
    Rogério Gonzalez

  • Mail app crashes constantly after iOS 7

    Updated 6.1.3 to 7.0 and native Mail now crashes to home screen anywhere from 0 - 5 seconds after loading, sometimes while the screen is still white (loading) and sometimes a few seconds after I can see and temporarily navigate my mailboxes. Was working fine before - Anyone else have this issue or know how to resolve? Apple, are you aware of this / fixing?
    No, I will not restore a backup or reset to factory settings - these solutions are unnacceptable for many reasons.

    Try quitting Mail like I describe below then reset your phone.
    Double click the Home button to show the screen with running and recently used apps. Each app icon will have a sample page above it. Flick up on the page (not the app icon) and the page will fly away and the app icon will disappear. This quits that app.
    Then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • XCode 5.1 updated and now I can't debug AIR apps on iOS Simulator anymore

    Today XCode updated itself to version 5.1, with new iOS 7.1 platform support. It updated itself without asking permission, and now I can't run my AIR apps on the iOS simulator anymore. All my apps fail with the following error:
    'Launching [myApplication]' has encountered a problem.
    Error occurred while installing the application:
    dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
      Referenced from: /Applications/AIR_SDKS/AIRSDK_4.0.0.1628/lib/aot/bin/isb/isb
      Reason: image not found
    /var/folders/g1/014r026919j9fkv085ypt31r0000gn/T/cmd7720052456329253213.tmp: line 1:  2126 Trace/BPT trap: 5       "/Applications/AIR_SDKS/AIRSDK_4.0.0.1628/lib/aot/bin/isb/isb" "-install" "-apppath" "/var/folders/g1/014r026919j9fkv085ypt31r0000gn/T/eb03981d-5689-4bb5-821c-78ca84086393/Pa yload/[myApplication].app" "-sdkpath" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/ SDKs/iPhoneSimulator7.1.sdk"
    I use AIR SDK 4.0.1628 (the latest version according to the SDK download page today), and it doesn't make a difference if I choose another simulator version (7.0 and 6.1 fail the same way).
    I'm developing in Flash Builder 4.7, on OS X 10.9.2
    Any ideas of how to fix this? Will using the AIR 13 beta help?
    Thanks, Frank

    Thanks for the steer Jason that worked,
    So that would be Apache Flex 4.12 using Flex installer 2.7 will bring the same benefits of AIR SDK for Flex 13...... I basically have to use an installer from a third party to make the commercial product I pay for work to solve the precise problem its sold as solving.
    It's like buying a *******' drill you have to put together yourself.
    I'm gonna get this build finished, then sneak into Flash Builders room while it's having a sleep after a big dinner and smother it with a pillow. It's the kindest thing to do. Ha!
    @DavidDragon,
    Follow these steps:
    http://flex.apache.org/doc-getstarted.html
    However just make sure you use the latest version [4.12.0]

Maybe you are looking for

  • GW token not working as expected

    I am publishing the token ItemMessageIDFromView just after publishing the ItemSaveMessageDraft token. The result is "Token failed execution!". If I allow ItemSaveMessageDraft to complete its functioning and publish ItemMessageIDFromView asynchronousl

  • HT201269 How do I get my number off of my mom's apple ID?

         We all shared the same apple ID, but with the new software, whenever I get imessages it gets sent to my mom's Ipad. I made my own apple ID account. How do I get my number off of my mom's apple ID so she won't get my texts?

  • Can't locate version 1.3.3 of Airport Express?

    I can't find the version of AirPort Express 1.3.3, needed for an older iPad 2, running IOS 6. Apple Store only shows version 1.3.4(?)

  • Clip duration metadata in an email response

    [duration] value will not pass to email via email response even if I map the timecode value to a custom field - be it a timecode value or string. Anyone figured this out yet. AppleCare thinks it may be a bug - workarounds anyone?

  • "error" with LOV please help

    I created a LOV: select name, id from user_list order by 1 and I used a popup LOV where it shows the person's name and id number respectively. Now when I select a person's name on the Popup LOV I get the ID number which when displayed on the table it