| Summary: | ASSERTION FAILED: unwrapParamsOrException.exception().code() != ExistingExceptionError on http/wpt/preload/change-link-rel-attribute.html | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Robert Jenner <jenner> | ||||||
| Component: | New Bugs | Assignee: | youenn fablet <youennf> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, ap, cdumez, jiewen_tan, mark.lam, sam, tsavell, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=225315 | ||||||||
| Attachments: |
|
||||||||
|
Description
Robert Jenner
2021-04-20 17:41:43 PDT
Created attachment 426624 [details]
Full crashlog
Attaching full crashlog to bug.
Crash appears to be very flakey, and has only occurred four times. The first occurrence was at r276315. Crashes only occur on Apple Silicon Macs, and as such I cannot reproduce the crash because I do not have access to said system. I have gone ahead and updated the test expectations to Pass Crash here: https://trac.webkit.org/changeset/276337/webkit This test doesn't use WebCrypto, so this comes from one of preceding tests, as the worker thread continues to run after navigation. I took a look at the list of tests that runs before this one. http/wpt/crypto/ tests run directly before and may have something to do with it. I have been unable to reproduce this though today. Test run just before changelink-rel-attribute.html is http/wpt/crypto/unwrap-rsa-key-crash.any.worker.html, which exercises that code path. Looking at the code, the debug assert is: ASSERT(unwrapParamsOrException.exception().code() != ExistingExceptionError); After calling normalizeCryptoAlgorithmParameters. normalizeCryptoAlgorithmParameters can return ExistingExceptionError if a dictionary conversion fails, which is possible, say parameters are bad or maybe worker is being terminated. Created attachment 427742 [details]
Patch
*** Bug 225315 has been marked as a duplicate of this bug. *** Ping review Comment on attachment 427742 [details]
Patch
Seems reasonable to me.
Committed r277718 (237897@main): <https://commits.webkit.org/237897@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427742 [details]. Prior test expectations have been removed here: https://trac.webkit.org/changeset/277764/webkit |