Skip to content

Remote symbolization fails #280

@ErwanLegrand

Description

@ErwanLegrand

What version of pprof are you using?

Tested with Git revision 4b386c2. (With a patch to work around #276.)

What operating system and processor architecture are you using?

Linux AMD64

What did you do?

I tried to obtain a profile remotely. The server is written in C. Profiles are generated by gperftools 2.1 (for /pprof/profile) and jemalloc 3.4.1(for /pprof/heap). The request handler for /prof/symbol handles loader relocations/ASLR perfectly well.

What did you expect to see?

Collection of profile succeeds, as it does with the old pprof.

What did you see instead?

$ pprof --symbolize=remote https+insecure://XXX/pprof/heap
Fetching profile over HTTP from https+insecure://XXX/pprof/heap
pprof: unexpected negative adjusted address, mapping &{4 0 18446744073709551615 0 https+insecure://XXX/pprof/heap  false false false false 0 0} source 18446744073709551615, offset 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions