This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A minimal example to reproduce a TSAN crash on calling vkCreateDevice on Linux/NVIDIA: | |
// [...] | |
// ThreadSanitizer:DEADLYSIGNAL | |
// ==73756==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000001048 (pc 0x560233ed6b07 bp 0x000000000010 sp 0x7f3ac37fe580 T73757) | |
// ==73756==The signal is caused by a READ memory access. | |
// [...] | |
// | |
// github issue: https://github.com/google/sanitizers/issues/1678 | |
// nvidia issue: https://developer.nvidia.com/bugs/4470250 | |
// tested on: Arch Linux 2024-01-19 with NVIDIA driver 545.29.06, clang 16.0.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SCRIPT_ROOT="$( dirname ${0} )" | |
CONTAINERS_ROOT="${SCRIPT_ROOT}/containers" | |
DOCKER="${SCRIPT_ROOT}/docker.sh" | |
function build_leaf() { | |
${DOCKER} build -t "${1}" "${CONTAINERS_ROOT}/${1}"; | |
} | |
function build_node() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAGIC_SEQUENCE="EP+AsgEAAA=="; echo "${MAGIC_SEQUENCE}" | base64 --decode |