[Webkit-unassigned] [Bug 113168] LayoutTests/fast/js/large-expressions.html crashes on Linux
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 1 02:52:40 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113168
--- Comment #11 from linzj <manjian2006 at gmail.com> 2013-04-01 02:50:51 PST ---
WHEN ARE YOU GOING TO REVIEW?
(In reply to comment #9)
> (From update of attachment 194783 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=194783&action=review
>
> > Source/WTF/wtf/StackBounds.cpp:149
> > + // no matter in glibc or bionic(android's libc) implementation,
>
> Let's change this comment to: "glibc and bionic (Android's libc) use the guard size API to set a guard page at the stack base."
>
> > Source/WTF/wtf/StackBounds.cpp:154
> > + int rc = pthread_attr_getguardsize(&sattr, &guardSize);
>
> pthread_attr_getguardsize is standard POSIX, so I think we should do this on all platforms.
>
> > Source/WTF/wtf/StackBounds.cpp:155
> > + stackBase = reinterpret_cast<void *>(reinterpret_cast<unsigned long>(stackBase) + guardSize);
>
> "void*" instead of "void *", please.
>
> Also, to cast a pointer to integer, use uintptr_t.
>
> Also, you need to round guardSize up to the system page size.
--
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