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
Reported 2024-11-12 08:45:18 PST
After 286466@main, TestWTF.WTF.CStringUninitializedConstructor crashes across all configurations. See history: https://results.webkit.org/?suite=api-tests&test=TestWTF.WTF.CStringUninitializedConstructor
Attachments
Jonathan Bedard
Comment 1 2024-11-12 08:46:11 PST
Surprising that https://github.com/WebKit/WebKit/pull/36471 doesn't seem to have caught this.
Jonathan Bedard
Comment 2 2024-11-12 09:05:03 PST
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
Comment 3 2024-11-12 11:09:15 PST
Ryan Haddad
Comment 4 2024-11-12 11:25:29 PST
(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
Comment 5 2024-11-12 12:47:18 PST
This got fixed via a newer bug. *** This bug has been marked as a duplicate of bug 282990 ***
Note You need to log in before you can comment on or make changes to this bug.