Skip to content

[msan] Don't understand the failure either #1175

@behdad

Description

@behdad

The code looks correct to me. Not sure what's going on. Guess we can disable it for now.. file bug with msan...

behdad:msanbuild 0$ asan_symbolize< ./test/shaping/data/in-house/tests/arabic-fallback-shaping.log | c++filt 
Running tests in ../../../../../test/shaping/data/in-house/tests/arabic-fallback-shaping.tests
../../../../util/hb-shape ../../../../../test/shaping/data/in-house/fonts/df768b9c257e0c9c35786c47cae15c46571d56be.ttf --verify  --unicodes U+0633,U+064F,U+0644,U+064E,U+0651,U+0627,U+0651,U+0650,U+0645,U+062A,U+06CC
==146709==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x49c6fc in g_string_append_c_inline(_GString*, char) /home/behdad/.local/include/glib-2.0/glib/gstring.h:164
    #1 0x49c6fc in ?? ??:0
    #2 0x49be04 in font_options_t::add_options(option_parser_t*) /home/behdad/SSD/src/freedesktop/harfbuzz/msanbuild/util/../../util/options.cc:534
    #3 0x49be04 in ?? ??:0
    #4 0x495e93 in main_font_text_t /home/behdad/SSD/src/freedesktop/harfbuzz/msanbuild/util/../../util/main-font-text.hh:55
    #5 0x495e93 in ?? ??:0
    #6 0x495c16 in main /home/behdad/SSD/src/freedesktop/harfbuzz/msanbuild/util/../../util/hb-shape.cc:163
    #7 0x495c16 in ?? ??:0
    #8 0x7fa3244692b0 in __libc_start_main /tmp/build-debs.Lfl5zt/glibc-2.24/csu/../csu/libc-start.c:291
    #9 0x7fa3244692b0 in ?? ??:0
    #10 0x41f439 in _start ??:?
    #11 0x41f439 in ?? ??:0

SUMMARY: MemorySanitizer: use-of-uninitialized-value (/home/behdad/SSD/src/freedesktop/harfbuzz/msanbuild/util/.libs/hb-shape+0x49c6fc)
Exiting

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