Start a new topic

AR & IR integration (App Crash on Navigation)

AR & IR integration (App Crash on Navigation)
1 Comment


XCode Version: 4.6

Automatic Reference Counting (ARC): YES

iOS Versions: > 5.0.1

wikitude SDK Version: 1.2

I am using your both sample Projects (named SimpleARBrowser  &   SimpleIRSample ) And integrate them into one single project. I have not modified anything yet in your sample projects. I am just calling the webservices and data display into the AR Views. For IR View I have just change the function parameters to recognize the Target Images.

App Crash: Facebook Like Side Bar Navigation.

   1) Open AR Screen select any poi then goto details of poi. Again come back to the AR Screen. Now goto main screen then App will crash.

 Crash Reports:: Here I have two crash reports regarding to this and as follows by (A)  & (B).

 

      (A)       * thread #1: tid = 0x2403, 0x00060766 ARApp`- + 22, stop reason = EXC_BAD_ACCESS (code=1, address=0x60000014)

    frame #0: 0x00060766 ARApp`- + 22

    frame #1: 0x000606b2 ARApp`- + 98

    frame #2: 0x3bd27494 libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 168

    frame #3: 0x33f7c830 CoreFoundation`_CFAutoreleasePoolPop + 16

    frame #4: 0x3400d1b6 CoreFoundation`__CFRunLoopRun + 1294

    frame #5: 0x33f8023c CoreFoundation`CFRunLoopRunSpecific + 356

    frame #6: 0x33f800c8 CoreFoundation`CFRunLoopRunInMode + 104

    frame #7: 0x37b5e33a GraphicsServices`GSEventRunModal + 74

    frame #8: 0x35e9c2b8 UIKit`UIApplicationMain + 1120

    frame #9: 0x00013738 ARApp`main(argc=1, argv=0x2fdf4c94) + 172 at main.m:40

    frame #10: 0x0000e130 ARApp`start + 40

 

     (B)    * thread #1: tid = 0x2403, 0x3bd255d0 libobjc.A.dylib`objc_msgSend + 16, stop reason = EXC_BAD_ACCESS (code=1, address=0x41fd2861)

    frame #0: 0x3bd255d0 libobjc.A.dylib`objc_msgSend + 16

    frame #1: 0x00565c4c libglInterpose.dylib`- + 308

    frame #2: 0x35c2e7a8 QuartzCore`CA::Display::DisplayLink::dispatch(unsigned long long, unsigned long long) + 160

    frame #3: 0x35c2e700 QuartzCore`CA::Display::IOMFBDisplayLink::callback(__IOMobileFramebuffer*, unsigned long long, unsigned long long, unsigned long long, void*) + 64

    frame #4: 0x37ea9fd6 IOMobileFramebuffer`IOMobileFramebufferVsyncNotifyFunc + 154

    frame #5: 0x34c215ac IOKit`IODispatchCalloutFromCFMessage + 192

    frame #6: 0x3400388a CoreFoundation`__CFMachPortPerform + 118

    frame #7: 0x3400e3e6 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34

    frame #8: 0x3400e38a CoreFoundation`__CFRunLoopDoSource1 + 138

    frame #9: 0x3400d20e CoreFoundation`__CFRunLoopRun + 1382

    frame #10: 0x33f8023c CoreFoundation`CFRunLoopRunSpecific + 356

    frame #11: 0x33f800c8 CoreFoundation`CFRunLoopRunInMode + 104

    frame #12: 0x37b5e33a GraphicsServices`GSEventRunModal + 74

    frame #13: 0x35e9c2b8 UIKit`UIApplicationMain + 1120

    frame #14: 0x00010738 ARApp`main(argc=1, argv=0x2fdf7c94) + 172 at main.m:40

 

 

 

   2) Open AR Screen select any poi then goto details of poi. Now Here I am calling the Image Recognition View in the Next ViewController. After Image Recognition completes then multiple go back to main screen App will crash.

App Behaviour::  Sometimes display only Black AR Screen but not crashed at that time. now only one option remaining that click on the "back" navigation button then crash will happen.

 Crash Report:: 

 

* thread #1: tid = 0x2503, 0x00000000, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)

    frame #0: 0x00000000

    frame #1: 0x000ff838 ARApp`- + 188

    frame #2: 0x000ff0e2 ARApp`- + 86

    frame #3: 0x3bd29f28 libobjc.A.dylib`object_cxxDestructFromClass(objc_object*, objc_class*) + 56

    frame #4: 0x3bd270e2 libobjc.A.dylib`objc_destructInstance + 34

    frame #5: 0x3bd273b2 libobjc.A.dylib`object_dispose + 14

    frame #6: 0x35e772e6 UIKit`- + 734

    frame #7: 0x000fcaf6 ARApp`- + 210

    frame #8: 0x35e77130 UIKit`- + 296

    frame #9: 0x3bd27494 libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 168

    frame #10: 0x33f7c830 CoreFoundation`_CFAutoreleasePoolPop + 16

    frame #11: 0x3400d1b6 CoreFoundation`__CFRunLoopRun + 1294

    frame #12: 0x33f8023c CoreFoundation`CFRunLoopRunSpecific + 356

    frame #13: 0x33f800c8 CoreFoundation`CFRunLoopRunInMode + 104

    frame #14: 0x37b5e33a GraphicsServices`GSEventRunModal + 74

    frame #15: 0x35e9c2b8 UIKit`UIApplicationMain + 1120

    frame #16: 0x000dc738 ARApp`main(argc=1, argv=0x2fd2bc94) + 172 at main.m:40

    frame #17: 0x000d7130 ARApp`start + 40

 

 

These crashes frequently happens. Need Help.
Login or Signup to post a comment