[Bug fortran/108109] [ICE] gfortran compilation fails calling 'free()' with 'malloc(): mismatching next->prev_size (unsorted)'
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 14 21:10:14 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108109
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-12-14
Status|UNCONFIRMED |NEW
--- Comment #3 from anlauf at gcc dot gnu.org ---
On my system I don't see glibc complaining, independent of MALLOC_PERTURB_=,
however, with valgrind I do get an invalid read slightly deeper down, in
==21865== Invalid read of size 8
==21865== at 0x95AD7D: add_dt_to_dt_list (resolve.cc:14470)
==21865== by 0x95AD7D: add_dt_to_dt_list (resolve.cc:14464)
==21865== by 0x95AD7D: resolve_fl_derived0(gfc_symbol*) [clone .part.0]
(resolve.cc:15152)
(Note the line numbers may slightly differ from yours.)
So confirmed.
More information about the Gcc-bugs
mailing list