WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 114978
Use correct stack size on Solaris and OpenBSD
https://bugs.webkit.org/show_bug.cgi?id=114978
Summary
Use correct stack size on Solaris and OpenBSD
David
Reported
2013-04-22 11:51:03 PDT
Created
attachment 199057
[details]
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.
Attachments
Use correct stack size on OpenBSD
(1.05 KB, patch)
2013-04-22 11:51 PDT
,
David
no flags
Details
Formatted Diff
Diff
Patch
(2.50 KB, patch)
2013-05-21 05:17 PDT
,
Patrick R. Gansterer
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
David
Comment 1
2013-04-24 11:07:23 PDT
Would anyone like to commit this? It has been tested and shown to fix i386/amd64/macppc.
Robert Hogan
Comment 2
2013-05-06 13:07:24 PDT
(In reply to
comment #1
)
> Would anyone like to commit this? It has been tested and shown to fix i386/amd64/macppc.
git or svn blame the file you are changing and cc recent contributors to that file on this bug so they can review it. Then follow
http://www.webkit.org/coding/contributing.html
and submit the patch again.
Patrick R. Gansterer
Comment 3
2013-05-21 05:17:50 PDT
Created
attachment 202416
[details]
Patch
WebKit Commit Bot
Comment 4
2013-05-23 11:51:55 PDT
Comment on
attachment 202416
[details]
Patch Rejecting
attachment 202416
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 202416, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: -> origin/master Partial-rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 150596 = 74f0f738df2239e5026f59a7581cb5a04351add5
r150599
= 1f7190513b569f67969ff16ee88b3a53d3186922
r150600
= 49e6d85a525d1388359e9d470a4f19ff3e5e3b82 Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Full output:
http://webkit-queues.appspot.com/results/651042
Patrick R. Gansterer
Comment 5
2013-05-23 12:24:51 PDT
Comment on
attachment 202416
[details]
Patch Clearing flags on attachment: 202416 Committed
r150603
: <
http://trac.webkit.org/changeset
/150603>
Patrick R. Gansterer
Comment 6
2013-05-23 12:25:02 PDT
All reviewed patches have been landed. Closing bug.
Patrick R. Gansterer
Comment 7
2013-05-27 23:32:53 PDT
Recommited in
r150786
after rollout in
r150621
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug