Closed
Bug 444233
Opened 16 years ago
Closed 16 years ago
Passing JS object to SValStorageStatementBinder causes segfault [@ GetUTCTime - js_DateIsValid - JSValStorageStatementBinder]
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.9.1a1
People
(Reporter: zpao, Assigned: mrbkap)
References
Details
(Keywords: crash, fixed1.9.0.2, regression)
Crash Data
Attachments
(3 files)
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
shaver
:
review+
samuel.sidler+old
:
approval1.9.0.2+
|
Details | Diff | Splinter Review |
Using mozStorageStatementWrapper and passing an array ([1,2]) into params causes segfault. Will attach test case and GDB backtrace.
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
Severity: normal → critical
Keywords: crash
Summary: Passing JS object to SValStorageStatementBinder causes segfault → Passing JS object to SValStorageStatementBinder causes segfault [@ GetUTCTime - js_DateIsValid - JSValStorageStatementBinder]
Updated•16 years ago
|
Attachment #328593 -
Attachment mime type: application/x-javascript → text/plain
Assignee | ||
Comment 3•16 years ago
|
||
This is a testcase + the fix. This is a regression from bug 385393. In that bug, brendan made the "is this object a date" test conditional on being called from an interpreted function (with an argv array), but we need to the test unconditionally and only throw when called from an interpreted function.
Assignee | ||
Updated•16 years ago
|
Blocks: jsfastnative
Comment on attachment 329849 [details] [diff] [review]
Proposed fix
r=shaver, a comment in GetUTCTime explaining that this is why we do the vp thing would be extra-good.
Attachment #329849 -
Flags: review?(shaver) → review+
Assignee | ||
Comment 5•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•16 years ago
|
||
As comment 3 said there was also a test checked-in. Updating some flags...
Do we also need this on 1.9.0.x branch? Bug 385393 was fixed a while ago during alpha 7 and alpha 8.
Component: Storage → JavaScript Engine
Flags: in-testsuite+
Keywords: regression
OS: Mac OS X → All
Product: Toolkit → Core
QA Contact: storage → general
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1a1
Assignee | ||
Comment 8•16 years ago
|
||
Comment on attachment 329849 [details] [diff] [review]
Proposed fix
This applies to the 1.9 branch.
Attachment #329849 -
Flags: approval1.9.0.2?
Comment 9•16 years ago
|
||
Comment on attachment 329849 [details] [diff] [review]
Proposed fix
Approved for 1.9.0.2. Please land in CVS. a=ss
Attachment #329849 -
Flags: approval1.9.0.2? → approval1.9.0.2+
Comment 11•15 years ago
|
||
storage/test/unit/test_bug-444233.js
Updated•13 years ago
|
Crash Signature: [@ GetUTCTime - js_DateIsValid - JSValStorageStatementBinder]
You need to log in
before you can comment on or make changes to this bug.
Description
•