![]()
Dear all,
I'm encountering a segmentation fault (return code 139) when running the `quick_tests/adolc.release` test in deal.II. The test builds successfully but fails during execution. Below are the details:
Environment:
- OS: Ubuntu 22.04
- deal.II version: v.9.7.1
- Compiler: g++ 11.4.0
- ADOL-C version: 2.7.2
- NetCDF version: libnetcdf.so.19
- Build type: Release
Error Details:
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:74
#1 0x00007fffea0e8583 in __GI___strdup (s=0x1 <error: Cannot access memory at address 0x1>) at ./string/strdup.c:41
#2 0x00007fffeb4370a8 in function () from /lib/x86_64-linux-gnu/libnetcdf.so.19
#3 0x000055555557350e in main ()
- The crash occurs in __strdup with an invalid pointer (s=0x1), called from libnetcdf.so.19. The executable is at /home/grasvistds/dealii/build/tests/quick_tests/adolc.release/adolc.release. The file /dealii/build/tests/quick_tests/adolc.release/serial/failing_output is empty.
Attachments:
- quick_tests.log
- Testing/Temporary/LastTest.log
Questions:
1. Is this a known issue with NetCDF or ADOL-C in deal.II?
2. Any suggestions for debugging (e.g., enabling debug symbols or checking NetCDF inputs)?
3. Could this be related to my NetCDF/ADOL-C configuration?
Any guidance or pointers to similar issues would be appreciated. I can provide additional logs or test outputs if needed.
Thank you,
Thanh Phuong Diep