public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "asharif at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/49484] gcov crash if two(or more) forks happen at the same time Date: Thu, 06 Dec 2012 20:10:00 -0000 [thread overview] Message-ID: <bug-49484-4-Le6YNPue2D@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-49484-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49484 --- Comment #26 from asharif at gcc dot gnu.org 2012-12-06 20:09:35 UTC --- Author: asharif Date: Thu Dec 6 20:09:25 2012 New Revision: 194264 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194264 Log: 2012-12-03 Ahmad Sharif <asharif@google.com> Backport r185231 from trunk. 2012-03-12 Richard Guenther <rguenther@suse.de> * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification. * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define. (__gthread_mutex_init_function): New function. * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define. PR gcov/49484 * libgcov.c: Include gthr.h. (__gcov_flush_mx): New global variable. (init_mx, init_mx_once): New functions. (__gcov_flush): Protect self with a mutex. (__gcov_fork): Re-initialize mutex after forking. * unwind-dw2-fde.c: Change condition under which to use __GTHREAD_MUTEX_INIT_FUNCTION. Modified: branches/google/gcc-4_7/ (props changed) branches/google/gcc-4_7/gcc/ (props changed) branches/google/gcc-4_7/gcc/testsuite/gcc.target/powerpc/ppc-round.c (props changed) branches/google/gcc-4_7/libgcc/ChangeLog branches/google/gcc-4_7/libgcc/ChangeLog.google-4_7 branches/google/gcc-4_7/libgcc/gthr-posix.h branches/google/gcc-4_7/libgcc/gthr-single.h branches/google/gcc-4_7/libgcc/gthr.h branches/google/gcc-4_7/libgcc/libgcov.c branches/google/gcc-4_7/libgcc/unwind-dw2-fde.c branches/google/gcc-4_7/libjava/classpath/ (props changed) Propchange: branches/google/gcc-4_7/ ('svn:mergeinfo' modified) Propchange: branches/google/gcc-4_7/gcc/ ('svn:mergeinfo' modified) Propchange: branches/google/gcc-4_7/gcc/testsuite/gcc.target/powerpc/ppc-round.c ('svn:mergeinfo' modified) Propchange: branches/google/gcc-4_7/libjava/classpath/ ('svn:mergeinfo' modified)
next prev parent reply other threads:[~2012-12-06 20:10 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-06-21 9:05 [Bug gcov-profile/49484] New: " cobexer at gmail dot com 2011-06-21 9:24 ` [Bug gcov-profile/49484] " mikpe at it dot uu.se 2011-06-24 9:34 ` cobexer at gmail dot com 2011-10-07 12:13 ` vijay910 at gmail dot com 2012-01-17 14:28 ` rguenth at gcc dot gnu.org 2012-01-17 15:21 ` rguenth at gcc dot gnu.org 2012-01-17 15:26 ` rguenth at gcc dot gnu.org 2012-01-17 15:43 ` rguenth at gcc dot gnu.org 2012-01-18 10:57 ` rguenth at gcc dot gnu.org 2012-01-18 11:51 ` jakub at gcc dot gnu.org 2012-01-18 12:03 ` rguenth at gcc dot gnu.org 2012-01-18 13:30 ` rguenth at gcc dot gnu.org 2012-01-18 13:44 ` rguenth at gcc dot gnu.org 2012-01-18 13:48 ` jakub at gcc dot gnu.org 2012-01-18 17:14 ` rguenth at gcc dot gnu.org 2012-03-12 14:23 ` rguenth at gcc dot gnu.org 2012-03-12 14:26 ` rguenth at gcc dot gnu.org 2012-03-12 15:01 ` redi at gcc dot gnu.org 2012-03-12 15:07 ` redi at gcc dot gnu.org 2012-03-12 15:10 ` redi at gcc dot gnu.org 2012-03-12 15:29 ` rguenth at gcc dot gnu.org 2012-03-12 15:52 ` rguenth at gcc dot gnu.org 2012-03-12 15:55 ` redi at gcc dot gnu.org 2012-03-12 16:00 ` redi at gcc dot gnu.org 2012-03-12 16:03 ` rguenther at suse dot de 2012-05-01 21:23 ` asharif at gcc dot gnu.org 2012-05-02 22:52 ` asharif at gcc dot gnu.org 2012-12-06 20:10 ` asharif at gcc dot gnu.org [this message] 2012-12-07 2:36 ` asharif at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-49484-4-Le6YNPue2D@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).