GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Incomplete Symbol parsing in MacOs · Issue #1193 · async-profiler/async-profiler

Incomplete Symbol parsing in MacOs #1193

New issue
Copy link
New issue
Copy link
Closed
Closed
Incomplete Symbol parsing in MacOs#1193
Copy link
Assignees
Baraa-Hasheesh
Labels
bug

Description

@Baraa-Hasheesh
Baraa-Hasheesh
opened on Mar 25, 2025
Issue body actions

Describe the bug

While working on the #1174 issue it was observed that the Async profiler doesn't detect all JVM symbols while parsing the JVM/Java library on the MacOs (symbols_macos.cpp).

For example the JVM_StartThread symbol was never detected in the calls made to the CodeCache::addImport function call on MacOs while it was detected normally on Linux.

Expected vs. actual behavior

Expected: Symbol parsing on MacOs to detect all symbols similar to Linux.
Actual: Some symbols aren't being detected during the loading of Libs on MacOs

Reproduction Steps

To reproduce the issue you can enable the asyncProfilerFirstNoneNativeAppTest test on MacOs & observe the parsed symbols via a simple logging statement on the CodeCache::addImport function

You can find the test here #1192

Additional Information/Context

You may use the changes here #1192 to observe the issue more easily

Async-profiler version

latest

Environment details

No response

Activity

  1. Baraa-Hasheesh
    added
    bug
    on Mar 25, 2025
  2. Baraa-Hasheesh
    self-assigned this
    on Apr 30, 2025
  3. Baraa-Hasheesh
    added 4 commits that reference this issue on May 1, 2025

    async-profiler#1193 fix symbol patching on MacOs

    0777b60

    async-profiler#1193 fix symbol patching on MacOs

    fc4f021

    async-profiler#1193 fix symbol patching on MacOs

    c310b02

    async-profiler#1193 fix symbol patching on MacOs

    358b3eb
  4. visheshruparelia commented on May 7, 2025

    @visheshruparelia
    visheshruparelia
    on May 7, 2025
    Contributor
    More actions

    Two tests here will need changing when we fix this bug.

  5. Baraa-Hasheesh
    added a commit that references this issue on May 16, 2025

    async-profiler#1193 fix symbol patching on MacOs

    388c90d
  6. apangin
    added a commit that references this issue on May 25, 2025

    #1193: Parse non-lazy symbol pointers on macOS

    660ffcd
  7. Baraa-Hasheesh commented on May 25, 2025

    @Baraa-Hasheesh
    Baraa-Hasheesh
    on May 25, 2025
    ContributorAuthor
    More actions

    Fixed here #1279

  8. Baraa-Hasheesh
    closed this as completedon May 25, 2025
  9. roy-soumadipta
    added a commit that references this issue on Jun 20, 2025

    async-profiler#1193: Parse non-lazy symbol pointers on macOS

    3c94f2b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Baraa-Hasheesh
    Baraa-Hasheesh

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.