E/MaliEGL: FindAppHintInFile open fail errno=0x2 (No such file or directory)

Hi everyone,

I have an interesting problem.

I was testing my android application on Android TV box Rockchip MX10, however the device closes my application in a few seconds. When I review logs I see these errors:

2019-10-17 11:44:46.642 5323-5405/br.com.gomus.androidapp I/OpenGLRenderer: Initialized EGL, version 1.4
2019-10-17 11:44:46.643 5323-5405/br.com.gomus.androidapp D/OpenGLRenderer: Swap behavior 0
2019-10-17 11:44:46.643 5323-5405/br.com.gomus.androidapp E/MaliEGL: FindAppHintInFile open fail errno=0x2  (No such file or directory)
2019-10-17 11:44:46.643 5323-5405/br.com.gomus.androidapp E/MaliEGL: FindAppHintInFile open fail errno=0x2  (No such file or directory)
2019-10-17 11:44:46.643 5323-5405/br.com.gomus.androidapp E/MaliEGL: ModifyAppHintInFile open fail errno=0x2  (No such file or directory)
2019-10-17 11:44:46.643 5323-5405/br.com.gomus.androidapp E/MaliEGL: ModifyAppHintInFile open fail errno=0x2  (No such file or directory)
2019-10-17 11:44:46.701 5323-5323/br.com.gomus.androidapp I/RenderThread: type=1400 audit(0.0:347): avc: denied { write } for name="property_service" dev="tmpfs" ino=2385 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=1

I have not met any documentation about these lines.

I would really appreciate if someone would tell me what is wrong with those lines.

Thanks in advance.

These seem to indicate errors being emitted by ARM Mali’s libEGL library. So for more insight, consider posting a question about this on the:

which covers ARM Mali driver and development issues.

(Cross-ref link to your stackoverflow post with more info.)

Thank you so much for your reply.

I have noticed some of lines that could help me to understand the problem.

Should I ask these lines to the link that you sent, too?

2019-10-22 15:50:22.861 12958-12958/br.com.gomus.androidapp I/RenderThread: type=1400 audit(0.0:812): avc: denied { write } for name="property_service" dev="tmpfs" ino=8725 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=1
2019-10-22 15:50:22.861 12958-12958/br.com.gomus.androidapp I/RenderThread: type=1400 audit(0.0:813): avc: denied { connectto } for path="/dev/socket/property_service" scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1

Thanks.

Sure. Could be related.

Also, this problem+fix bears a striking resemblance to those lines: