Page 1 of 5

Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 23 May 2013, 14:33
by dsanjit
Hi
I tried the integration Sample and it crashed on startup. Ive attached a screenshot. Please let me know how to proceed.

Thx
Sanjit

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 23 May 2013, 20:38
by jsantos
Hi,

I verified that the sample is working for us in both iPhone and iPad (retina and nor retina) on iOS 5 and iOS 6.1. There have to be a problem we are not catching. In fact, the trace that appears in the screen makes nosense. That is probably because is a release distribution. Could you test the example with the debug lib that is located here:

http://www.noesisengine.com/NoesisGui/0 ... 9.4194.zip

With this library, you will see an assert in the sample because, stencil is not being active (although the sample does not use it at all). To disable this assert, please, enable Stencil in the sample:
...
view.drawableDepthFormat = GLKViewDrawableDepthFormat24;
view.drawableStencilFormat = GLKViewDrawableStencilFormat8;
view.drawableMultisample = GLKViewDrawableMultisample4X;
...
More things would be interesting to check to help us:
  • Do you have an iPhone to test?
  • Do you have a 6.1 device to test? (we couldn't check on 6.0, only in 6.1)
Thanks.

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 24 May 2013, 09:08
by dsanjit
Crashed again with the debug builds. Tried it on iPad4 Retina and iPod Touch 4g . Attaching the screenshots.
Also noticed mInitialized=false....

Hope these help

Sanjit

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 24 May 2013, 09:52
by jsantos
Hmm... one of our assert() is failing. And the unique explanation I can find is that ->InitSystems() is being invoked twice on your device. Could you verify that? That method is invoked from SetupGL, that should be invoked only once.

Besides, this version, generate a .log in the /tmp/ folder of the application. Could you attach it to me?

Thanks.

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 24 May 2013, 15:41
by dsanjit
Is the .log file on the device ? How do I access it ?

Sanjit

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 24 May 2013, 15:49
by dsanjit
Sorry, got it... ive attached the .log.
(zipped as I was unable to attache a file with a .log extension).

Sanjit

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 24 May 2013, 19:07
by jsantos
Hi,

I created a lib with more instrumentation, could you replate your libNoesis.a with this one

http://www.noesisengine.com/NoesisGui/0 ... Noesis.zip

rebuild the project, launch and send us the log again?

Thanks!

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 25 May 2013, 09:20
by dsanjit
Here goes ... log attached.

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 25 May 2013, 14:16
by jsantos
It seems that the latest changed are not present in your build. I think you must do a clean and later build of the project. I have verified that I sent you the proper lib.

Could you try it please?

Re: Crash 0.9.9 - iOS 6.0 - iPad4 - XCode 4.5

Posted: 25 May 2013, 16:03
by dsanjit
Checking now....