Start a new topic

APP Crash (ios)

APP Crash (ios)

2 people have this problem


hi All,

I have used Wikitude's (augmented cammera view) in my iphone application, i have used navigation controller to open a view in which i  am using wikitude's augmented cammera view. every thing is working fine but when i try to come back to my previous view using navigation controller button my app is crashing.

i am trying to run this app on ios5 and above devices, my xcode virsion for development is 4.3.1,  i am using letest virsion of wikitude sdk 1.1 free trial version.

 

Please give me Suggessions if u have to come up with is problem. 

thank you

Hi,

I created a simple App which demonstrates the usage of UINavigationController with the Wikitude SDK. 

Hopefully you can find out whats the problem with your Application and fix it.

 

Best regards

Andreas

 

Hi Andreas,

I too have the same problem of app getting freezed and crashing if run for a long time. I tried with the sample app you posted, that also crashes when run for a long time.

For your reference I am attaching the crash log, please suggest whats wrong....

 

2012-11-01 14:27:43.416 CampaignBrowser -: unrecognized selector sent to instance 0x1d5ce350

2012-11-01 14:27:43.418 CampaignBrowser *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-: unrecognized selector sent to instance 0x1d5ce350'

*** First throw call stack:

(0x35e232a3 0x3413397f 0x35e26e07 0x35e25531 0x35d7cf68 0x33e9d119 0x35df86b1 0x35df7d85 0x35df6fdd 0x35d69ebd 0x35dc89bb 0x33e9cef7 0x39bb6311 0x39bb61d8)

libc++abi.dylib: terminate called throwing an exception

(lldb) bt

* thread #5: tid = 0x2317, 0x31a27350, stop reason = signal SIGABRT

    frame #0: 0x31a27350

    frame #1: 0x39c10973

    frame #2: 0x32f7fd4f

    frame #3: 0x32f7cff9

    frame #4: 0x34133a77

    frame #5: 0x32f7d07b

    frame #6: 0x32f7d114

    frame #7: 0x32f7e599

    frame #8: 0x341339d1

    frame #9: 0x35d69f21

    frame #10: 0x35dc89bb

    frame #11: 0x33e9cef7

    frame #12: 0x39bb6311

 

Regards

Srikanth

Hi,

on which device are you running the app and how long does it run until it crashes?

Best regards

Andreas

Hi Andreas,

I am running the app on iPhone 4S, the same happens even on iPhone 3GS.

This behaviour is occuring when the app runs for 5-10 mins.

Regards

Srikanth

Hi,

thanks for your information. Are you interacting in any kind with the device in this period or does it only rest on your desk?

Hi,

Which iOS and Xcode version are you using? Does the crash occur every time the ARView is shown more than 10 minutes?

Andreas

I do sometimes but most of the times I observed the crash is when its idle.

Do we need to call AR.ARchitectObject.destroy(); once we are done with the AR functionality?

Regards

Srikanth

Yes, the crash occurs everytime, I am using XCode 4.3.1 and iOS5.1

Regards

Srikanth

Hi Andreas,

To update you on my observations since yesterday, I have frequent start/stop/start/... calls on my ArchitectView when ever I switch between AR and non AR Views, and I guess the issue is occuring because of CMMotionManager also being started and stopped as we start/stop ArchitectView. To confirm this what I did is I removed the call to stop on ArchitectView and the now the app doesn't crash, its been 15-20 mins since I ran the app.

I am using Wikitude 1.1.1, I strongly believe its something to do with sequential start/stop calls on ArchitectView. I think this issue relates to an earlier post on Wikitude forum http://forum.wikitude.com/home/-/message_boards/message/133681.

Please check on it and let me know what could be a possible nicer way to get around this problem.

Regards

Srikanth

Hi,

thanks for your detailed information. I'll do some tests today and can perhaps send you a new test version later that day.

Best regards

Andreas

Hi,

i am also facing this same problem. I am using wikitude sdk 1.1.1 and while the app is idel for about 10-15 mints it crashes and throw the same error.

Please reply as soon as possible. 

I have tried all the things you have mentioned in the form.

Thanks 

Abhishek 

We will release version 1.2 of our SDK in the next week. This version contains various fixes and speed improvements.

Best regards

Andreas

Thanks Andreas for the quick reply.

We will wait for the new release of the SDK.

Regards

Abhihsek Goyal
Login or Signup to post a comment