Closed
Bug 556948
Opened 15 years ago
Closed 15 years ago
suspend NSPR test fails on Android
Categories
(NSPR :: NSPR, defect)
Tracking
(fennec-)
RESOLVED
FIXED
4.8.7
Tracking | Status | |
---|---|---|
fennec | - | --- |
People
(Reporter: alexp, Assigned: alexp)
Details
Attachments
(1 file)
2.00 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
The "suspend" test crashes with Segmentation fault.
Assignee | ||
Updated•15 years ago
|
Assignee: wtc → alexp
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•15 years ago
|
||
Check for NULL the result returned by PR_GetGCRegisters().
Attachment #436823 -
Flags: review?(bugmail)
Comment 2•15 years ago
|
||
wouldn't it be better to implement _MD_HomeGCRegisters for android?
Assignee | ||
Comment 3•15 years ago
|
||
As far as I understand, _MD_HomeGCRegisters seems to do something and return the array of the registers only if _PR_PTHREADS is not defined, i.e. USE_PTHREADS config setting is not set to 1.
If someone could clarify what those definitions mean, and if this function is important, then we could decide what to do with this.
In any case I think the test has to check the returned pointer before using it, as it's possible that the function may return NULL.
Comment 4•15 years ago
|
||
Comment on attachment 436823 [details] [diff] [review]
Fix
over to Wan-Teh
Attachment #436823 -
Flags: review?(bugmail) → review?(wtc)
Comment 5•15 years ago
|
||
Comment on attachment 436823 [details] [diff] [review]
Fix
Since Wan-Teh hasn't gotten to this yet I'm moving the review to ted
Attachment #436823 -
Flags: review?(wtc) → review?(ted.mielczarek)
Updated•15 years ago
|
tracking-fennec: --- → ?
Updated•15 years ago
|
Attachment #436823 -
Flags: review?(ted.mielczarek) → review?(wtc)
Updated•15 years ago
|
Attachment #436823 -
Flags: review?(wtc) → review?(ted.mielczarek)
Comment 6•15 years ago
|
||
Comment on attachment 436823 [details] [diff] [review]
Fix
Given the behavior of _MD_HomeGCRegisters, this seems fine.
Attachment #436823 -
Flags: review?(ted.mielczarek) → review+
Updated•15 years ago
|
tracking-fennec: ? → 2.0-
Keywords: checkin-needed
Comment 7•15 years ago
|
||
Committed to NSPR CVS:
Checking in pr/tests/suspend.c;
/cvsroot/mozilla/nsprpub/pr/tests/suspend.c,v <-- suspend.c
new revision: 3.11; previous revision: 3.10
done
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Keywords: checkin-needed
Updated•15 years ago
|
Target Milestone: --- → 4.8.7
You need to log in
before you can comment on or make changes to this bug.
Description
•