Git Product home page Git Product logo

Comments (7)

ben-clayton avatar ben-clayton commented on May 3, 2024

glVertexPointerBounds is actually one of the few commands that we expect to see this message for.
Are there others that don't end in Bounds? The really valuable bit for us would be a crash with stack trace or an assert message.

from gapid.

SenonLi avatar SenonLi commented on May 3, 2024

Dear Ben-Clayton,

Like what I said, all (more than one thousand) of the gl** functions are failed to be intercepted, all (again, more than one thousand) like below:

03-28 05:43:14.222 465 813 E BufferQueueProducer: [com.****.unihome.UniHomeLauncher] connect: already connected (cur=1 req=1)
03-28 05:43:14.502 506 1291 E bdatd : [UidStat.cpp] setUidCputime# Invalid delta time, uid: 10056
03-28 05:43:14.580 1037 2769 E HsmCoreServiceImpl: onTransact in code is: 103
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glVertexPointerBounds at 0x7532c9b8e4
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glTexCoordPointerBounds at 0x7532c9b8b0
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glNormalPointerBounds at 0x7532c9b860
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glColorPointerBounds at 0x7532c9b77c
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glVertexPointer at 0x7532c9b8e0
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glTranslatex at 0x7532c9b8dc
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glTranslatef at 0x7532c9b734
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glTexParameterxv at 0x7532c9b8d4
03-28 05:43:16.597 7424 7424 E GAPID : installer.cpp:171 : Couldn't intercept function glTexParameterx at 0x7532c9b8cc
...
...
...

from gapid.

ben-clayton avatar ben-clayton commented on May 3, 2024

Hi @SenonLi,
Were there no Interceptor error: messages generated?

Based on #133, I assume the device you are using is the Huawei Mate 9. Is this correct?
Unfortunately I do not believe we have this device in the office. Are you aware of any other device that exhibit similar behavior?

from gapid.

ben-clayton avatar ben-clayton commented on May 3, 2024

@SenonLi would you be happy to share the full logcat file with me? There might be something hidden in there that can help me diagnose the issue. My email address is [email protected].

from gapid.

SenonLi avatar SenonLi commented on May 3, 2024

@ben-clayton Thank you so much, Ben!
I have sent you the full logcat file to your email.

One more question, I was trying to trace a 32bit small test program on the phone, however, could not find it using GAPID. Could you please let me know how to select an Action based on PID when trying to do Capture Trace?

Thank you very much!

from gapid.

ben-clayton avatar ben-clayton commented on May 3, 2024

So the underlying issue that's breaking things here is:

03-29 00:16:38.824  7585  7585 E GAPID   : installer.cpp:171 : Couldn't intercept function glGetActiveUniform at 0x75335daffc
03-29 00:16:38.824  7585  7585 W GAPID   : installer.cpp:115 : Interceptor error: Intercepting function at 0x7531f8b264 failed: End of function reached after 4 byte when rewriting 12 bytes

The interceptor works by patching the start of each driver function to jump to our code. An absolute jump requires a certain number of bytes (8 or 12), which these functions apparently do not have.

I'm going to have to investigate the instructions used by these drivers. I'll contact you privately about trying to solve this.

Could you please let me know how to select an Action based on PID when trying to do Capture Trace?

GAPID currently requires you to launch the application and cannot attach after the process has already started. I'm not sure there's any way to figure out what intent triggered a process to start.

from gapid.

ben-clayton avatar ben-clayton commented on May 3, 2024

Duplicate of #355

from gapid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.