[Webkit-unassigned] [Bug 40103] New: ThreadingPthread create thread with default stack size which might not be enough

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 2 21:49:35 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40103

           Summary: ThreadingPthread create thread with default stack size
                    which might not be enough
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lyon.chen at torchmobile.com


In createThreadInternal() of ThreadingPthread.cpp, pthread_create() is called without pthread_attr_t, which means it uses default stack size for thread created. This might not be enough. So we need to check whether the default stack size is smaller than a predefined minimal stack size, and use the predefined minimal stack size instead when necessary.

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



More information about the webkit-unassigned mailing list