Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Assertion failed: (s_VERTEX_ARRAY == 0) — Gideros Forum

Assertion failed: (s_VERTEX_ARRAY == 0)

troysandaltroysandal Member
edited October 2013 in Bugs and issues
I was just making some changes to how FB logins work in my app when I hit the following odd error.

Assertion failed: (s_VERTEX_ARRAY == 0), function oglEnableClientState, file /Users/atilim/myprojects/gideros/ios/iosplayer/../../2dsg/ogl.cpp, line 139.

What I did to cause this was to start calling TextField:setText() the second I get a success response back from FB. Here's the code.

PFFacebookUtils:linkUser_permissions_block(Parse:currentUser(), {}, toobjc(function() textField:setText("Logged In!") end)asVoidDyadicBlockBO

If I take out the setText() I'm ok, or if I wrap it in a Timer.delayedCall(1000, ...)

Anyone else seen this and know how to better avoid it? It''s in @atilim 's code from code path :-O

Comments

  • ar2rsawseenar2rsawseen Maintainer
    Accepted Answer
    Yes @atilim is on your computer, he is in everyone's computers :D
    the path is probably from what binaries have been built from, thus leaving some traces of information, nothing to worry there.

    But the error itself seems to be a biggie, and most probably related into mixing native bridge with Gideros, but we will take a look into that, thank you ;)
  • Here's a follow up thread I got, just FYI. Haven't seen this since I put in my fix above.

    Thread 16, Queue : (null)
    #0 0x2dd07d04 in sgxBindResource ()
    #1 0x2dd01458 in sgxPatchDeferredFramebufferOffsets ()
    #2 0x2dd06768 in sgxEndRender ()
    #3 0x2dcff490 in SubmitPackets ()
    #4 0x31219cdc in gliPresentViewES ()
    #5 0x31224136 in -[EAGLContext presentRenderbuffer:] ()
    #6 0x008382e6 in EAGLContext_presentRenderbuffer(EAGLContext*, objc_selector*, unsigned int) ()
    #7 0x000abff6 in -[EAGLView presentFramebuffer] at /Users/troy/depot/jct/xcode/GiderosiOSPlayer/GiderosiOSPlayer/EAGLView.m:139
    #8 0x00187264 in ApplicationManager::renderLoop() at /Users/atilim/myprojects/gideros/ios/iosplayer/iosplayer/giderosapi.mm:775
    #9 0x00187170 in ApplicationManager::renderLoop_s(void*) at /Users/atilim/myprojects/gideros/ios/iosplayer/iosplayer/giderosapi.mm:752
    #10 0x2f9f4dc6 in __NSThread__main__ ()
    #11 0x39c6ec5c in _pthread_body ()
    #12 0x39c6ebce in _pthread_start ()
Sign In or Register to comment.