Skip to content

Conversation

@rubo77
Copy link
Contributor

@rubo77 rubo77 commented Jul 17, 2025

I added this so it opens in Android studio and can be started inside the Emulator. But the app is not working as expected, it seems to hang in the start screen:


BLASTBufferQueue E  [SurfaceView[org.tuxpaint/org.tuxpaint.tuxpaintActivity]#1](f:0,a:0) rejecting buffer:active_size=2841x1344, requested_size=2841x1344 buffer{size=2841x1188 transform=0}
Thread-4         W  type=1400 audit(0.0:117): avc:  denied  { read } for  name="sdcard" dev="tmpfs" ino=32 scontext=u:r:untrusted_app:s0:c190,c256,c512,c768 tcontext=u:object_r:mnt_sdcard_file:s0 tclass=lnk_file permissive=0 app=org.tuxpaint
Thread-4         W  type=1400 audit(0.0:118): avc:  denied  { read } for  name="sdcard" dev="tmpfs" ino=32 scontext=u:r:untrusted_app:s0:c190,c256,c512,c768 tcontext=u:object_r:mnt_sdcard_file:s0 tclass=lnk_file permissive=0 app=org.tuxpaint
EGL_emulation    E  eglMakeCurrent: error: EGL_BAD_ACCESS: context 0x7dd1678a1a90 current to another thread!
EGL_emulation    E  tid 6384: eglMakeCurrent(1957): error 0x3002 (EGL_BAD_ACCESS)
libEGL           E  eglMakeCurrentImpl:1053 error 3002 (EGL_BAD_ACCESS)
EGL_emulation    E  eglMakeCurrent: error: EGL_BAD_ACCESS: context 0x7dd1678a1a90 current to another thread!
EGL_emulation    E  tid 6384: eglMakeCurrent(1957): error 0x3002 (EGL_BAD_ACCESS)
libEGL           E  eglMakeCurrentImpl:1053 error 3002 (EGL_BAD_ACCESS)
EGL_emulation    E  eglMakeCurrent: error: EGL_BAD_ACCESS: context 0x7dd1678a1a90 current to another thread!
EGL_emulation    E  tid 6384: eglMakeCurrent(1957): error 0x3002 (EGL_BAD_ACCESS)
libEGL           E  eglMakeCurrentImpl:1053 error 3002 (EGL_BAD_ACCESS)
EGL_emulation    E  eglMakeCurrent: error: EGL_BAD_ACCESS: context 0x7dd1678a1a90 current to another thread!
EGL_emulation    E  tid 6384: eglMakeCurrent(1957): error 0x3002 (EGL_BAD_ACCESS)
libEGL           E  eglMakeCurrentImpl:1053 error 3002 (EGL_BAD_ACCESS)
....

it is stuck here:
tuxpaint

rubo77 pushed a commit to rubo77/Tuxpaint-Kids that referenced this pull request Jul 17, 2025
@automaton82
Copy link
Collaborator

I think it hangs on the splash screen when you're missing the stuff in the assets directory. It did the same to me on the actual device. I still see those errors in logcat but they don't seem to stop it from working.

@automaton82
Copy link
Collaborator

I tried your change

arguments "APP_PLATFORM=android-21", "APP_STL=c++_shared"

with my PR #44 which has everything updated to latest, but I still get the errors:

2025-09-14 18:28:01.957 10151-10206 libEGL org.tuxpaint.android E eglMakeCurrentImpl:1090 error 3002 (EGL_BAD_ACCESS)
2025-09-14 18:28:01.993 10151-10206 libEGL org.tuxpaint.android E eglMakeCurrentImpl:1090 error 3002 (EGL_BAD_ACCESS)

So I don't think that is the issue.

@rubo77
Copy link
Contributor Author

rubo77 commented Oct 6, 2025

assets

what do you mean? which assets?

my branch "working-on-narwhal" is working on my computer now, so for me it is a fix, and the splash screen is obsolete anyway (android has its own splash screen while loading)

@automaton82 automaton82 mentioned this pull request Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants