You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Tests are supposed to be executed successfully.
Actual behavior
An error test is generated with information about errors.
Visual proofs (screenshots, logs)
==17517==The following global variable is not properly aligned.
==17517==This may happen if another global with the same name
==17517==resides in another non-instrumented module.
==17517==Or the global comes from a C file built w/o -fno-common.
==17517==In either casethis is likely an ODR violation bug,
==17517==but AddressSanitizer can not provide more details.
=================================================================
==17517==ERROR: AddressSanitizer: odr-violation (0x000000edd741):
[1] size=1'externed_global' /home/utbot/UTBotCpp/integration-tests/c-example/utbot_tests/makefiles/lib/structures/structs/../../../../../utbot_tests/wrapper/lib/../../../lib/static.c:4:7
[2] size=1'externed_global' /home/utbot/UTBotCpp/integration-tests/c-example/utbot_tests/makefiles/lib/structures/structs/../../../../../utbot_tests/wrapper/lib/../../../lib/static.c:4:7
These globals were registered at these points:
[1]:
#00x43aae8 in __asan_register_globals.part.0 /utbot_distr/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:360:3
#10x7fe98e8fa5cb in asan.module_ctor (/home/utbot/UTBotCpp/integration-tests/c-example/utbot_tests/makefiles/lib/../../../build/lib/libliblib.a.so+0x495cb)
[2]:
#00x43aae8 in __asan_register_globals.part.0 /utbot_distr/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:360:3
#10x7fe98e8fa5cb in asan.module_ctor (/home/utbot/UTBotCpp/integration-tests/c-example/utbot_tests/makefiles/lib/../../../build/lib/libliblib.a.so+0x495cb)
The text was updated successfully, but these errors were encountered:
Description
If a file contains extern variables then generated tests cannot be executed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tests are supposed to be executed successfully.
Actual behavior
An error test is generated with information about errors.
Visual proofs (screenshots, logs)
The text was updated successfully, but these errors were encountered: