[Webkit-unassigned] [Bug 114978] New: OpenBSD - Use correct stack size
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 22 11:52:44 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=114978
Summary: OpenBSD - Use correct stack size
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Other
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: WebKit Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: david at wmol.com
CC: landry at openbsd.org
Created an attachment (id=199057)
--> (https://bugs.webkit.org/attachment.cgi?id=199057&action=review)
Use correct stack size on OpenBSD
On OpenBSD, applications using webkit 2.0.1 get
** Message: console message: undefined @0: RangeError: Maximum call
stack size exceeded.
on startup with javascript enabled. It basically causes Javascript not to work.
In StackBounds.cpp, webkit says
// FIXME: remove this! - this code unsafely guesses at stack sizes!
#if OS(WINDOWS) || OS(SOLARIS) || OS(OPENBSD)
Well, on OpenBSD, we don't need to guess. Attached is a patch that uses stack size returned from pthread_stackseg_np. The makes things work just fine. No errors and no crashes. Been tested by multiple users.
Also, on OpenBSD, hppa/hppa64 grows its stack size up, so add a define to give the hppa archs a chance to work.
--
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