Skip to content

static_var pthread_to_lock is 0 after ld_preload segment map #7

@jdmfr

Description

@jdmfr

Model name: AMD EPYC 7763 64-Core Processor
Linux localhost.localdomain 4.18.0
glibc-version is 2.28

after i compile litl and try any lock-algorithm, i find that:

2022-08-18 21 03 45

because pthread_to_lock is 0 .

i try to use gdb to find why it becomes '0' after create_clht , at last i find that :

screenshot 2022-08-18 21 06 51

would you mind telling me how to fix this?
maybe i should compile a lower version glibc?

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