<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>315215</bug_id>
          
          <creation_ts>2026-05-20 11:36:49 -0700</creation_ts>
          <short_desc>REGRESSION(310262@main): [lldb] dump_class_layout_unittest.serial_test_InheritsFromClassWithPaddedBitfields fails constantly across all platforms.</short_desc>
          <delta_ts>2026-05-25 17:34:01 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>310442</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego De La Toba">d_delatoba</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2212611</commentid>
    <comment_count>0</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-05-20 11:36:49 -0700</bug_when>
    <thetext>Summary:
dump_class_layout_unittest.TestDumpClassLayout.serial_test_InheritsFromClassWithPaddedBitfields
(Tools/lldb/dump_class_layout_unittest.py:373) has been failing continuously on post-commit since
310262@main.

LOG/Trace:
https://build.webkit.org/#/builders/1716/builds/4051/steps/26/logs/stdio

DIFF:
 Expected: Total byte size: 24  Total pad bytes: 14  Padding 61.98 %   derivedBitfield @ +16
 Actual:   Total byte size: 16  Total pad bytes:  6  Padding 42.97 %   derivedBitfield @ +10

TRACE:
[9/48] dump_class_layout_unittest.TestDumpClassLayout.serial_test_InheritsFromClassWithPaddedBitfields failed:
Traceback (most recent call last):&apos;
File
&quot;Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/Tools/11db/dump_class_layout_unittest.py&quot;, line 397, in serial_test_InheritsFromClassWithPadd
self. assertEqual(EXPECTED_RESULT, actual_layout.as_string())
AssertionError:
+0 &lt; 24&gt; InheritsFromClassWithPaddedBitfields\[834 chars]98%&apos; != &apos; +0 &lt; 16› InheritsFromClassWithPaddedBitfields\[798 chars]97 %&apos;
+0 &lt; 24&gt; InheritsFromClassWithPaddedBitfields
+0 &lt;
16&gt;
InheritsFromClassWithPaddedBitfields
?
+0
+0
+1
+1
+1
+1
+1
+1
+2
+4
+8
+8
+9
+9
+10
+16
&lt; 16&gt;
1&gt;
: 1&gt;
: 1&gt;
: 2&gt;
:1&gt;
:2&gt;
:1&gt;
1&gt;
4&gt;
: 1&gt;
:9&gt;
: 1&gt;
: 5&gt;
6&gt;
:1&gt;
ClassWithPaddedBitfields ClassWithPaddedBitfields
bool boolMember
unsigned int bitfieldl : 1
bool bitfield2: 1
unsigned int bitfield3 : 2
unsigned int bitfield4 : 1
unsigned long bitfield5 : 2
&lt;UNUSED BITS: 1 bit›
«PADDING: 1 bytes›
int intMember
unsigned int bitfield?: 1
unsigned int bitfield8: 9
bool bitfield9: 1
&lt;UNUSED BITS: 5 bits›
&lt;PADDING: 6 bytes&gt;
bool derivedBitfield: 1
+10 &lt; : 1&gt;
bool derivedBitfield: 1
?
?
+16
1
:7&gt;
+10
&lt;:7&gt;
&lt;UNUSED BITS: 7 bits›
&lt;UNUSED BITS: 7 bits›
?
?
17+
1
&gt; 11+
7&gt;
&lt;PADDING: 7 bytes&gt;
5&gt;
&lt;PADDING: 5 bytes&gt;
?
- Total byte size: 24
?
→ Total byte size: 16
- Total pad bytes: 14
?
+ Total pad bytes: 6
?
- Padding percentage: 61.98 %?
+ Padding percentage: 42.97 %?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2212612</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-05-20 11:36:55 -0700</bug_when>
    <thetext>&lt;rdar://problem/177546068&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213952</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2026-05-25 17:30:47 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/65641</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>