Starling-Framework
Starling-Framework copied to clipboard
Uncaught ArgumentError: Error #3672 at starling.display::QuadBatch/createBuffers()
Hi,
This error is a nightmare. Has been triggering randomly for ages, now in latest Android release (built with AIR 17), thousands of users are getting it on first launch... without any major change the in app code (and no issues on testing devices: Galaxy S4, Galaxy S3 mini...).
Uncaught ArgumentError: Error #3672 at starling.display::QuadBatch/createBuffers() at starling.display::QuadBatch/syncBuffers() at starling.display::QuadBatch/renderCustom() at starling.core::RenderSupport/finishQuadBatch() at starling.core::RenderSupport/batchQuad() at starling.display::Image/render() at starling.display::DisplayObjectContainer/render() at starling.display::Sprite/render() at starling.display::DisplayObjectContainer/render() at starling.display::Sprite/render() at starling.display::DisplayObjectContainer/render() at starling.core::Starling/render() at starling.core::Starling/nextFrame() at starling.core::Starling/onEnterFrame()
Impossible to debug and causes the app to crash.
I don't know if this is a Starling bug or an AIR / Flash bug but Starling is supposedly backed by Adobe. Is there no way of getting them to actually fix theses bugs?
Another one I reported that has been closed by adobe that still occurs thousands of times per day on our userbase (finally overrid starling & try catched the rendering..) : https://github.com/Gamua/Starling-Framework/issues/630
Sorry to hear about those issues!
You say that it got much more common now that you've updated to AIR 17, right? It's still a beta, perhaps this is some problem with the new version. Could you also try again with AIR 16, or do you rely on some specific new feature?
In any case, I just recently talked to Adobe about this error again and emphasized that it's one of the most critical ones (especially since 'internal error' is too vage to do anything against it). I'll keep trying!!
When you say "thousands of users", can you say what a percentage of users is that? And what was it before, with AIR 16?
I have already rolled back to AIR 16 and will see if the frequency drops in a day or so. I'll try and get you a good estimation of the errors/session in the next few days but basically this error and the textfield error I previously reported are the 2 most frequent errors that our app reports.
Thanks a lot for the info! If I find out anything from Adobe, I'll post it here, as well.
Well, 15min was enough : 12K logged sessions (not counting the ones that aren't logged due to the bug preventing login..):
740 Errors: ArgumentError: Error #3672 at starling.display::QuadBatch/createBuffers() at starling.display::QuadBatch/syncBuffers() at starling.display::QuadBatch/renderCustom() at starling.core::RenderSupport/finishQuadBatch() at starling.core::RenderSupport/batchQuad() at starling.display::Image/render() at starling.display::DisplayObjectContainer/render() at starling.display::Sprite/render() at starling.display::DisplayObjectContainer/render() at starling.display::Sprite/render() at starling.display::DisplayObjectContainer/render() at starling.core::Starling/render() at starling.core::Starling/nextFrame() at starling.core::Starling/onEnterFrame()
75 Errors: ArgumentError: Error #3672 at starling.display::QuadBatch/createBuffers() at starling.display::QuadBatch/syncBuffers() at starling.display::QuadBatch/renderCustom() at starling.core::RenderSupport/finishQuadBatch() at starling.core::RenderSupport/batchQuad() at starling.display::Image/render() at starling.display::DisplayObjectContainer/render() at starling.text::TextField/render() at starling.display::DisplayObjectContainer/render() at starling.display::Sprite/render() at starling.display::DisplayObjectContainer/render() at starling.display::Sprite/render() at starling.display::DisplayObjectContainer/render() at starling.display::Sprite/render() at starling.display::DisplayObjectContainer/render() at starling.display::Sprite/render() at starling.display::DisplayObjectContainer/render() at starling.core::Starling/render() at starling.core::Starling/nextFrame() at starling.core::Starling/onEnterFrame()
And about 40 more with various traces.. happens anytime, anywhere.. :(
Wow ... so about 850 errors in 12k sessions, right? And that's with AIR 16? But it hasn't always been that way, has it?!
No this is with AIR 17, the AIR 16 build is in the playstore release process. I'll need about 2 days to see if the number decreases again once the new (AIR 16) build has been dispatched.
Aaah, okay. Phew. Thanks for the clarification! And sorry for the troubles ... I'll do all I can to help. :-/
Thanks Daniel!
Quick update, the issue was present on a friends device (Galaxy Tab 2) and once reverted to AIR 16, no more issue.
So there is definitely a major issue in AIR 17.
Hi
We tried to reproduce this issue with AIR 17 based android application but the issue is not reproducible at our end.
Could you please share a sample application in which the issue is reproducible & the steps of viewing this error log in that application?
Regards Abhinav Adobe AIR Team
Hi,
Thanks for following up on this issue. Here is a debug apk that was built with air 17: [Edited]
Please remember that it doesn't occur on all devices, it didn't occur on any of our test devices. One user that had the issue used a Galaxy Tab3 Lite.
Hi
We tried reproducing this issue using the apk which you have shared above. We didn't see the error/crash during app launch on different Samsung tablets including Samsung Tab 3. The app launched & worked fine on all of these & we also didn't encounter anything problematic on fdb debugging.
Would it be possible for you to share a sample app on which the issue is reproducible?
Regards Abhinav Adobe AIR Team
Hi,
Thanks for investigating the issue. Unfortunately I never experienced the issue myself but we experienced huge numbers of complaints and received the numerous error logs as detailed above when we went live with the release version.
I'll post here again if I manage to reproduce the issue in a reliable manner.
Hi,
we have the same problem with SAMSUNG Galaxy Tab 2. On every launch app fails with an error.
ArgumentError: Error #3672: Buffer creation failed. Internal error.
at flash.display3D::Context3D/createIndexBuffer()
at starling.display::QuadBatch/createBuffers()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\QuadBatch.as:178]
at starling.display::QuadBatch/syncBuffers()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\QuadBatch.as:204]
at starling.display::QuadBatch/renderCustom()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\QuadBatch.as:222]
at starling.core::RenderSupport/finishQuadBatch()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\core\RenderSupport.as:372]
at starling.core::RenderSupport/batchQuad()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\core\RenderSupport.as:340]
at starling.display::Image/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Image.as:184]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.display::Sprite/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Sprite.as:203]
at feathers.controls.text::TextFieldTextRenderer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\feathers\source\feathers\controls\text\TextFieldTextRenderer.as:857]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.display::Sprite/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Sprite.as:203]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.display::Sprite/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Sprite.as:203]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.display::Sprite/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Sprite.as:203]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.display::Sprite/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Sprite.as:203]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.display::Sprite/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Sprite.as:203]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.display::Sprite/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Sprite.as:203]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.display::Sprite/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\Sprite.as:203]
at starling.display::DisplayObjectContainer/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\display\DisplayObjectContainer.as:351]
at starling.core::Starling/render()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\core\Starling.as:512]
at starling.core::Starling/nextFrame()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\core\Starling.as:467]
at starling.core::Starling/onEnterFrame()[D:\D disk\Programiranje\Git\tmobile_d2d_android_1280x760\Starling-Framework\starling\src\starling\core\Starling.as:670]
With AIR 16 everything works fine but the problem is that our clients use automatic update and now everybody have AIR 17 on theirs SAMSUNG galaxy Tab 2. We need to know when this bug will be fixed? Thanks!
Hey isBatak, are you using the non-beta AIR 17 release? (I haven't tested it so far)
Hi isBatak,
As mentioned in earlier posts, we haven't been able to reproduce this issue locally at our end.
If possible, could you please share a sample app in which the issue is easily reproducible?
Thanks, Abhinav Adobe AIR Team
yes, official non-beta AIR 17 downloaded from here
Hi Abhinav, Currently i'm not at my office and don't have device so i can't make sample app. I'll make one tomorrow.
Hi Abhinav, I've created a test app that reproduce this type of error. Link for download is here
On this picture you can see my device specification here And this is the preview of error in the sample app here
Thanks for sharing the assets, @isBatak I'm assuming that you are encountering these errors on adb logcat or is it via FDB debugging?
Thanks, Abhinav
@abhinavdhandh I'm encountering this error in both situations, either with release version of apk that I sent you, or while debugging with FlashBuilder. I can also give you old logcat output here, this is from my original app since I forgot to save logcat of TestApp, sorry :D
EDIT: If your question is referring to this picture here than it is inside app. I've put context.createVertexBuffer inside try catch and output error in flash TextField created on 2D stage.
EDIT 2: In the other hand, if you see a red square in top left corner than you are not getting the error. Maybe this error is device specific.
Hi Sebastien,
Could you provide us a sample project ( not an apk ) in which this issue is reproducible so that we could understand the problem precisely ?
-Tushar Dwivedi Adobe Air Team
I have the same problem with a galaxy tab 3 LITE (not with normal galaxy tab 3). I was about to release my update today and had a problem with this tablet, so after much googling found your post. I'm going to rollback to air 16 for now and wait for adobe to fix this.
@tushar2708 : to reproduce the problem is easy, the problem is the device, not the code. You don't need any special code from us. You need to get a galaxy tab 3 lite from costco at 100 buck. The moment you try to render ANYTHING, it throw error in starling @ createBuffers().
I just tested and using adobe air 16 fix the problem.
It's a MAJOR problem and updating my app with the release version of adobe air 17 would have cost me thousands of dollars. Happy that i had a bad tab 3 lite (my son tablet) with me to catch it before it would be too late like for neuronix.
I'm getting this issue too with Adobe AIR 17, feathers 1.3.1 and starling 1.5.1. (Error #3675: Texture format mismatch. in Starling #680) On a Nexus 4 with Android 5.0 it is working on a Samsung Galaxy S2 the error occurs...
Also tested AIR 17 with the latest Starling 1.6 and feathers 2.1.1...same error and also only the S2 throws the error.
Update I Now also tested with AIR 16 and it is also not working...AIR 15 works.
Update II: AIR 16 seems to work when adding -swf-version=27 to the "Additional compiler arguments" in Flash Builder 4.7 AIR 17 doesn't work with -swf-version=28 on the Samsung Galaxy S2
I also get the Texture Format mismatch with AIR 17.0.0.124 and Starling 1.6 on my Galaxy Tab 10.1 (GT-P7510) running Android 4.0.4.
The latest version of Flash Pro CC 2014 now prevents publishing with anything lower than AIR 17 as well so I can't revert to using AIR 16 which did function without the error.
For reference, here is another report that is probably related: https://github.com/Gamua/Starling-Framework/issues/267#issuecomment-83900810
Samsung Galaxy Nexus GT-i9250, Android 4.3
Non of my apps works with this device after switching to latest AIR 17.
ArgumentError: Error #3675
at starling.textures::ConcreteTexture/uploadBitmapData()
at starling.textures::Texture$/fromBitmapData()
at starling.textures::Texture$/fromData()
at Function/process()
at starling.utils::SystemUtil$/executeWhenApplicationIsActive()
at Function/complete()
at Function/onLoaderComplete()
This is definitely major issue to be solved. So many devices suffer from it.
I get much less of this errors with AIR 15 ) Wow, they have released this ^$^% Looks like Adobe doesn't test there builds on android. Seriously, an app with lust 1000 DAU will reveal tuns of problems very quickly.
Same here, this is device related. Some devices that have this issue are:
HP Slate 10 Samsung galaxy 3 tablet POLAROID Tablette 10,1"
Very urgent!!!