Skip to content

[issue] Heap buffer overflow detected during AddressSanitizer run #1968

@3manifold

Description

@3manifold
Run ASAN_OPTIONS=detect_leaks=1:print_stats=1 tests/ctranslate2_test tests/data
[==========] Running 181 tests from 18 test suites.
[----------] Global test environment set-up.
[----------] 3 tests from CrossAttentionTest
[ RUN      ] CrossAttentionTest.MultiQueryAttention
=================================================================
==6117==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x50e0000000d8 at pc 0x7f1a8bb80209 bp 0x7f1a843f2540 sp 0x7f1a843f2530
...

job: https://github.com/OpenNMT/CTranslate2/actions/runs/20763920526/job/59625551046
PR: #1903

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions