public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/31963] New: Crash in _IO_link_in within __gcov_exit
@ 2024-07-08 13:13 schwab@linux-m68k.org
  2024-07-08 13:15 ` [Bug stdio/31963] " schwab@linux-m68k.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2024-07-08 13:13 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31963

            Bug ID: 31963
           Summary: Crash in _IO_link_in within __gcov_exit
           Product: glibc
           Version: 2.40
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
  Target Milestone: ---

m4 crashes during exit when compiled with -fprofile-generate.  m4 closes all
standard streams in an atexit handler (close_stdin from gnulib) which results
in _IO_list_all == NULL.  The gcov destructor function then opens a file to
write out the profiling data which crashes here:

122               _IO_list_all->file._prevchain = &fp->file._chain;

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-09  8:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-08 13:13 [Bug stdio/31963] New: Crash in _IO_link_in within __gcov_exit schwab@linux-m68k.org
2024-07-08 13:15 ` [Bug stdio/31963] " schwab@linux-m68k.org
2024-07-08 13:24 ` schwab@linux-m68k.org
2024-07-08 21:56 ` hjl.tools at gmail dot com
2024-07-09  3:11 ` sam at gentoo dot org
2024-07-09  8:15 ` schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).