Skip to main content
developer portal
    • Account Info
    • Payment Method
    • Billing Statements
    • Messages
Log Out
Log In Register
  • Home
  • Pricing
  • Downloads
  • Library
  • Develop
  • Support
  • Admin
  • SDK
  • Samples
  • Tools
  • Studio
  • Support Center
  • Community Forums
  • VIP Support
  • Production Support
  • Accounts
  • Roles
  • Licenses
  • Databases
  • Price Plans
  • Billing
  • Content
  • Legal
  • Forums
  • Reports
  • Tools
  • Registry
  • License Manager
  • Target Manager
  • Community Forums
  • Archive
  • Archive
  • Issues and Bugs
  • Crash on Android with Unity3d : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state
Log in or register to post comments
  • Sort Posts
  • 3 replies
  • Last post

Crash on Android with Unity3d : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state

January 13, 2017 - 2:26am #1

Vuforia SDK Version: 6-2-6 -

Description with steps to reproduce: I develop an AR application with Unity3d version 5.5.0f3 and Vuforia 6-2-6 SDK.

Sometimes, randomly, the app crashes with these logs when running on a Samsung Galaxy S7 with Android version 6.0.1 :

Unity log :

01-13 11:08:05.123 17213 17239 E Unity : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state

adb logcat :

01-13 11:08:15.003 17213 17619 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x60 in tid 17619 (UnityMain)
01-13 11:08:15.003 17213 17239 V MediaPlayer: getVideoWidth
01-13 11:08:15.003 17213 17239 V MediaPlayer-JNI: getVideoWidth: 1080
01-13 11:08:15.003 17213 17239 V MediaPlayer: getVideoHeight
01-13 11:08:15.003 17213 17239 V MediaPlayer-JNI: getVideoHeight: 540
01-13 11:08:15.003 17213 17239 V MediaPlayer-JNI: getCurrentPosition: 9813 (msec)
01-13 11:08:15.003 3453 4433 I EDMNativeHelperService: isCameraEnabled
01-13 11:08:15.013 3453 3478 I EDMNativeHelperService: isCameraEnabled
01-13 11:08:15.013 17213 17239 V MediaPlayer: getVideoWidth
01-13 11:08:15.013 17213 17239 V MediaPlayer-JNI: getVideoWidth: 1080
01-13 11:08:15.013 17213 17239 V MediaPlayer: getVideoHeight
01-13 11:08:15.013 17213 17239 V MediaPlayer-JNI: getVideoHeight: 540
01-13 11:08:15.013 17213 17239 V MediaPlayer-JNI: getCurrentPosition: 9826 (msec)
01-13 11:08:15.033 17213 17239 V MediaPlayer: getVideoWidth
01-13 11:08:15.033 17213 17239 V MediaPlayer-JNI: getVideoWidth: 1080
01-13 11:08:15.033 17213 17239 V MediaPlayer: getVideoHeight
01-13 11:08:15.033 17213 17239 V MediaPlayer-JNI: getVideoHeight: 540
01-13 11:08:15.033 17213 17239 V MediaPlayer-JNI: getCurrentPosition: 9843 (msec)
01-13 11:08:15.043 3453 4515 I EDMNativeHelperService: isCameraEnabled
01-13 11:08:15.043 17213 17239 V MediaPlayer: getVideoWidth
01-13 11:08:15.043 17213 17239 V MediaPlayer-JNI: getVideoWidth: 1080
01-13 11:08:15.043 17213 17239 V MediaPlayer: getVideoHeight
01-13 11:08:15.043 17213 17239 V MediaPlayer-JNI: getVideoHeight: 540
01-13 11:08:15.043 17213 17239 V MediaPlayer-JNI: getCurrentPosition: 9852 (msec)
01-13 11:08:15.053 17213 17239 V MediaPlayer: getVideoWidth
01-13 11:08:15.053 17213 17239 V MediaPlayer-JNI: getVideoWidth: 1080
01-13 11:08:15.053 17213 17239 V MediaPlayer: getVideoHeight
01-13 11:08:15.053 17213 17239 V MediaPlayer-JNI: getVideoHeight: 540
01-13 11:08:15.053 17213 17239 V MediaPlayer-JNI: getCurrentPosition: 9869 (msec)
01-13 11:08:15.063 17213 17239 V MediaPlayer: getVideoWidth
01-13 11:08:15.063 17213 17239 V MediaPlayer-JNI: getVideoWidth: 1080
01-13 11:08:15.063 17213 17239 V MediaPlayer: getVideoHeight
01-13 11:08:15.063 17213 17239 V MediaPlayer-JNI: getVideoHeight: 540
01-13 11:08:15.073 3453 4528 I EDMNativeHelperService: isCameraEnabled
01-13 11:08:15.073 3156 3156 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-13 11:08:15.073 3156 3156 F DEBUG : Build fingerprint: 'samsung/heroltexx/herolte:6.0.1/MMB29K/G930FXXU1BPJG:user/release-keys'
01-13 11:08:15.073 3156 3156 F DEBUG : Revision: '8'
01-13 11:08:15.073 3156 3156 F DEBUG : ABI: 'arm'
01-13 11:08:15.073 3156 3156 F DEBUG : pid: 17213, tid: 17619, name: UnityMain >>> com.wipon.AppName 01-13 11:08:15.073 3156 3156 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x60
01-13 11:08:15.123 3156 3156 F DEBUG : r0 00000000 r1 cd62b800 r2 cd27ef20 r3 c5b3a000
01-13 11:08:15.123 3156 3156 F DEBUG : r4 0000ffff r5 cd62b800 r6 ffffffff r7 00000003
01-13 11:08:15.123 3156 3156 F DEBUG : r8 cd62b814 r9 cb3da800 sl 3f800000 fp cd27f3a8
01-13 11:08:15.123 3156 3156 F DEBUG : ip 00000019 sp cd27eee8 lr d21d4904 pc d21d4894 cpsr a0070010
01-13 11:08:15.133 3156 3156 F DEBUG :
01-13 11:08:15.133 3156 3156 F DEBUG : backtrace:
01-13 11:08:15.133 3156 3156 F DEBUG : #00 pc 00337894 /data/app/com.wipon.AppName-2/lib/arm/libVuforia.so
01-13 11:08:15.133 3156 3156 F DEBUG : #01 pc 00335104 /data/app/com.wipon.AppName-2/lib/arm/libVuforia.so
01-13 11:08:15.133 3156 3156 F DEBUG : #02 pc 00333fe8 /data/app/com.wipon.AppName-2/lib/arm/libVuforia.so
01-13 11:08:15.133 3156 3156 F DEBUG : #03 pc 0019e8d4 /data/app/com.wipon.AppName-2/lib/arm/libVuforia.so
01-13 11:08:15.133 3156 3156 F DEBUG : #04 pc 0019e38c /data/app/com.wipon.AppName-2/lib/arm/libVuforia.so
01-13 11:08:15.133 3156 3156 F DEBUG : #05 pc 0019dc60 /data/app/com.wipon.AppName-2/lib/arm/libVuforia.so
01-13 11:08:15.133 3156 3156 F DEBUG : #06 pc 0066b6d8 /data/app/com.wipon.AppName-2/lib/arm/libVuforia.so
01-13 11:08:15.133 3156 3156 F DEBUG : #07 pc 0003fc63 /system/lib/libc.so (_ZL15__pthread_startPv+30)
01-13 11:08:15.133 3156 3156 F DEBUG : #08 pc 0001a39b /system/lib/libc.so (__start_thread+6) -

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

Mobile OS and Version: Android version 6.0.1 -

Mobile Device Manufacturer and Model name: Samsung Galaxy S7 -

Do the Vuforia Sample Applications show the same behavior?:

  • Log in or register to post comments
wipon
Offline
Joined:
March 4, 2015
Posts: 17
Top

Crash on Android with Unity3d : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state

January 18, 2018 - 1:38am #4

Hi Strasza,

No I'm not using the same versions. I still had a similar error though. I finally got my head around it and I posted a bug report here

https://developer.vuforia.com/forum/issues-and-bugs/video-background-bug-net-46

I don't know if it's related.

Thanks

  • Log in or register to post comments
MrDos
Offline
Joined:
December 19, 2017
Posts: 7
Top

Crash on Android with Unity3d : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state

January 16, 2018 - 10:43am #3

Hello MrDos,

Are you using the same versions as the original poster? If not, can you provide the versions and devices used? Can you repro this in the samples?

Thanks,

Vuforia Support

  • Log in or register to post comments
Strasza
Offline
Joined:
June 13, 2017
Posts: 1717
Top

Crash on Android with Unity3d : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state

January 16, 2018 - 8:09am #2

Hey!

Have you found any solution for that?

Still having a similar issue...

  • Log in or register to post comments
MrDos
Offline
Joined:
December 19, 2017
Posts: 7
Top
Log in or register to post comments

Delete Message

Are you sure you want to delete this message?

Cancel

Delete Conversation

Are you sure you want to delete this conversation?

Cancel

Delete Message

Are you sure you want to delete this message?

Cancel

Delete Conversation

Are you sure you want to delete this conversation?

Cancel
  • PTC, Inc.
  • Latest News
  • Blog
  • Careers at PTC
  • Contact Us
  • Resources
  • Support
  • Developer Library
  • Pricing Request
  • Downloads
  • Developer Agreement
  • Community
  • Developer Portal
  • Forums
  • Announcements
  • Events
  • AR Products
  • Overview
  • Vuforia Engine
  • Vuforia Studio
  • Vuforia Chalk
Stay cutting edge. Get the Vuforia newsletter.

© Copyright 2022 PTC

Legal Privacy Policy Terms Security

Login

You are being redirected to login page. If nothing is happening Click here.

Forgot Password

To reset your password please enter the email address associated with your account. An email will be sent to you with instructions on how to complete changing your password.

Not registered? Create account now
Cancel