[cairo-bugs] [Bug 52936] New: Race condition in cairo-trace

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 29 21:31:12 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52936

             Bug #: 52936
           Summary: Race condition in cairo-trace
    Classification: Unclassified
           Product: cairo
           Version: 1.12.2
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: seongwon1.cho at samsung.com
         QAContact: cairo-bugs at cairographics.org


There is a race condition in _init_logfile() in trace.c

If a application fork and execute child process by execl()
value of CAIRO_TRACE_FD is also duplicated and the value of CAIRO_TRACE_FD will
be -1 in child process.

In that case child process doesn,t create new log file and we can,t get trace
file of child process.

Thanks.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the cairo-bugs mailing list