[Bug sanitizer/61604] missing line numbers in a sanitizer backtrace from an OMP region
Joost.VandeVondele at mat dot ethz.ch
gcc-bugzilla@gcc.gnu.org
Sat Dec 6 09:06:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61604
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work| |4.9.2, 5.0
Resolution|--- |FIXED
--- Comment #2 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
This seems now fixed.
> gfortran -O1 -g3 -fno-omit-frame-pointer -fsanitize=leak -fopenmp PR61604.f90 ; export OMP_NUM_THREADS=2 ; ./a.out
=================================================================
==30967==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 400 byte(s) in 1 object(s) allocated from:
#0 0x7fbcd1bfac06 in __interceptor_malloc
../../../../gcc/libsanitizer/lsan/lsan_interceptors.cc:51
#1 0x400865 in s1_._omp_fn.0 /data/vjoost/gnu/bugs/PR61604.f90:4
#2 0x7fbcd1a9b4ed in gomp_thread_start ../../../gcc/libgomp/team.c:117
Direct leak of 400 byte(s) in 1 object(s) allocated from:
#0 0x7fbcd1bfac06 in __interceptor_malloc
../../../../gcc/libsanitizer/lsan/lsan_interceptors.cc:51
#1 0x400865 in s1_._omp_fn.0 /data/vjoost/gnu/bugs/PR61604.f90:4
#2 0x7fbcd1a9756e in GOMP_parallel ../../../gcc/libgomp/parallel.c:167
SUMMARY: LeakSanitizer: 800 byte(s) leaked in 2 allocation(s).
More information about the Gcc-bugs
mailing list