This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/49484] New: gcov crash if two(or more) forks happen at the same time


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

           Summary: gcov crash if two(or more) forks happen at the same
                    time
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: cobexer@gmail.com


gcov crashes the application if the application forks in multiple threads at
the same time.

#0  0x0000003612430265 in raise () from /lib64/libc.so.6
#1  0x0000003612431d10 in abort () from /lib64/libc.so.6
#2  0x000000000085e2ae in __gcov_open ()
#3  0x000000000085e559 in gcov_exit ()
#4  0x000000000085ef7f in __gcov_flush ()
#5  0x000000000085f019 in __gcov_fork ()


#0  0x000000000085effc in __gcov_merge_add ()
#1  0x000000000085ef1a in gcov_exit ()
#2  0x000000000085ef7f in __gcov_flush ()
#3  0x000000000085f019 in __gcov_fork ()

gcov (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)

uname -a
Linux hostname 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64
x86_64 GNU/Linux


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]