Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6469595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:00:42+00:00 2026-05-25T06:00:42+00:00

I need to profile dynamic library calls of android application and have decided to

  • 0

I need to profile dynamic library calls of android application and have decided to profile using “ltrace” tool for this purpose. I combined “ltrace” tool into android package, then compiled together successfully. It works fine with shell program just like usual linux console application.

However, I cannot properly profile android applications, which are forked from “Zygote” process. I tried attaching ltrace to “Zygote” process to follow child processes of it, but I only got SIGCHLD and SIGSTOP signals and terminated abnormally, showing the following errors.

unexpected instruction 0xffffffff at 0xffff0508

I’m just wondering if anyone has ever tried this kind of profiling on android system. Any short comments can be very helpful for me.

Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:00:43+00:00Added an answer on May 25, 2026 at 6:00 am

    Try attaching ltrace to your android application’s process after it is it forked off zygote. You will need an ltrace built for android’s bionic libc, and one that has reasonable handling of threads.

    There is a way to set a debuggable android app to wait for connection of the java debugger, you could use that, connect ltrace, and then connect and disconnect the java debugger to start it going again. This should capture most of your own logic, though not the entirety of the startup.

    IIRC you are under a time limit to connect and get it going again, otherwise it may resume on its own to avoid triggering an application not responding situation.

    It may be that you will learn more by using the java debugger to see what is going on, and then reading the source to see how that is implemented on the native side.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to profile the performance of an application for which I am using
I need to profile a server-client Java application (based on Jersey/REST FYI). I have
I need to profile an application compiled with intel's compiler via VC++. I'm using
I have an array of profile data I need to validate: $user_group_profiles = $this->input->post('user_group_profiles',
Basically in order to have a profile Block u need - let's say profile
I need to have a UserProfile class that it's just that, a user profile.
In my application I have students, professors and staff. Staff members do not need
I decided to choose Google Analatycs to track the pages. I have custom/dynamic pages
I need to profile ruby gems memory usage. https://stackoverflow.com/a/164206/391229 suggests using system call to
We have an assignment where we need to profile a 'simple instruction' (addition or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.