Log in or register to post comments

App crashes every after few scan with image/screen capturing

April 30, 2015 - 10:11pm #1

Vuforia SDK Version: 4.0 -

Description with steps to reproduce:

Hello,
 
I am developing one iPad app with Vuforia 4.0 SDK where I am capturing/screenshot AR screen and saving that image into iPad Library. I have successfully implemented this feature but app crashes every after few screen capture.
 
App Flow: When app opens it directly loads AR screen. Where you can see capture (red circle) button at bottom. By pressing on that you can take snapshot of current AR screen. It will save it in your iPad Library. And redirect you on another screen, From where you can come back to AR screen and can another snapshot.
 
Problem: It is working only up to 20/25 times. After that when we press back button it will redirect us to AR screen and crash immediately. Again on new start app will work 20/25 times. 
 
In memory spike it shows memory consumption increases and app crash after few successful iteration. Let me know if you need any more details.
 
Can you please check why app crash on AR screen? Thanks in advance for your help.

-

Development OS (Mac OS X, Windows, Linux): Mac OS X -

Mobile OS and Version: iOS 8.1.1 -

Mobile Device Manufacturer and Model name: iPad Air 1 -

Do the Vuforia Sample Applications show the same behavior?: I have added image capturing code in the Vuforia Sample Application and faces the same behavior.

App crashes every after few scan with image/screen capturing

May 5, 2015 - 11:20am #4

It sounds like there's a memory leak somewhere in the implementation of your custom screen capture code, which would be specific to your own app-logic and not to Vuforia.

App crashes every after few scan with image/screen capturing

May 4, 2015 - 9:51pm #3

Thanks for your help. I don't have any problem with capturing AR screen. I have successfully implemented AR capturing in my app. The problem which I face is app is crash after certain number of Vuforia SDK calls. In my app I am calling Vuforia AR screen from other screen. It is working for 15 to 20 times but after that when I call Vuforia AR screen it comes and app suddenly crash.

App crashes every after few scan with image/screen capturing

May 4, 2015 - 8:31pm #2

I don't have specific steps for iOS, but here's an FAQ on how to capture a screenshot in Android which might provide some ideas:

https://developer.vuforia.com/forum/faq/android-how-can-i-capture-ar-view

 

Log in or register to post comments