feathersui-starling icon indicating copy to clipboard operation
feathersui-starling copied to clipboard

TextInput throws Error #3672 when focused and emulator is closed

Open timoisalive opened this issue 9 years ago • 4 comments

I'm using IntelliJ Idea on Mac and running the app often in the emulator.

If I have a focused TextInput on stage when I close the emulator window, an error is thrown. It's nothing critical and I haven't seen the same on mobile at any point, but just wanted to let you know if it's something worth looking into.

ArgumentError: Error #3672: Buffer creation failed. Internal error.
	at flash.display3D::Context3D/createVertexBuffer()
	at starling.rendering::VertexData/createVertexBuffer()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/rendering/VertexData.as:904]
	at starling.rendering::Effect/uploadVertexData()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/rendering/Effect.as:217]
	at starling.display::MeshBatch/syncVertexBuffer()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/display/MeshBatch.as:98]
	at starling.display::MeshBatch/render()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/display/MeshBatch.as:234]
	at starling.rendering::Painter/drawBatch()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/rendering/Painter.as:631]
	at BatchProcessor/finishBatch()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/rendering/BatchProcessor.as:117]
	at starling.rendering::Painter/finishFrame()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/rendering/Painter.as:526]
	at starling.core::Starling/render()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/core/Starling.as:437]
	at starling.core::Starling/nextFrame()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/core/Starling.as:384]
	at starling.core::Starling/onEnterFrame()[/Users/timokoro/Development/Starling-Framework/starling/src/starling/core/Starling.as:600]

timoisalive avatar Nov 03 '16 08:11 timoisalive

I've occasionally seen this error too. Unfortunately, based on your stack trace, it happens while Starling is rendering, so that makes it difficult to debug. Perhaps it's a case where the context is lost as AIR shuts down, but Starling hasn't stopped itself for some reason.

joshtynjala avatar Nov 03 '16 14:11 joshtynjala

Are you able to reproduce it? I'm getting it every single time, with just one TextInput on stage, focusing on it and closing the window, with AIR 23 and 24. Mac 10.10.5, IntelliJ IDEA 15.0.6.

timoisalive avatar Nov 04 '16 08:11 timoisalive

Yes, as I said, I have seen this error. It doesn't hurt anything, though, so I'm not giving it a high priority.

joshtynjala avatar Nov 04 '16 14:11 joshtynjala

Right, I thought it was an occasional error for you, something not easily reproduced. Thanks anyways! :)

timoisalive avatar Nov 04 '16 14:11 timoisalive