| Summary: | [ Debug ] TestWebKitAPI.IPCTestingAPI.CanDetectNilReplyBlocks (API-tests) is a constant crash | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Robert Jenner <jenner> | ||||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ap, julian_a_gonzalez, rniwa, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Robert Jenner
2021-05-21 16:33:35 PDT
Was able to reproduce the crash at BigSur Debug ToT using the following test: run-api-tests TestWebKitAPI.IPCTestingAPI.CanDetectNilReplyBlocks Full crashlog from my results has been attached below. Created attachment 429364 [details]
Full crashlog for API
Attaching full crashlog for crashing API.
We need to skip this test in debug. I don't think this is correct to call this a regression. There is nothing that regressed since this is a new test. (In reply to Ryosuke Niwa from comment #5) > I don't think this is correct to call this a regression. There is nothing > that regressed since this is a new test. Okay, that's fair. As far as your other comment goes for skipping in debug, I have never done this for an API test before. I'm happy to skip this test for debug, but I'm not certain how. I've been led to believe it's not as simple as just updating a test expectation. (In reply to Robert Jenner from comment #6) > (In reply to Ryosuke Niwa from comment #5) > > I don't think this is correct to call this a regression. There is nothing > > that regressed since this is a new test. > > Okay, that's fair. > > As far as your other comment goes for skipping in debug, I have never done > this for an API test before. I'm happy to skip this test for debug, but I'm > not certain how. I've been led to believe it's not as simple as just > updating a test expectation. I've asked Julian to post a patch :) Created attachment 429399 [details]
Patch
Committed r277916 (238049@main): <https://commits.webkit.org/238049@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429399 [details]. To clarify, is this correct behavior for this test to assert in debug, or something that we'd like to fix at some point? If it's the former, it would be good to have a comment in code (or at least here) explaining why; and if it's the latter, it would be good to have a bug tracking that or at least a FIXME. (In reply to Alexey Proskuryakov from comment #10) > To clarify, is this correct behavior for this test to assert in debug, or > something that we'd like to fix at some point? Probably neither. It's okay for this test to hit assertion since we only care that we don't have a crash in release builds but this debug assertion stopped happening in debug build, we don't care either. |