[Webkit-unassigned] [Bug 18488] New: FastMalloc doesn't release thread-specific data on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 14 06:09:51 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18488

           Summary: FastMalloc doesn't release thread-specific data on
                    Windows
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


FastMalloc uses pthreads support for thread-specific storage to make sure that
destructors for data get called. However, pthreads-win32 only calls those from
pthread_exit (or when the thread's main function returns, but only for threads
created with pthread_create).

Since ThreadingWin.cpp uses native Win32 functions, I believe that this data
just leaks when a thread finishes.

Patch forthcoming.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list