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
When testing feq-parse with fpm and the ifx compilers (Intel OneAPI Fortran compiler), the library is built fine, but the tests fail with the following output :
[100%] Project compiled successfully.
==142949==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x1cae1c7 in feqparse_MP_evaluate_r1fp32_ /home/joe/apps/feq-parse/././src/FEQParse.F90:626:22
#1 0x4b2e61 in test_IP_abs_r1fp32_ /home/joe/apps/feq-parse/test/abs_r1fp32.f90:31:11
#2 0x49570a in MAIN__ /home/joe/apps/feq-parse/test/test.f90:8:32
#3 0x40bdc8 in main (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x40bdc8) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
#4 0x7f9161829d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#5 0x7f9161829e3f in __libc_start_main csu/../csu/libc-start.c:392:3
#6 0x40bc94 in _start (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x40bc94) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
Uninitialized value was stored to memory at
#0 0x41251e in __msan_memcpy (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x41251e) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
#1 0x1cae16e in feqparse_MP_evaluate_r1fp32_ /home/joe/apps/feq-parse/././src/FEQParse.F90:624:9
#2 0x4b2e61 in test_IP_abs_r1fp32_ /home/joe/apps/feq-parse/test/abs_r1fp32.f90:31:11
#3 0x49570a in MAIN__ /home/joe/apps/feq-parse/test/test.f90:8:32
#4 0x40bdc8 in main (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x40bdc8) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
#5 0x7f9161829d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
Uninitialized value was stored to memory at
#0 0x1c48597 in feqparse_tokenstack_MP_equals_token_ /home/joe/apps/feq-parse/././src/FEQParse_TokenStack.F90:119:5
#1 0x1cae156 in feqparse_MP_evaluate_r1fp32_ /home/joe/apps/feq-parse/././src/FEQParse.F90:624:13
#2 0x4b2e61 in test_IP_abs_r1fp32_ /home/joe/apps/feq-parse/test/abs_r1fp32.f90:31:11
#3 0x49570a in MAIN__ /home/joe/apps/feq-parse/test/test.f90:8:32
#4 0x40bdc8 in main (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x40bdc8) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
#5 0x7f9161829d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
Uninitialized value was created by a heap allocation
#0 0x4196a6 in malloc (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x4196a6) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
#1 0x1ef6354 in _mm_malloc (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x1ef6354) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
#2 0x1e77ee3 in do_alloc_copy for_alloc_copy.c
#3 0x1e79770 in do_alloc_copy for_alloc_copy.c
#4 0x1e79770 in do_alloc_copy for_alloc_copy.c
#5 0x1e7a2e6 in do_alloc_assign for_alloc_copy.c
#6 0x1e7a38e in for_alloc_assign_v2 (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x1e7a38e) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
#7 0x4b0d86 in test_IP_abs_r1fp32_ /home/joe/apps/feq-parse/test/abs_r1fp32.f90:22:3
#8 0x49570a in MAIN__ /home/joe/apps/feq-parse/test/test.f90:8:32
#9 0x40bdc8 in main (/home/joe/apps/feq-parse/build/ifx_22B6DB2C5432A52F/test/test+0x40bdc8) (BuildId: 272f7830ff877cb06dbd47b919083d5eb9c71d91)
#10 0x7f9161829d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
SUMMARY: MemorySanitizer: use-of-uninitialized-value /home/joe/apps/feq-parse/././src/FEQParse.F90:626:22 in feqparse_MP_evaluate_r1fp32_
Exiting
<ERROR> Execution for object " test " returned exit code 1
<ERROR> *cmd_run*:stopping due to failed executions
STOP 1
However, the ifx compilers build and test fine with the CMake build system
The text was updated successfully, but these errors were encountered:
When testing feq-parse with
fpm
and theifx
compilers (Intel OneAPI Fortran compiler), the library is built fine, but the tests fail with the following output :However, the
ifx
compilers build and test fine with the CMake build systemThe text was updated successfully, but these errors were encountered: