Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASAN fails on cmd/capi/execute #2512

Open
battlmonstr opened this issue Nov 15, 2024 · 0 comments
Open

ASAN fails on cmd/capi/execute #2512

battlmonstr opened this issue Nov 15, 2024 · 0 comments

Comments

@battlmonstr
Copy link
Contributor

https://app.circleci.com/pipelines/github/erigontech/silkworm/14295/workflows/628140b6-535d-4ebd-a6ff-ef91eb28ebdf/jobs/63120

Running cmd/capi/execute --help ...
=================================================================
==54931==ERROR: AddressSanitizer: odr-violation (0x57d8a351f5a0):
  [1] size=20 'typeinfo name for mdbx::bad_map_id' /home/circleci/project/third_party/erigon-mdbx-go/mdbx-go/mdbxdist/mdbx.c++
  [2] size=20 'typeinfo name for mdbx::bad_map_id' /home/circleci/project/third_party/erigon-mdbx-go/mdbx-go/mdbxdist/mdbx.c++
These globals were registered at these points:
  [1]:
    #0 0x57d8a2167eb6 in __asan_register_globals (/home/circleci/build/cmd/capi/execute+0xa1beb6) (BuildId: 02304d6c9b95383aa6253734dce892744a12952c)
    #1 0x57d8a2168fdd in __asan_register_elf_globals (/home/circleci/build/cmd/capi/execute+0xa1cfdd) (BuildId: 02304d6c9b95383aa6253734dce892744a12952c)
    #2 0x13093742a303 in call_init csu/../csu/libc-start.c:145:3
    #3 0x13093742a303 in __libc_start_main csu/../csu/libc-start.c:347:5
    #4 0x57d8a21530e4 in _start (/home/circleci/build/cmd/capi/execute+0xa070e4) (BuildId: 02304d6c9b95383aa6253734dce892744a12952c)

  [2]:
    #0 0x57d8a2167eb6 in __asan_register_globals (/home/circleci/build/cmd/capi/execute+0xa1beb6) (BuildId: 02304d6c9b95383aa6253734dce892744a12952c)
    #1 0x57d8a2168fdd in __asan_register_elf_globals (/home/circleci/build/cmd/capi/execute+0xa1cfdd) (BuildId: 02304d6c9b95383aa6253734dce892744a12952c)
    #2 0x13094b0d971e in call_init elf/dl-init.c:74:3
    #3 0x13094b0d9823 in call_init elf/dl-init.c:120:14
    #4 0x13094b0d9823 in _dl_init elf/dl-init.c:121:5
    #5 0x13094b0f359f  (/lib64/ld-linux-x86-64.so.2+0x1f59f) (BuildId: db7c7b6100ca3f05dc1fc19c6e1dd18ff02a444a)

SUMMARY: AddressSanitizer: odr-violation: global 'typeinfo name for mdbx::bad_map_id' at /home/circleci/project/third_party/erigon-mdbx-go/mdbx-go/mdbxdist/mdbx.c++
==54931==ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant