Bug 17422
| Summary: | get the NULL stack base in MIPS | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Bin Chen <binary.chen> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Critical | CC: | barraclough |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | Linux | ||
Bin Chen
in JavaScriptCore/kjs/collector.cpp:
int rc = pthread_attr_getstack(&sattr, &stackBase, &stackSize);
In my MIPS , the stackBase is NULL, so cause the Webkit to be segmentation fault. Someone in internet said that getstack must be called *after* setstack is called otherwise no sense.
Need to investigate more to see the root cause, any comments?
Bin
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Gavin Barraclough
bug #26276 is tracking getting correct stack bounds.
*** This bug has been marked as a duplicate of bug 26276 ***