Skip to content

OsUtilsTest.getCurrentDSODir SYCL unit test failing when compiler built with libc++ #19626

@sarnex

Description

@sarnex

Describe the bug

2025-07-29T16:56:03.5024377Z [ RUN      ] OsUtilsTest.getCurrentDSODir
2025-07-29T16:56:03.5025130Z MiscTests: /__w/llvm/llvm/src/sycl/source/detail/os_util.cpp:121: static std::string sycl::detail::OSUtil::getCurrentDSODir(): Assertion `Perm[0] == 'r' && Perm[2] == 'x' && "Invalid flags in /proc/self/maps"' failed.
2025-07-29T16:56:03.5025667Z Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
2025-07-29T16:56:03.5025774Z 0  MiscTests    0x0000557dcce904d8
2025-07-29T16:56:03.5025936Z 1  MiscTests    0x0000557dcce8e4cc
2025-07-29T16:56:03.5026052Z 2  MiscTests    0x0000557dcce90f29
2025-07-29T16:56:03.5026153Z 3  libc.so.6    0x0000784c45005330
2025-07-29T16:56:03.5026306Z 4  libc.so.6    0x0000784c4505eb2c pthread_kill + 284
2025-07-29T16:56:03.5026436Z 5  libc.so.6    0x0000784c4500527e gsignal + 30
2025-07-29T16:56:03.5026556Z 6  libc.so.6    0x0000784c44fe88ff abort + 223
2025-07-29T16:56:03.5026651Z 7  libc.so.6    0x0000784c44fe881b
2025-07-29T16:56:03.5026762Z 8  libc.so.6    0x0000784c44ffb517
2025-07-29T16:56:03.5027023Z 9  libsycl.so.8 0x0000784c4ce2869a sycl::_V1::detail::OSUtil::getCurrentDSODir() + 714
2025-07-29T16:56:03.5027120Z 10 MiscTests    0x0000557dcce82254
2025-07-29T16:56:03.5027226Z 11 MiscTests    0x0000557dccecfa60
2025-07-29T16:56:03.5027322Z 12 MiscTests    0x0000557dcced0739
2025-07-29T16:56:03.5027415Z 13 MiscTests    0x0000557dcced15c5
2025-07-29T16:56:03.5027521Z 14 MiscTests    0x0000557dccedfc7d
2025-07-29T16:56:03.5027620Z 15 MiscTests    0x0000557dccedf137
2025-07-29T16:56:03.5027712Z 16 MiscTests    0x0000557dccebfc7c
2025-07-29T16:56:03.5027803Z 17 libc.so.6    0x0000784c44fea1ca
2025-07-29T16:56:03.5027962Z 18 libc.so.6    0x0000784c44fea28b __libc_start_main + 139
2025-07-29T16:56:03.5028056Z 19 MiscTests    0x0000557dcce7eed5
2025-07-29T16:56:03.5028147Z Subprocess aborted

To repo build with clang and --use-libcxx

https://github.com/intel/llvm/actions/runs/16600860644/job/46959831643

To reproduce

No response

Environment

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions