http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341



Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                URL|                            |http://gcc.gnu.org/ml/gcc-p

                   |                            |atches/2012-12/msg01178.htm

                   |                            |l



--- Comment #26 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 
2012-12-19 14:09:54 UTC ---

with Jakob's patch (http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01178.html),

the code runs further, now stopping on another error which seems to be in asan

shadow, and also triggering some kind of an asan internal assert:



=================================================================

==32737== ERROR: AddressSanitizer: stack-buffer-overflow on address

0x7fff5c9ec638 at pc 0x4468bb bp 0x7fff5c9ec610 sp 0x7fff5c9ec608

WRITE of size 8 at 0x7fff5c9ec638 thread T0

    #0 0x4468ba in __cp_log_handling_MOD_cp_int_to_string

/data/vjoost/gnu/cp2k/cp2k/src/../src/cp_log_handling.F:882

==32737== AddressSanitizer CHECK failed:

../../../../gcc/libsanitizer/asan/asan_report.cc:149 "((name_end)) != (0)"

(0x0, 0x0)

    #0 0x7feaeae78d83 in AsanCheckFailed _asan_rtl_

    #1 0x7feaeae7d3b3 in _ZN11__sanitizer11CheckFailedEPKciS1_yy

/data/vjoost/gnu/gcc_trunk/obj/x86_64-unknown-linux-gnu/libsanitizer/sanitizer_common/../../../../gcc/libsanitizer/sanitizer_common/sanitizer_common.cc:49

Stats: 415M malloced (231M for red zones) by 484257 calls

Stats: 0M realloced by 0 calls

Stats: 282M freed by 427195 calls

Stats: 264M really freed by 150081 calls

Stats: 418M (107040 full pages) mmaped in 357 calls

  mmaps   by size class: 7:294840; 8:24564; 9:22506; 10:9198; 11:18615;

12:6656; 13:5632; 14:96; 15:16; 16:8; 18:2; 21:7; 23:1; 24:2; 25:2; 26:2;

  mallocs by size class: 7:335865; 8:33279; 9:33157; 10:17200; 11:24104;

12:20478; 13:19994; 14:147; 15:11; 16:5; 18:2; 21:7; 23:1; 24:2; 25:3; 26:2;

  frees   by size class: 7:320075; 8:18667; 9:20241; 10:16596; 11:11548;

12:19958; 13:19970; 14:124; 15:2; 16:5; 21:6; 23:1; 25:1; 26:1;

  rfrees  by size class: 7:43981; 8:18546; 9:20241; 10:16454; 11:11497;

12:19531; 13:19693; 14:124; 15:2; 16:4; 21:6; 25:1; 26:1;

Stats: malloc large: 33 small slow: 11769

Reply via email to