Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory corruption when testing the code with "make test" #49

Open
tsigarid opened this issue May 6, 2022 · 0 comments
Open

memory corruption when testing the code with "make test" #49

tsigarid opened this issue May 6, 2022 · 0 comments
Labels
bug Something isn't working build system

Comments

@tsigarid
Copy link

tsigarid commented May 6, 2022

Compiling either with or without netcdf, compilation succeeds but errors like the one listed below appear when "make test". This was reproducible with intel versions 19.1.3.304, 2021.3.0, and 2021.4.0.

./fortran_driver "my model" ../my_model/my_model_data.nc
*** Error in `./fortran_driver': malloc(): memory corruption: 0x000000000077ad40 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x740ef)[0x2aaaabd920ef]
/lib64/libc.so.6(+0x79646)[0x2aaaabd97646]
/lib64/libc.so.6(+0x7ba3f)[0x2aaaabd99a3f]
/lib64/libc.so.6(__libc_malloc+0x50)[0x2aaaabd9b3d0]
./fortran_driver(_mm_malloc+0x20)[0x4b8bd0]
./fortran_driver[0x45594a]
./fortran_driver[0x40c3e7]
./fortran_driver[0x406df5]
./fortran_driver[0x404822]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x2aaaabd3e725]
./fortran_driver[0x404729]
======= Memory map: ========
00400000-0050c000 r-xp 00000000 00:39 18468548                           /gpfsm/dnb53/ktsigari/git_projects/aerosol-workshop-driver/build/fortran_driver
0070c000-0070d000 r--p 0010c000 00:39 18468548                           /gpfsm/dnb53/ktsigari/git_projects/aerosol-workshop-driver/build/fortran_driver
0070d000-00711000 rw-p 0010d000 00:39 18468548                           /gpfsm/dnb53/ktsigari/git_projects/aerosol-workshop-driver/build/fortran_driver
00711000-0079b000 rw-p 00000000 00:00 0                                  [heap]
2aaaaaaab000-2aaaaaacc000 r-xp 00000000 fe:01 33575023                   /lib64/ld-2.22.so
2aaaaaacc000-2aaaaaad0000 r--p 00000000 00:00 0                          [vvar]
2aaaaaad0000-2aaaaaad2000 r-xp 00000000 00:00 0                          [vdso]
2aaaaaad2000-2aaaaaad5000 rw-p 00000000 00:00 0
2aaaaaaf6000-2aaaaaafc000 rw-p 00000000 00:00 0
2aaaaaccc000-2aaaaaccd000 r--p 00021000 fe:01 33575023                   /lib64/ld-2.22.so
2aaaaaccd000-2aaaaacce000 rw-p 00022000 fe:01 33575023                   /lib64/ld-2.22.so
2aaaaacce000-2aaaaaccf000 rw-p 00000000 00:00 0
2aaaaaccf000-2aaaaae26000 r-xp 00000000 00:3f 16241449                   /gpfsm/dulocal/sles12/intel/oneapi/2021/compiler/2021.3.0/linux/compiler/lib/intel64_lin/libirng.so
2aaaaae26000-2aaaab025000 ---p 00157000 00:3f 16241449                   /gpfsm/dulocal/sles12/intel/oneapi/2021/compiler/2021.3.0/linux/compiler/lib/intel64_lin/libirng.so
2aaaab025000-2aaaab026000 r--p 00156000 00:3f 16241449                   /gpfsm/dulocal/sles12/intel/oneapi/2021/compiler/2021.3.0/linux/compiler/lib/intel64_lin/libirng.so
2aaaab026000-2aaaab039000 rw-p 00157000 00:3f 16241449                   /gpfsm/dulocal/sles12/intel/oneapi/2021/compiler/2021.3.0/linux/compiler/lib/intel64_lin/libirng.so
2aaaab039000-2aaaab071000 r-xp 00000000 00:3f 15773754                   /gpfsm/dulocal/sles12/intel/oneapi/2021/compiler/2021.3.0/linux/compiler/lib/intel64_lin/libcilkrts.so.5
2aaaab071000-2aaaab271000 ---p 00038000 00:3f 15773754                   /gpfsm/dulocal/sles12/intel/oneapi/2021/compiler/2021.3.0/linux/compiler/lib/intel64_lin/libcilkrts.so.5
@jeff-cohere jeff-cohere added bug Something isn't working build system labels May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build system
Projects
None yet
Development

No branches or pull requests

2 participants