https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121628
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed| |2025-08-21 Status|UNCONFIRMED |NEW --- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- On latest trunk in gdb I get: --- snip out a bunch of stuff --- Iteration 1 Iteration 2 free(): invalid pointer Program received signal SIGABRT, Aborted. Downloading 4.48 K source file /usr/src/debug/glibc-2.41-10.fc42.x86_64/nptl/pthread_kill.c __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007ffff7994163 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89 #2 0x00007ffff793aa7e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007ffff79226d0 in __GI_abort () at abort.c:77 #4 0x00007ffff79236f3 in __libc_message_impl (fmt=fmt@entry=0x7ffff7ad444c "%s\n") at ../sysdeps/posix/libc_fatal.c:134 #5 0x00007ffff799e1f5 in malloc_printerr (str=str@entry=0x7ffff7ad2220 "free(): invalid pointer") at malloc.c:5829 #6 0x00007ffff79a358c in _int_free_check (av=<optimized out>, p=<optimized out>, size=<optimized out>) at malloc.c:4560 #7 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4692 #8 __GI___libc_free (mem=<optimized out>) at malloc.c:3476 #9 0x0000000000400581 in minimal_bug::__deallocate_minimal_bug_Nested_t (arg=...) at seg2.f90:1 #10 0x0000000000401b0d in minimal_bug () at seg2.f90:22