Bug 282989
| Summary: | REGRESSION(286466@main): Causes TestWTF.WTF.CStringUninitializedConstructor to crash | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jonathan Bedard <jbedard> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 282909 | ||
Jonathan Bedard
After 286466@main, TestWTF.WTF.CStringUninitializedConstructor crashes across all configurations.
See history: https://results.webkit.org/?suite=api-tests&test=TestWTF.WTF.CStringUninitializedConstructor
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jonathan Bedard
Surprising that https://github.com/WebKit/WebKit/pull/36471 doesn't seem to have caught this.
Jonathan Bedard
Looking at the content of TestWTF.WTF.CStringUninitializedConstructor, seems like this line:
ASSERT_EQ(buffer[0], 0);
Should indeed cause a crash, if I understand how `std::span` works.
Radar WebKit Bug Importer
<rdar://problem/139735825>
Ryan Haddad
(In reply to Jonathan Bedard from comment #1)
> Surprising that https://github.com/WebKit/WebKit/pull/36471 doesn't seem to
> have caught this.
The iOS API test bot didn't complete its final confirming test run before the PR was merged, and the crash only appears to manifest on macOS Sonoma+ (api-mac is running Ventura).
Alexey Proskuryakov
This got fixed via a newer bug.
*** This bug has been marked as a duplicate of bug 282990 ***